File tree Expand file tree Collapse file tree
packages/google-cloud-asset Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 "docs" : " jsdoc -c .jsdoc.js" ,
3636 "docs-test" : " linkinator docs" ,
3737 "fix" : " gts fix" ,
38- "lint" : " gts fix " ,
38+ "lint" : " gts check " ,
3939 "predocs-test" : " npm run docs" ,
4040 "prepare" : " npm run compile" ,
4141 "system-test" : " c8 mocha build/system-test" ,
4242 "test" : " c8 mocha build/test" ,
43- "prelint" : " cd samples; npm link ../; npm install"
43+ "prelint" : " cd samples; npm link ../; npm install" ,
44+ "precompile" : " gts clean"
4445 },
4546 "dependencies" : {
4647 "google-gax" : " ^2.1.0"
Original file line number Diff line number Diff line change 1616import json
1717import synthtool as s
1818import synthtool .gcp as gcp
19- import subprocess
19+ import synthtool . languages . node as node
2020import logging
2121
2222logging .basicConfig (level = logging .DEBUG )
6464 with open (file , 'w' ) as f :
6565 f .write (new_file )
6666
67- # Node.js specific cleanup
68- subprocess .run (['npm' , 'install' ])
69- subprocess .run (['npm' , 'run' , 'fix' ])
70- subprocess .run (['npx' , 'compileProtos' , 'src' ])
67+ node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments