diff --git a/packages/google-cloud-language/synth.py b/packages/google-cloud-language/synth.py index 00f34a25133..b7b46e3b7d5 100644 --- a/packages/google-cloud-language/synth.py +++ b/packages/google-cloud-language/synth.py @@ -6,6 +6,7 @@ logging.basicConfig(level=logging.DEBUG) gapic = gcp.GAPICGenerator() +common_templates = gcp.CommonTemplates() # tasks has two product names, and a poorly named artman yaml for version in ['v1', 'v1beta2']: @@ -17,6 +18,10 @@ library, excludes=['package.json', 'README.md', 'src/index.js']) +templates = common_templates.node_library(package_name="@google-cloud/language") +s.copy(templates) + + # Node.js specific cleanup subprocess.run(['npm', 'ci']) subprocess.run(['npm', 'run', 'prettier'])