Skip to content

Commit cf355f6

Browse files
jkwluiJustinBeckwith
authored andcommitted
chore: add node templates to synth.py (#84)
1 parent 8b796bc commit cf355f6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/google-cloud-language/synth.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
logging.basicConfig(level=logging.DEBUG)
77

88
gapic = gcp.GAPICGenerator()
9+
common_templates = gcp.CommonTemplates()
910

1011
# tasks has two product names, and a poorly named artman yaml
1112
for version in ['v1', 'v1beta2']:
@@ -17,6 +18,10 @@
1718
library,
1819
excludes=['package.json', 'README.md', 'src/index.js'])
1920

21+
templates = common_templates.node_library(package_name="@google-cloud/language")
22+
s.copy(templates)
23+
24+
2025
# Node.js specific cleanup
2126
subprocess.run(['npm', 'ci'])
2227
subprocess.run(['npm', 'run', 'prettier'])

0 commit comments

Comments
 (0)