-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorganize and lint scripts; remove unused dev dependencies #890
Conversation
BREAKING CHANGE: the build directory is no longer included in the distributed package. build/stats.json can be found at dist/stats/primer.json, and `require('@primer/css/build')` references should be rewritten to `require('@primer/css/dist/primer')`.
This pull request is automatically deployed with Now. Latest deployment for this branch: https://primer-css-git-tidy-scripts-deps.primer.now.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! 👍 Always happy to see more deletions than additions 😄
It's time to clean house in the scripts directory and
devDependencies
! Here's the deal:build/
directory:build/build.css
→dist/primer.css
build/build.json
→dist/stats/primer.json
build/index.js
→dist/primer.js
(themain
field inpackage.json
was updated in 12.0.0, sorequire('@primer/css')
will continue to work the same)script/
now have the.js
extension so that eslint can find them.lib/erb-to-html.js
is gone, as we aren't using it anymore in Doctocat. /cc @colebemis