Skip to content

Commit 083ae99

Browse files
committed
try to fix CI failure on yarn-workspaces test
1 parent 4c509e1 commit 083ae99

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

integration-tests/yarn-workspaces/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
]
1313
},
1414
"dependencies": {
15+
"left-pad": "1.2.0",
1516
"postinstall-postinstall": "^2.0.0",
1617
"replace": "^1.1.0",
1718
"rimraf": "^2.6.3"

integration-tests/yarn-workspaces/packages/a/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"patch-package": "../../node_modules/.bin/patch-package"
88
},
99
"dependencies": {
10-
"left-pad": "^1.3.0",
10+
"left-pad": "1.3.0",
1111
"postinstall-postinstall": "^2.0.0"
1212
}
1313
}

integration-tests/yarn-workspaces/yarn-workspaces.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ echo "create patch file"
1515
npx patch-package left-pad
1616

1717
echo "modify unhoisted left-pad"
18-
cd packages/a
19-
npx replace leftPad patch-package node_modules/left-pad/index.js
18+
npx replace leftPad patch-package packages/a/node_modules/left-pad/index.js
2019

2120
echo "create patch file"
21+
cd packages/a
2222
npx patch-package left-pad
2323

2424
echo "go back to root"

0 commit comments

Comments
 (0)