mirror of
https://github.com/meteor/meteor.git
synced 2026-01-09 07:38:15 -05:00
Make sure dev_bundle/lib/node_modules/.bin is left intact.
If you run `meteor npm install` in bundle/programs/server, this change means dev_bundle/lib/node_modules/.bin/node-pre-gyp will be available to packages that need to rebuild binary dependencies, to pick just one important example.
This commit is contained in:
@@ -86,6 +86,9 @@ cd "${DIR}/build/npm-tool-install"
|
||||
node "${CHECKOUT_DIR}/scripts/dev-bundle-tool-package.js" >package.json
|
||||
npm install
|
||||
cp -R node_modules/* "${DIR}/lib/node_modules/"
|
||||
# Also include node_modules/.bin, so that `meteor npm` can make use of
|
||||
# commands like node-gyp and node-pre-gyp.
|
||||
cp -R node_modules/.bin "${DIR}/lib/node_modules/"
|
||||
|
||||
cd "${DIR}/lib"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user