File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,5 @@ tar -xzf pack.tgz --strip 1
14
14
rm pack.tgz
15
15
# Change this to "yarn install --production" once #1115 is fixed
16
16
npm install -- production
17
- rm node_modules/*/ test - Recurse
18
- rm node_modules/*/ dist - Recurse
17
+ ../ scripts/ clean - node- modules.ps1
19
18
cd ..
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ tar -xzf pack.tgz --strip 1
15
15
rm -rf pack.tgz
16
16
# Change this to "yarn install --production" once #1115 is fixed
17
17
npm install --production
18
- rm -rf node_modules/ * /test node_modules/ * /dist
18
+ ../scripts/clean-node-modules.sh
19
19
../scripts/set-installation-method.js $( readlink -f package.json) tar
20
20
cd ..
21
21
Original file line number Diff line number Diff line change
1
+ # sometimes folders may not exist according to node/npm version etc so ignore them
2
+ $ErrorActionPreference = ' Continue'
3
+
4
+ # random browser builds that aren't used
5
+ rm node_modules/ core- js/ client - Recurse
6
+
7
+ # remove typescript files
8
+ rm node_modules/ rx/ ts - Recurse
9
+
10
+ # naughty modules that have their test folders
11
+ rm node_modules/*/ test - Recurse
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # random browser builds that aren't used
4
+ rm -rf node_modules/core-js/client
5
+
6
+ # remove typescript files
7
+ rm -rf node_modules/rx/ts
8
+
9
+ # naughty modules that have their test folders
10
+ rm -rf node_modules/* /test
You can’t perform that action at this time.
0 commit comments