-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: bump to angular 6.0.0-rc.1 and rxjs 6.0.0-rc.0 #10642
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
Conversation
package.json
Outdated
@@ -57,7 +57,7 @@ | |||
"@types/glob": "^5.0.33", | |||
"@types/gulp": "3.8.32", | |||
"@types/hammerjs": "^2.0.35", | |||
"@types/jasmine": "^2.6.0", | |||
"@types/jasmine": "2.2.34", |
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.
@jelbourn I've bumped this one down temporarily due to a compilation error coming in from core which is using a lower version of the typings.
"core-js": "^2.4.1", | ||
"rxjs": "6.0.0-beta.1", | ||
"rxjs": "6.0.0-rc.0", |
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.
@jelbourn I'm not completely sure why Bazel is complaining about not being able to find rxjs. Do you have any ideas?
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.
You need to bump the Bazel rules for nodejs and typescript in WORKSPACE. See here for the correct versions
You may also need to add @rxjs//operators
to some BUILD files if Bazel still complains
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.
One more thing, you also need to add "rxjs" to the list of node_modules in the top-level BUILD file. Then the only errors left should be the operators import.
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.
After pulling and running locally, the following are the only BUILD files that need to be modified: cdk/a11y, cdk/overlay, and cdk/tree, and only the test sources need @rxjs//operators
to build correctly
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.
Thanks for looking into it, but I'm not sure that's the case. I tried adding it to all of them and it ended up erroring on the cdk/portal
.
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.
You never added rxjs to the top-level BUILD node_modules
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.
See here for reference
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.
Looks like that did it, although it still feels weird to add rxjs/operators
when it was complaining about rxjs/index
.
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.
The rxjs/index
issue was resolved by adding the rxjs
to top-level BUILD and updating the bazel rules. The operators are to reflect the latest changes in structure for RxJS RC
caf7113
to
ea008c5
Compare
2140ff9
to
732b858
Compare
4ca5f83
to
1511a32
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, after the one comment.
WORKSPACE
Outdated
url = "https://github.com/bazelbuild/rules_typescript/archive/0.11.1.zip", | ||
strip_prefix = "rules_typescript-0.11.1", | ||
sha256 = "7406bea7954e1c906f075115dfa176551a881119f6820b126ea1eacb09f34a1a", | ||
name = "build_bazel_rules_typescript", |
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.
remove extra indenting from parameters.
The rest of the file only uses 2 spaces
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.
Done.
@@ -26,6 +26,7 @@ filegroup( | |||
"protobufjs", | |||
"protractor", | |||
"reflect-metadata", | |||
"rxjs", |
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.
rxjs is actually not supposed to be here because it has its own bazel rules. Can you share the error you were getting?
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 don't have the exact error, but it was something along the lines of "Can't find module rxjs/index
".
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.
Chatted w/ Alex, this seems like an issue w/ the ngsummary files being generated, we're figuring out the right way for core to fix this
Bumps to the latest Angular and RxJS RCs and fixes a compilation error in the postinstall script.
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
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. |
Bumps to the latest Angular and RxJS RCs and fixes a compilation error in the postinstall script.