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

add --bundled-dependencies flag to deploy* #91

Merged
merged 5 commits into from
Oct 24, 2017
Merged

Conversation

noahdietz
Copy link
Collaborator

adds --bundled-dependencies flag to the deployhostedfunction command.

This will run an npm pack and use the packaged version of the application to deploy to Hosted Functions, keying off of the bundledDependencies property that packages only the listed dependencies in the result.

* add bundled-dependencies to deploynodeapp
* add upload-modules to deployhostedfunction
@noahdietz noahdietz changed the title add --bundled-dependencies flag to deployhostedfunction add --bundled-dependencies flag to deploy* Oct 20, 2017
Copy link
Contributor

@AdamMagaluk AdamMagaluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM minus that small nit.

@@ -553,7 +602,8 @@ function uploadProxies(opts, request, done) {
}

function runNpm(opts, request, done) {
if (!opts.remoteNpm) {
console.log(opts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove debug logging

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah good catch, thanks

@noahdietz noahdietz merged commit 1ec9345 into hosted-functions Oct 24, 2017
@noahdietz noahdietz deleted the b/67709191 branch October 24, 2017 20:28
noahdietz added a commit that referenced this pull request Oct 26, 2017
* add hosted functions support to getlogs

* add deployhostedfunction

* Update README for deploy* and getlogs changes

* add --bundled-dependencies flag to deploy* (#91)

* unify deploy* handling of node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants