-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: build cdk with angular from source #13541
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package(default_visibility=["//visibility:public"]) | ||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library") | ||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library", "ts_web_test") | ||
load("@angular//:index.bzl", "ng_module") | ||
|
||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library", "ts_web_test") | ||
|
||
ng_module( | ||
ts_library( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe that the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just checked locally, and seems to work as expected. |
||
name = "coercion", | ||
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]), | ||
module_name = "@angular/cdk/coercion", | ||
deps = ["@rxjs"], | ||
deps = ["@npm//tslib"], | ||
tsconfig = "//src/cdk:tsconfig-build.json", | ||
) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
package(default_visibility=["//visibility:public"]) | ||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library") | ||
load("@angular//:index.bzl", "ng_module") | ||
|
||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library") | ||
|
||
ng_module( | ||
ts_library( | ||
name = "keycodes", | ||
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]), | ||
module_name = "@angular/cdk/keycodes", | ||
deps = ["@rxjs"], | ||
deps = ["@npm//tslib"], | ||
tsconfig = "//src/cdk:tsconfig-build.json", | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
package(default_visibility=["//visibility:public"]) | ||
load("@angular//:index.bzl", "ng_module") | ||
|
||
load("//tools:defaults.bzl", "ng_module") | ||
|
||
ng_module( | ||
name = "platform", | ||
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]), | ||
module_name = "@angular/cdk/platform", | ||
deps = ["@rxjs"], | ||
deps = [ | ||
"@angular//packages/common", | ||
"@angular//packages/core", | ||
], | ||
tsconfig = "//src/cdk:tsconfig-build.json", | ||
) |
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.
Is there an issue somewhere tracking this?
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 that I know of. I think it's just a WIP branch that includes the new design with
rules_angular_dependencies
.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.
@alexeagle what's the status of the changes on that branch making it to angular master?