mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Dedupe and flatten node_modules
This commit is contained in:
committed by
Sashko Stubailo
parent
7253c8ee9c
commit
ef60dbaccd
2
meteor
2
meteor
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
BUNDLE_VERSION=0.3.84
|
||||
BUNDLE_VERSION=0.4.1
|
||||
|
||||
# OS Check. Put here because here is where we download the precompiled
|
||||
# bundles that are arch specific.
|
||||
|
||||
@@ -45,6 +45,9 @@ cd "${DIR}\b\p"
|
||||
node "${CHECKOUT_DIR}\scripts\dev-bundle-tool-package.js" | out-file -FilePath package.json -Encoding ascii
|
||||
npm install --production
|
||||
npm dedupe
|
||||
# install the latest flatten-packages
|
||||
npm install -g flatten-packages
|
||||
flatten-packages .
|
||||
cp -R "${DIR}\b\p\node_modules\" "${DIR}\lib\node_modules\"
|
||||
cd "$DIR"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user