Skip to content

Remove bootstrap dependency - #1871

Open
mmustafasenoglu wants to merge 1 commit into
nodeSolidServer:mainfrom
mmustafasenoglu:remove-bootstrap
Open

Remove bootstrap dependency#1871
mmustafasenoglu wants to merge 1 commit into
nodeSolidServer:mainfrom
mmustafasenoglu:remove-bootstrap

Conversation

@mmustafasenoglu

Copy link
Copy Markdown

Closes #1867

Bootstrap 3.4.1 has known vulnerabilities and NSS only uses it for basic CSS layout (grid, panels, forms, buttons, alerts) plus a single glyphicon-remove icon. This replaces the entire dependency with a lightweight custom stylesheet.

Changes:

  • common/css/solid.css: Added replacement CSS for all Bootstrap 3 classes used across templates (grid, panels, forms, buttons, alerts, progress, visibility, typography)
  • common/css/bootstrap.min.css: Deleted
  • lib/create-app.mjs: Removed bootstrap node_module route handlers
  • package.json: Removed bootstrap dependency
  • 72 template files: Dropped <link> to bootstrap.min.css

The glyphicon-remove icon is replaced with an inline SVG data URI, so no font files are needed either.

Tests pass (818 passing, 3 pre-existing EADDRINUSE failures).

Replace Bootstrap 3 CSS with custom lightweight stylesheet in solid.css.
Bootstrap 3.4.1 had known vulnerabilities and was only used for basic
layout (grid, panels, forms, buttons, alerts) and a single glyphicon icon.

- Add replacement CSS for all Bootstrap 3 classes used in templates
- Replace glyphicon-remove with inline SVG data URI
- Remove bootstrap.min.css from common/css/
- Remove bootstrap node_module routes from create-app.mjs
- Remove bootstrap from package.json dependencies
- Update all 72 template files to drop bootstrap.min.css link
Copilot AI lite review requested due to automatic review settings August 7, 2026 13:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove bootstrap dependency

2 participants