-
Notifications
You must be signed in to change notification settings - Fork 595
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
Modularization Release Process #1411
Comments
Overall I think it looks great, I only have a couple things to add in regards to the docs.
What about the docs in lib/index.js?
I think this should be a gcloud-common discussion? (If it isn't already) |
|
I chose it because it's all-encompassing, as opposed to just "build" or "publish", since it does both of those, and more. This is only a command that will be run by a maintainer of the library, so before they run it, they will have been told or read what it does. At its worst, if it is ambiguous, that might work in our favor in that the person running the command will check what it does. I'm open to ideas, though, if you can think of a better name. |
Examples updated 👍 |
We have a publish script now which handles publishing an individual module. The chain effect originally discussed here, where publishing one module triggers another, is probably a little dangerous. What we have now is working so far, so until we see need to improve, let's close this one. |
Here's the current plan regarding how to publish updates to the core
gcloud
module or the future@gcloud/{service}
sub-modules. Thoughts very welcome!An npm run script will be created to release a module:
Here's what happens if you wanted to publish the core gcloud module with a major update.
Here's what happens if you wanted to release a major update to the BigQuery API.
Here's what happens if you wanted to release a patch update to the BigQuery API.
How about the docs?
The core package will no longer have its own JSON files. Instead, each service will have a directory in gh-pages that the core package doc pages will pull from:
How does the docs site load the correct JSON files from the modules?
Still thinking! Possible tools that can help:
semver
client-side libraryThe text was updated successfully, but these errors were encountered: