File tree 4 files changed +867
-773
lines changed
4 files changed +867
-773
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,11 @@ exports.builder = (yargs) => (
142
142
string : true ,
143
143
default : '' ,
144
144
} )
145
+ . option ( 'pull' , {
146
+ describe : 'force pull docker containers' ,
147
+ type : 'boolean' ,
148
+ default : false ,
149
+ } )
145
150
. help ( )
146
151
) ;
147
152
exports . handler = ( ) => { } ;
Original file line number Diff line number Diff line change @@ -56,6 +56,13 @@ exports.handler = async (argv) => {
56
56
57
57
const { compose } = argv ;
58
58
59
+ if ( argv . pull ) {
60
+ if ( await echoAndExec ( `${ compose } pull` ) . code !== 0 ) {
61
+ echo ( 'failed pull docker containers. Exit 128' ) ;
62
+ exit ( 128 ) ;
63
+ }
64
+ }
65
+
59
66
// start containers
60
67
if ( ( await echoAndExec ( `${ compose } up -d` ) ) . code !== 0 ) {
61
68
echo ( 'failed to start docker containers. Exit 128' ) ;
Original file line number Diff line number Diff line change 26
26
"@babel/core" : " ^7.8.3" ,
27
27
"@babel/plugin-proposal-class-properties" : " ^7.8.3" ,
28
28
"@babel/plugin-transform-strict-mode" : " ^7.8.3" ,
29
- "codecov" : " ^3.6.1 " ,
30
- "cross-env" : " ^6 .0.3 " ,
29
+ "codecov" : " ^3.6.2 " ,
30
+ "cross-env" : " ^7 .0.0 " ,
31
31
"eslint" : " ^6.8.0" ,
32
32
"eslint-config-makeomatic" : " ^4.0.0" ,
33
33
"eslint-plugin-import" : " ^2.20.0" ,
34
34
"eslint-plugin-promise" : " ^4.2.1" ,
35
35
"eslint-plugin-unicorn" : " ^15.0.1" ,
36
- "jest" : " ^24.9 .0" ,
36
+ "jest" : " ^25.1 .0" ,
37
37
"tempy" : " ^0.3.0"
38
38
},
39
39
"dependencies" : {
44
44
"death" : " ^1.1.0" ,
45
45
"find-up" : " ^4.1.0" ,
46
46
"glob" : " ^7.1.6" ,
47
- "husky" : " ^4.0.10 " ,
47
+ "husky" : " ^4.2.1 " ,
48
48
"hyperid" : " ^2.0.3" ,
49
49
"is" : " ^3.2.1" ,
50
50
"js-yaml" : " ^3.13.1" ,
56
56
"pino" : " ^5.16.0" ,
57
57
"read-pkg" : " ^5.2.0" ,
58
58
"rimraf" : " ^3.0.0" ,
59
- "semantic-release" : " 16.0.2 " ,
59
+ "semantic-release" : " 16.0.3 " ,
60
60
"shelljs" : " ^0.8.3" ,
61
61
"strip-final-newline" : " ^2.0.0" ,
62
62
"yargs" : " ^15.1.0"
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments