Skip to content

node.js: actually put node_modules in separate layer + export app_layer_impl - #342

Closed
hchauvin wants to merge 4 commits into
bazelbuild:masterfrom
hchauvin:nodejs-dep-layer
Closed

hchauvin wants to merge 4 commits into
bazelbuild:masterfrom
hchauvin:nodejs-dep-layer

Conversation

@hchauvin

@hchauvin hchauvin commented Mar 6, 2018

Copy link
Copy Markdown

Because the run files in app_layer_impl was not overridden before this
commit, the node_modules folder for a node.js image was not actually
put in a different layer.

I also updated the dependency on rules_nodejs to HEAD because of a bug with the npm version.

…er_impl

Because the run files in app_layer_impl was not overridden before this
commit, the node_modules folder for a node.js image was not actually
put in a different layer.
@erain

erain commented Jun 4, 2018

Copy link
Copy Markdown
Contributor

Hi @hchauvin : sorry for coming to this PR late (as we just started maintaining this PR and had some backlogs).

Most of the change LGTM, and expose of the lang_image is the thing I still have doubts.

It is possible for you to rebased on the latest branch (where there some changes in buildifier about skylark formatting) and I could merge this PR?

The particular buildifier setup and commands (remove --mode=check will reformat files automaticially):

go get -u github.com/bazelbuild/buildifier/buildifier
buildifier -mode=check $(find . -name BUILD -type f)
buildifier -mode=check $(find . -name WORKSPACE -type f)
buildifier -mode=check $(find . -name '*.bzl' -type f)
Many thanks!

@nlopezgi

Copy link
Copy Markdown
Contributor

Hi @hchauvin, is this PR still needed? Can you please address the feedback when you have the chance? Thanks for your patience and contribution!

@nlopezgi

Copy link
Copy Markdown
Contributor

Please re-open when you are ready to pick this up. Thanks again for your contributions!

@nlopezgi nlopezgi closed this Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants