Skip to content

Remove required node_modules arg and layers - #1000

Merged
nlopezgi merged 1 commit into
bazelbuild:masterfrom
Globegitter:patch-4
Jul 16, 2019
Merged

nlopezgi merged 1 commit into
bazelbuild:masterfrom
Globegitter:patch-4

Conversation

@Globegitter

@Globegitter Globegitter commented Jul 16, 2019 •

Copy link
Copy Markdown

The layers never really worked properly as all the nodejs_binary runfiles, including node_modules and the nodejs binary, where still being put into the top-layer anyway. Now that rules_nodejs are supporting toolchain we could fix that partially by also requiring the toolchain, but that would still not fix node_modules. For that we would need a provider from nodejs_binary, which is proposed here: bazel-contrib/rules_nodejs#863

So we should fix the layering once it is really possible from the rules_nodejs side.

cc @gregmagolan

The layers never really worked properly as all the nodejs_binary runfiles, including node_modules and the nodejs binary, where still being put into the top-layer anyway. Now that rules_nodejs are supporting toolchain we could fix that partially by also requiring the toolchain, but that would still not fix node_modules. For that we would need a provider from nodejs_binary, which is proposed here: bazel-contrib/rules_nodejs#863

So we should fix this once it is really possible from the rules_nodejs side.
@k8s-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Globegitter, nlopezgi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nlopezgi
nlopezgi merged commit b361f3b into bazelbuild:master Jul 16, 2019
@Globegitter
Globegitter deleted the patch-4 branch July 17, 2019 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants