-
Notifications
You must be signed in to change notification settings - Fork 199
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
WIP - NX NPM scripts #18
Conversation
|
…with nx run app:script format
…ncy across npm scripts
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.
Please note the following;
- The use of nx affected might be something undesired for format/lint, subject to change where to use affected
- The --projects flag for commands like dev is something that could include other projects that make sense to be ran in parallel, currently it only includes web-sdk
- Changed web-sdk's preview command to start to ensure parity, non-vite projects such as node projects expect a start script, this allows running start from root with no error or excluding Vite projects
- Formatting changes are due to testing the lint and format commands, should be a non-issue when the formatting/ci PRs are merged
- Right now the test scripts only echo a message, this will be as part of the tests PRs
* (chore): init commit for opening a wip pr * (refactor): replaced pnpm exec in npm scripts to adhere to nx's docs with nx run app:script format * (refactor): removed start: prefix from npm scripts to ensure consistency across npm scripts * (build): added npm scripts expected from a monorepo to the root's package.json
Adds the missing scripts one would expect from a monorepo, refactors script names and commands to be more consistent and adhere to NX's docs.