-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: (nodejs) read repo_name and package_name from package.json #34
Conversation
synthtool/sources/node_package.py
Outdated
with open('./package.json') as f: | ||
data = json.load(f) | ||
|
||
package_name = data['name'] |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
synthtool/gcp/common.py
Outdated
t = templates.TemplateGroup(_TEMPLATES_DIR / "node_library") | ||
result = t.render(package_name=package_name, repo_name=repo_name) | ||
result = t.render(**{**metadata, **kwargs}) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
…loudPlatform/synthtool into node-read-args-from-package-json
synthtool/sources/node_package.py
Outdated
@@ -0,0 +1,35 @@ | |||
# Copyright 2018 Google LLC |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
No description provided.