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 flag to ignore failures for undefined scripts #257

Closed
boneskull opened this issue Jul 31, 2023 · 0 comments · Fixed by #287 or #288
Closed

add flag to ignore failures for undefined scripts #257

boneskull opened this issue Jul 31, 2023 · 0 comments · Fixed by #287 or #288
Labels
enhancement New feature or request

Comments

@boneskull
Copy link
Owner

This is a thing that I find kind of frustrating about npm; npm run --workspaces <script> expects script to exist in all workspaces, and if it does not, it will fail. lerna's default behavior, OTOH, will ignore any workspace without the script.

There are tradeoffs here, certainly, but it'd be nice to have the option to mimic lerna's behavior.

@boneskull boneskull added the enhancement New feature or request label Jul 31, 2023
boneskull added a commit that referenced this issue Aug 15, 2023
This flag, when paired with `--all`, tells `midnight-smoker` to ignore any missing scripts.

Closes #257

fix(yarn): fix workspace-related problems
boneskull added a commit that referenced this issue Aug 15, 2023
This flag, when paired with `--all`, tells `midnight-smoker` to ignore any missing scripts.

Closes #257

fix(yarn): fix workspace-related problems
boneskull added a commit that referenced this issue Aug 15, 2023
This flag, when paired with `--all`, tells `midnight-smoker` to ignore any missing scripts.

Closes #257

fix(yarn): fix workspace-related problems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant