Skip to content

julien-deramond/bootstrap-deprecated-classes-extension

Repository files navigation

Bootstrap Deprecated Classes Extension

Highlight Bootstrap deprecated classes.

Screenshot of the Bootstrap Deprecated Classes Extension

A browser extension highlighting Bootstrap deprecated classes in websites.

Installation

You can install the extension directly from Firefox Add-ons, Chrome Web Store, or Microsoft Edge Add-ons.

Locally

First, run npm run build to build the dist folder containing all the extension files.

For Firefox, cd dist/firefox, and then run:

  • web-ext run --devtools to launch the extension in Firefox with DevTools.
  • web-ext run -u https://getbootstrap.com/docs/4.6 to launch the extension in Firefox with the Bootstrap 4 docs
  • web-ext build to build the extension for distribution that will be available in the dist/firefox/web-ext-artifacts/ folder as a zip file.

For Chrome:

  • please follow Load an unpacked extension instructions and load the dist/chrome folder.
  • cd dist/chrome, and then run web-ext build to build the extension for distribution that will be available in the dist/chrome/web-ext-artifacts/ folder as a zip file.

For Microsoft Edge:

  • please follow Sideload an extension instructions and load the dist/edge folder.
  • cd dist/edge, and then run web-ext build to build the extension for distribution that will be available in the dist/edge/web-ext-artifacts/ folder as a zip file.

Data

Data is generated by running npm run generate:data and is stored in the data folder:

  • bootstrap-{$version}-deprecated-classes contains the list of deprecated classes for the given Bootstrap version which is compared to the latest Bootstrap version.
  • bootstrap-{$version}.json contains the list of classes for the given Bootstrap version.

Please note that the data for the current Bootstrap version is generated manually. The deprecated classes can't be automatically detected.

Sponsors

License

Licensed under the MIT License.

See LICENSE for more information.