Skip to content
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

Add primer-migrate script #677

Merged
merged 4 commits into from
Feb 14, 2019
Merged

Add primer-migrate script #677

merged 4 commits into from
Feb 14, 2019

Conversation

shawnbot
Copy link
Contributor

@shawnbot shawnbot commented Feb 13, 2019

I went 'round and around on this, and I think having a script that's included with the npm package makes things a lot easier for folks. Here's how it works (from the docs):

primer-migrate

You can also use the included primer-migrate script:

npx -p @primer/css primer-migrate path/to/**/*.scss

The script uses Node.js native APIs only, so there are still zero production/runtime dependencies!

@shawnbot shawnbot assigned jonrohan and unassigned jonrohan Feb 13, 2019
@shawnbot shawnbot requested a review from jonrohan February 13, 2019 23:55
@shawnbot
Copy link
Contributor Author

FYI, I've tested this on github/github with:

npx @primer/css@0.0.0-5a70749 primer-migrate app/assets/stylesheets/**/*.scss

and it worked like a charm! ✨

@shawnbot shawnbot merged commit 1c9a042 into release-12.0.0 Feb 14, 2019
@shawnbot shawnbot deleted the primer-migrate branch February 14, 2019 00:18
@shawnbot shawnbot mentioned this pull request Feb 14, 2019
22 tasks
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.

2 participants