File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
packages/google-cloud-language Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 3131 ],
3232 "scripts" : {
3333 "docs" : " jsdoc -c .jsdoc.js" ,
34- "lint" : " gts fix " ,
34+ "lint" : " gts check " ,
3535 "samples-test" : " cd samples/ && npm link ../ && npm install && npm test && cd ../" ,
3636 "system-test" : " mocha build/system-test" ,
3737 "test" : " c8 mocha build/test" ,
4242 "compile-protos" : " compileProtos src" ,
4343 "predocs-test" : " npm run docs" ,
4444 "prepare" : " npm run compile" ,
45- "prelint" : " cd samples; npm link ../; npm install"
45+ "prelint" : " cd samples; npm link ../; npm install" ,
46+ "precompile" : " gts clean"
4647 },
4748 "dependencies" : {
4849 "google-gax" : " ^2.1.0"
Original file line number Diff line number Diff line change 11import synthtool as s
22import synthtool .gcp as gcp
3+ import synthtool .languages .node as node
34import logging
4- import subprocess
55
66logging .basicConfig (level = logging .DEBUG )
77
3030templates = common_templates .node_library (source_location = 'build/src' )
3131s .copy (templates )
3232
33- # Node.js specific cleanup
34- subprocess .run (['npm' , 'install' ])
35- subprocess .run (['npm' , 'run' , 'fix' ])
36- subprocess .run (['npx' , 'compileProtos' , 'src' ])
33+ node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments