Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor(tests): add test that checks lifecycle scripts don't run twice for linked deps #439

Closed
Tracked by #443
ruyadorno opened this issue Mar 10, 2022 · 0 comments · Fixed by npm/cli#4875
Closed
Tracked by #443

Comments

@ruyadorno
Copy link

ruyadorno commented Mar 10, 2022

Ref: npm/cli#2905
Ref: npm/cli#4529

@darcyclarke darcyclarke changed the title test: add test that checks lifecycle scripts don't runs twice for linked deps chore(test): add test that checks lifecycle scripts don't runs twice for linked deps Mar 23, 2022
@darcyclarke darcyclarke changed the title chore(test): add test that checks lifecycle scripts don't runs twice for linked deps refactor(tests): add test that checks lifecycle scripts don't run twice for linked deps Mar 23, 2022
@darcyclarke darcyclarke mentioned this issue Mar 23, 2022
32 tasks
ruyadorno added a commit to ruyadorno/cli that referenced this issue May 10, 2022
- Fixes running proper lifecycle scripts for linked deps and
  workspaces.
- Added test to validate lifecycle scripts don't run twice
  for linked deps
- Tweaked "reify workspaces bin files" test to also validate
  proper lifecycle scripts ran before check for linked bins.
- Tweaked reify test running lifecycle scripts of unchanged link
  nodes to also validate that the install lifecycle scripts are
  also called.

Fixes: npm#4277
Fixes: npm#4552
Fixes: npm/statusboard#439
Relates to: npm#2905
ruyadorno added a commit to ruyadorno/cli that referenced this issue May 10, 2022
- Fixes running proper lifecycle scripts for linked deps and
  workspaces.
- Added test to validate lifecycle scripts don't run twice
  for linked deps
- Tweaked "reify workspaces bin files" test to also validate
  proper lifecycle scripts ran before check for linked bins.
- Tweaked reify test running lifecycle scripts of unchanged link
  nodes to also validate that the install lifecycle scripts are
  also called.

Fixes: npm#4277
Fixes: npm#4552
Fixes: npm/statusboard#439
Relates to: npm#2905
wraithgar pushed a commit to npm/cli that referenced this issue May 10, 2022
- Fixes running proper lifecycle scripts for linked deps and
  workspaces.
- Added test to validate lifecycle scripts don't run twice
  for linked deps
- Tweaked "reify workspaces bin files" test to also validate
  proper lifecycle scripts ran before check for linked bins.
- Tweaked reify test running lifecycle scripts of unchanged link
  nodes to also validate that the install lifecycle scripts are
  also called.

Fixes: #4277
Fixes: #4552
Fixes: npm/statusboard#439
Relates to: #2905
@lukekarrys lukekarrys added this to the v9.0.0 milestone Sep 2, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants