Currently, projects that only use bootstrap鈥憆eboot still get security warnings about security issues present in聽the聽Bootstrap JavaScript code, it鈥檚聽also a聽whole bunch of聽code that has to聽be聽downloaded into node_modules that is聽completely unused and doesn鈥檛 make it聽to聽the聽final聽bundle.
Using just聽@bootstrap/reboot would also greatly simplify the聽postcss鈥慽mport configuration and聽ensure that it聽doesn鈥檛 break by聽bootstrap changing where聽bootstrap-reboot.min.css is聽located.
Hi @ExE-Boss,
AFAIK we don't have any open security issues 馃槈
For your other points: /CC @twbs/css-review @twbs/js-review
I agree at some point we should do this, but last time we had a PR about this kind of change (using lerna) it changed quite a few things and we didn't feel like it was the right solution.
@Johann-S I meant, when security vulnerability is聽discovered, GitHub and聽npm send security vulnerability alerts about it.
A聽CSS鈥憃nly package can鈥檛 really have classical security vulnerabilities due to聽what CSS聽is (a聽declarative stylesheet language, which only controls how the聽web聽page is聽displayed on聽the聽screen).
I鈥檝e long wanted Reboot to be it鈥檚 own thing, but never got around to exploring how best to do it. Given where it鈥檚 at for v5, I could see us doing something to help share it better, even if the releases are done manually for it.
Alternatively, we could also separate it out, develop it on it鈥檚 own a la Normalize (which it鈥檚 forked from), and then include it via npm. We鈥檇 then move the docs, create a new subdomain, add a new top level nav link, etc.
... and then include it via npm
We currently don't depend on npm yet, that's why RFS is copied in a vendor folder for example. Depending on npm will break composer, NuGet and repo installs.
But yeah, I like the idea of splitting it up, we just got to find out how.
You could probably also just keep everything聽as聽is, and just create a聽second package by聽copying bootstrap鈥憆eboot.css from聽dist into a聽new package as聽index.css.
The only way when we last discussed this was lerna.
Just one thing to keep in mind, we should keep things simple, whatever we decide.
I think it would be nice to have separate packages for each of bootstrap鈥檚 dist files, including utilities, reboot, and grid, assuming they don鈥檛 already exist.
Most helpful comment
I think it would be nice to have separate packages for each of bootstrap鈥檚
distfiles, including utilities, reboot, and grid, assuming they don鈥檛 already exist.