-
Notifications
You must be signed in to change notification settings - Fork 522
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
install_bazel_dependencies doesn't always update correctly #1200
Comments
Including a hash of the lock file in the marker file instead of adding the lock file as an additional input to the generated |
JaredNeil
added a commit
to lucidsoftware/rules_nodejs
that referenced
this issue
Sep 27, 2019
This was referenced Sep 27, 2019
gregmagolan
pushed a commit
to gregmagolan/rules_nodejs
that referenced
this issue
Oct 1, 2019
JaredNeil
added a commit
to lucidsoftware/rules_nodejs
that referenced
this issue
Oct 1, 2019
gregmagolan
pushed a commit
to gregmagolan/rules_nodejs
that referenced
this issue
Oct 2, 2019
alexeagle
pushed a commit
that referenced
this issue
Oct 2, 2019
Thanks for the fix! |
JaredNeil
added a commit
to lucidsoftware/rules_nodejs
that referenced
this issue
Oct 3, 2019
JaredNeil
added a commit
to lucidsoftware/rules_nodejs
that referenced
this issue
Oct 3, 2019
Toxicable
pushed a commit
to Toxicable/rules_nodejs
that referenced
this issue
Oct 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐞 bug report
Affected Rule
The issue is caused by the rule:
yarn_install
/install_bazel_dependencies
Is this a regression?
Unsure.
Description
When updating the version of an NPM dependency that declares
"bazelWorkspaces"
, the new version will not be installed into the workspace wheninstall_bazel_dependencies()
is called. After abazel clean --expunge
the correct version is installed. Alternatively, modifying the contents of the_bazel_workspace_marker
file also causes it to install correctly.The copy in
external/npm/_workspaces/
is updated correctly, but it doesn't get copied toexternal/
unless I change the_bazel_workspace_marker
file.🔬 Minimal Reproduction
I was able to consistently reproduce it in
examples/angular
by building a custom version of@bazel/typescript
, but it was pretty convoluted. I'll work on a simpler case if needed.Edit: Repro steps (commits from master...lucidsoftware:jaredneil-install-repro)
Output from running:
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules version (SHA):
The text was updated successfully, but these errors were encountered: