-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Use npm workspaces #822
Use npm workspaces #822
Conversation
Test failure also happens on current |
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.
Fix on main: 5c79b32
Also: probably needs an npm install -g npm
in main.yml
to get Erbium to work
0bc5981
to
73d0c10
Compare
73d0c10
to
5e3cd43
Compare
"workspaces": [ | ||
"packages/remark-parse", | ||
"packages/remark-stringify", | ||
"packages/remark", | ||
"packages/remark-cli" | ||
], |
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.
build order matters here, when specified as packages/*
it goes out of order https://github.com/remarkjs/remark/runs/3433219485?check_suite_focus=true#step:6:16
This comment has been minimized.
This comment has been minimized.
"packages/remark-parse", | ||
"packages/remark-stringify", | ||
"packages/remark", | ||
"packages/remark-cli" |
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.
Oh so this fixes order?!
So that’s it! I had similar problems before: https://twitter.com/wooorm/status/1416491869488492546. PR to fix it linked from there: npm/arborist#303
Initial checklist
Description of changes
Leverage npm's built in workspaces feature https://docs.npmjs.com/cli/v7/using-npm/workspaces to manage the monorepo.