File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
integration-tests/dev-only-patches Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,17 @@ export NODE_ENV=production
66
77echo " add patch-package"
88yarn add $1
9+ alias patch-package=./node_modules/.bin/patch-package
910
1011echo " SNAPSHOT: patch-package happily ignores slash because it's a dev dep"
11- npx patch-package
12+ patch-package
1213echo " END SNAPSHOT"
1314
1415echo " create fake-package+3.0.0.patch"
1516cp patches/slash+3.0.0.patch patches/fake-package+3.0.0.patch
1617
1718(>&2 echo " SNAPSHOT: patch-package fails to find fake-package" )
18- if npx patch-package
19+ if patch-package
1920then
2021 exit 1
2122fi
@@ -25,5 +26,5 @@ echo "rename fake-package patch file to .dev.patch"
2526mv patches/fake-package+3.0.0.patch patches/fake-package+3.0.0.dev.patch
2627
2728echo " SNAPSHOT: fake-package should be skipped"
28- npx patch-package
29+ patch-package
2930echo " END SNAPSHOT"
You can’t perform that action at this time.
0 commit comments