File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 21
21
"prebuildifier" : " bazel build --noshow_progress @com_github_bazelbuild_buildtools//buildifier" ,
22
22
"buildifier" : " find . -type f \\ ( -name BUILD -or -name BUILD.bazel \\ ) ! -path \" */node_modules/*\" | xargs $(bazel info bazel-bin)/external/com_github_bazelbuild_buildtools/buildifier/buildifier" ,
23
23
"preinstall" : " node tools/yarn/check-yarn.js" ,
24
- "postinstall" : " yarn update-webdriver" ,
24
+ "postinstall" : " yarn update-webdriver; node ./tools/postinstall-patches.js " ,
25
25
"update-webdriver" : " webdriver-manager update --gecko false $CHROMEDRIVER_VERSION_ARG" ,
26
26
"check-env" : " gulp check-env"
27
27
},
96
96
"rollup-plugin-sourcemaps" : " 0.4.2" ,
97
97
"selenium-webdriver" : " 3.5.0" ,
98
98
"semver" : " 5.4.1" ,
99
- "shelljs" : " ^0.7.8 " ,
99
+ "shelljs" : " ^0.8.1 " ,
100
100
"source-map" : " 0.5.7" ,
101
101
"source-map-support" : " 0.4.18" ,
102
102
"systemjs" : " 0.18.10" ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ travisFoldEnd "install-yarn"
37
37
38
38
# Install all npm dependencies according to yarn.lock
39
39
travisFoldStart " yarn-install"
40
- (node tools/npm/check-node-modules --purge && yarn update-webdriver ) || yarn install --frozen-lockfile --non-interactive
40
+ (node tools/npm/check-node-modules --purge && yarn postinstall ) || yarn install --frozen-lockfile --non-interactive
41
41
travisFoldEnd " yarn-install"
42
42
43
43
Original file line number Diff line number Diff line change
1
+ const { set, cd, sed} = require ( 'shelljs' ) ;
2
+ const path = require ( 'path' ) ;
3
+
4
+ console . log ( '===== about to run the postinstall.js script =====' ) ;
5
+ // fail on first error
6
+ set ( '-e' ) ;
7
+ // print commands as being executed
8
+ set ( '-v' ) ;
9
+ // jump to project root
10
+ cd ( path . join ( __dirname , '../' ) ) ;
11
+
12
+
13
+ console . log ( '===== finished running the postinstall.js script =====' ) ;
Original file line number Diff line number Diff line change @@ -6420,9 +6420,9 @@ shell-quote@1.6.1:
6420
6420
array-reduce "~0.0.0"
6421
6421
jsonify "~0.0.0"
6422
6422
6423
- shelljs@^0.7.8 :
6424
- version "0.7.8 "
6425
- resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8. tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3 "
6423
+ shelljs@^0.8.1 :
6424
+ version "0.8.1 "
6425
+ resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.1. tgz#729e038c413a2254c4078b95ed46e0397154a9f1 "
6426
6426
dependencies :
6427
6427
glob "^7.0.0"
6428
6428
interpret "^1.0.0"
You can’t perform that action at this time.
0 commit comments