Skip to content

Commit 3ad68da

Browse files
committed
Ignore the package-lock.json for the test projects.
Also remove it with each clean/build so we're sure it won't use cache.
1 parent 1aad0af commit 3ad68da

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

tests-integration/rollup/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ dist
22
cypress/screenshots
33
cypress/videos
44
node_modules
5+
# Yes on purpose for test project to not have cached things installed
6+
package-lock.json

tests-integration/rollup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": "true",
55
"description": "Test with rollup",
66
"scripts": {
7-
"clean": "shx rm -rf ./dist",
7+
"clean": "shx rm -rf ./dist && shx rm -f package-lock.json",
88
"compile": "rollup -c",
99
"compile-watch": "rollup -cw",
1010
"cypress:open": "cypress open",

tests-integration/webpack/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ dist
22
cypress/screenshots
33
cypress/videos
44
node_modules
5+
# Yes on purpose for test project to not have cached things installed
6+
package-lock.json

tests-integration/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Test with webpack",
66
"scripts": {
77
"build": "npm run clean && npm run compile && npm run tslint && npm run test",
8-
"clean": "shx rm -rf dist",
8+
"clean": "shx rm -rf ./dist && shx rm -f package-lock.json",
99
"cypress:open": "cypress open",
1010
"cypress:run": "cypress run",
1111
"compile": "webpack",

0 commit comments

Comments
 (0)