Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Update to nodejs rules 0.31.1 - #87

Merged
alexeagle merged 1 commit into
bazelbuild:masterfrom
gregmagolan:manekinekko.rules-nodejs-entry-point
Jun 10, 2019
Merged

alexeagle merged 1 commit into
bazelbuild:masterfrom
gregmagolan:manekinekko.rules-nodejs-entry-point

Conversation

@gregmagolan

@gregmagolan gregmagolan commented Jun 3, 2019 •

Copy link
Copy Markdown
Contributor

nodejs_binary entry_point is now a label. See release notes https://github.com/bazelbuild/rules_nodejs/releases/tag/0.31.0 for more info.

This commit is a pre-req to bazel-contrib/rules_nodejs#777

@googlebot

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

@googlebot

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@jelbourn jelbourn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you include something in the commit message that explains the context a bit more, especially around temporarily pointing to your fork?

@gregmagolan

Copy link
Copy Markdown
Contributor Author

@jelbourn Should have explained better in the desc. This is not meant to be merged until the commit is changed to point to a rules_nodejs release so the commit to my fork is temporary. PR is here to test against CI and will be updated to rules_nodejs upstream before merging :)

@googlebot

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no and removed cla: yes labels Jun 6, 2019
@gregmagolan gregmagolan changed the title WIP: Update nodejs_binary entry points to labels Update to nodejs rules 0.31.0 Jun 6, 2019
@gregmagolan gregmagolan changed the title Update to nodejs rules 0.31.0 WIP: Update to nodejs rules 0.31.0 Jun 6, 2019
@gregmagolan gregmagolan changed the title WIP: Update to nodejs rules 0.31.0 Update to nodejs rules 0.31.1 Jun 7, 2019
@alexeagle alexeagle added cla: yes and removed cla: no labels Jun 7, 2019
@googlebot

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@alexeagle

Copy link
Copy Markdown
Contributor

Note: this means that rules_sass users will need to update their rules_nodejs version in WORKSPACE along with the next sass release. might want to include that note in the release notes @nex3

nodejs_binary entry_point is now a label
@googlebot

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

Comment thread README.md
sass_repositories()

# Setup the NodeJS toolchain
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

node_repositories() is no longer explicitly since sass_repositories() calls yarn_install which will call node_repositories() if it has not already been called.

Comment thread WORKSPACE
rules_sass_dependencies()
rules_sass_dev_dependencies()

load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

node_repositories() is no longer explicitly since sass_repositories() calls yarn_install which will call node_repositories() if it has not already been called.

"""

# 0.31.1: entry_point attribute of rules_nodejs is now a label
check_rules_nodejs_version("0.31.1")

@gregmagolan gregmagolan Jun 10, 2019 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If a rules_sass user is explicitly installing build_bazel_rules_nodejs in their WORKSPACE then they'll need to update to at least version 0.31.1. If they are not explicitly installing it then rules_sass_dependencies() will install the correct version transitively.

@googlebot

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@alexeagle
alexeagle merged commit 9a00e55 into bazelbuild:master Jun 10, 2019
gregmagolan added a commit to angular/angular-bazel-example that referenced this pull request Jun 11, 2019
* update to upstream rules_sass commit now that bazelbuild/rules_sass#87 has landed (+2 squashed
* entry_point attributes in rules_nodejs are now labels
* includes temporary post-install patch for @angular/bazel protractor rule which will get removed once that rule is updated in angular repo
alexeagle pushed a commit to bazel-contrib/rules_nodejs that referenced this pull request Jun 11, 2019
* rules_sass bazelbuild/rules_sass#87 has landed so can switch back to upstream
* stardoc commits we were depending on have since been releases so can switch to a release archive of io_bazel & io_bazel_skydoc
siberex pushed a commit to siberex/rules_nodejs that referenced this pull request Jun 11, 2019
* rules_sass bazelbuild/rules_sass#87 has landed so can switch back to upstream
* stardoc commits we were depending on have since been releases so can switch to a release archive of io_bazel & io_bazel_skydoc
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants