Skip to content

Commit 1ff3f30

Browse files
clean node_modules for npm-import fixture before testing
1 parent 7d7b9cc commit 1ff3f30

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

fixtures/import-npm/package-lock.json

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fixtures/import-npm/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"packages/*"
88
],
99
"scripts": {
10-
"check:type": "rm -rf node_modules && npm install && npm run check:type --workspaces",
11-
"test:ci": "npm install && npm run test:ci --workspaces",
12-
"test:watch": "npm install && npm run test:watch --workspaces",
13-
"type:tests": "rm -rf node_modules && npm install && npm run type:tests --workspaces"
10+
"_clean_install": "rm -rf node_modules && npm install",
11+
"check:type": "npm run _clean_install && npm run check:type --workspaces",
12+
"test:ci": "npm run _clean_install && npm run test:ci --workspaces",
13+
"test:watch": "npm run _clean_install && npm run test:watch --workspaces",
14+
"type:tests": "npm run _clean_install && npm run type:tests --workspaces"
1415
}
1516
}

0 commit comments

Comments
 (0)