File tree 3 files changed +4
-3
lines changed
integration-tests/yarn-workspaces
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 12
12
]
13
13
},
14
14
"dependencies" : {
15
+ "left-pad" : " 1.2.0" ,
15
16
"postinstall-postinstall" : " ^2.0.0" ,
16
17
"replace" : " ^1.1.0" ,
17
18
"rimraf" : " ^2.6.3"
Original file line number Diff line number Diff line change 7
7
"patch-package" : " ../../node_modules/.bin/patch-package"
8
8
},
9
9
"dependencies" : {
10
- "left-pad" : " ^ 1.3.0" ,
10
+ "left-pad" : " 1.3.0" ,
11
11
"postinstall-postinstall" : " ^2.0.0"
12
12
}
13
13
}
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ echo "create patch file"
15
15
npx patch-package left-pad
16
16
17
17
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
20
19
21
20
echo " create patch file"
21
+ cd packages/a
22
22
npx patch-package left-pad
23
23
24
24
echo " go back to root"
You can’t perform that action at this time.
0 commit comments