Skip to content
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

google-cloud: use npm shrinkwrap #1632

Merged
merged 5 commits into from
Sep 27, 2016

Conversation

stephenplusplus
Copy link
Contributor

@stephenplusplus stephenplusplus commented Sep 27, 2016

Fixes #1590
Fixes #1605
Fixes #1627

@callmehiphop's idea.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 27, 2016
@callmehiphop
Copy link
Contributor

I think we're going to want to work this into our publish script?

@stephenplusplus
Copy link
Contributor Author

@callmehiphop PTAL. Also confirm this will fix the 3 issues tagged in the OP, or if there's more to do.

@@ -34,6 +35,13 @@ var newVersion = args[2].replace(/^v*/, '');
var tagName = [moduleName, newVersion].join('-');

if (moduleName === 'google-cloud') {
if (npmVersion < 3) {
throw new Error([
'Publishing google-cloud requires the latest npm.'

This comment was marked as spam.

This comment was marked as spam.

@callmehiphop callmehiphop merged commit b93e1d1 into googleapis:master Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants