Skip to content

Commit

Permalink
Merge pull request #256 from gomain/fix-yarn-workspace-test
Browse files Browse the repository at this point in the history
fix: `npx` uses downloaded patch-package from NPM
  • Loading branch information
ds300 authored Mar 2, 2021
2 parents e9b95a3 + 5582557 commit c6238f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/yarn-workspaces/yarn-workspaces.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ echo "modify hoisted left-pad"
npx replace leftPad patch-package node_modules/left-pad/index.js

echo "create patch file"
npx patch-package left-pad
yarn patch-package left-pad

echo "modify unhoisted left-pad"
npx replace leftPad patch-package packages/a/node_modules/left-pad/index.js

echo "create patch file"
cd packages/a
npx patch-package left-pad
yarn patch-package left-pad

echo "go back to root"
cd ../../
Expand Down

0 comments on commit c6238f6

Please sign in to comment.