-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: no longer require updating multiple package.json files for bazel #14391
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
build: no longer require updating multiple package.json files for bazel #14391
Conversation
bf0514e
to
b056693
Compare
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
@@ -5,6 +5,7 @@ load("//tools:defaults.bzl", "ts_library") | |||
exports_files([ | |||
"bazel-tsconfig-build.json", | |||
"bazel-tsconfig-test.json", | |||
"README.md", |
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.
Not for this PR, but we should create separate npm README files for each of our packages
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.
Agreed. Should these be pretty much similar to the current one but just have the "correct" package name title and refer to the proper URL for the sources?
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.
I created an issue and assigned it to myself for this.
* Replaces second "package.json" file with a small workspace that just aliases to the actual dependencies provided in the "@matdeps" workspace. This speeds up the analysis phase and also makes debugging easier.
b056693
to
3d8e7d5
Compare
…el (angular#14391) * Replaces second "package.json" file with a small workspace that just aliases to the actual dependencies provided in the "@matdeps" workspace. This speeds up the analysis phase and also makes debugging easier. * Also proxies the "ng_package" so that it always includes the proper `README.md` file. Also this means that we can always replace the version placeholders. Similar to `angular/angular`. Similar to angular/angular@68074df. Credits to @gregmagolan for this. We just need a bit more work because we don't overwrite the default `compiler`, `xi18n` and `packager` targets to the actual source files (this is special to Angular because those contain the sources)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
README.md
file. Also this means that we can always replace the version placeholders. Similar toangular/angular
.Similar to angular/angular@68074df. Credits to @gregmagolan for this.
We just need a bit more work because we don't overwrite the default
compiler
,xi18n
andpackager
targets to the actual source files (this is special to Angular because those contain the sources)