-
Notifications
You must be signed in to change notification settings - Fork 90
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
Conversation
* add bundled-dependencies to deploynodeapp * add upload-modules to deployhostedfunction
There was a problem hiding this 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.
lib/commands/deployproxy.js
Outdated
@@ -553,7 +602,8 @@ function uploadProxies(opts, request, done) { | |||
} | |||
|
|||
function runNpm(opts, request, done) { | |||
if (!opts.remoteNpm) { | |||
console.log(opts) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove debug logging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah good catch, thanks
* 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
adds
--bundled-dependencies
flag to thedeployhostedfunction
command.This will run an
npm pack
and use the packaged version of the application to deploy to Hosted Functions, keying off of thebundledDependencies
property that packages only the listed dependencies in the result.