-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Reorganize and lint scripts; remove unused dev dependencies #890
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
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.cssbuild/build.jsonβdist/stats/primer.jsonbuild/index.jsβdist/primer.js(themainfield inpackage.jsonwas updated in 12.0.0, sorequire('@primer/css')will continue to work the same)script/now have the.jsextension so that eslint can find them.lib/erb-to-html.jsis gone, as we aren't using it anymore in Doctocat. /cc @colebemis