Skip to content

Always run test and env scripts#587

Merged
evocateur merged 3 commits intolerna:masterfrom
simon360:fix-pre-post-scripts
Feb 16, 2017
Merged

Always run test and env scripts#587
evocateur merged 3 commits intolerna:masterfrom
simon360:fix-pre-post-scripts

Conversation

@simon360
Copy link
Copy Markdown
Contributor

@simon360 simon360 commented Feb 8, 2017

Fixes #491

npm defines default scripts for test and env. Lerna only runs
scripts when they’re defined in package.json, but this could lead to
unexpected behaviour in these two cases. In particular, it could lead
to pretest and posttest not being run by Lerna, when npm would have
run them.

Fixes lerna#491

npm defines default scripts for `test` and `env`. Lerna only runs
scripts when they’re defined in `package.json`, but this could lead to
unexpected behaviour in these two cases. In particular, it could lead
to `pretest` and `posttest` not being run by Lerna, when npm would have
run them.
@simon360 simon360 changed the title Fix pre post scripts Always run test and env scripts Feb 8, 2017
Was using `.packages` to try and fix a  test, and never undid it.
@evocateur evocateur requested a review from hzoo February 10, 2017 19:25
@evocateur evocateur merged commit 5a4039a into lerna:master Feb 16, 2017
@lock
Copy link
Copy Markdown

lock Bot commented Dec 27, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants