File tree 2 files changed +5
-7
lines changed
packages/google-cloud-oslogin
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 32
32
"test" : " c8 mocha build/test" ,
33
33
"samples-test" : " cd samples/ && npm link ../ && npm install && npm test && cd ../" ,
34
34
"system-test" : " mocha build/system-test" ,
35
- "lint" : " gts fix " ,
35
+ "lint" : " gts check " ,
36
36
"fix" : " gts fix" ,
37
37
"docs" : " jsdoc -c .jsdoc.js" ,
38
38
"docs-test" : " linkinator docs" ,
41
41
"compile" : " tsc -p . && cp -r protos build/" ,
42
42
"compile-protos" : " compileProtos src" ,
43
43
"prepare" : " npm run compile" ,
44
- "prelint" : " cd samples; npm link ../; npm install"
44
+ "prelint" : " cd samples; npm link ../; npm install" ,
45
+ "precompile" : " gts clean"
45
46
},
46
47
"dependencies" : {
47
48
"google-gax" : " ^2.1.0"
Original file line number Diff line number Diff line change 16
16
17
17
import synthtool as s
18
18
import synthtool .gcp as gcp
19
+ import synthtool .languages .node as node
19
20
import logging
20
- import subprocess
21
21
22
22
logging .basicConfig (level = logging .DEBUG )
23
23
48
48
templates = common_templates .node_library (source_location = 'build/src' )
49
49
s .copy (templates )
50
50
51
- # Node.js specific cleanup
52
- subprocess .run (['npm' , 'install' ])
53
- subprocess .run (['npm' , 'run' , 'fix' ])
54
- subprocess .run (['npx' , 'compileProtos' , 'src' ])
51
+ node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments