mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: set up ts_project interop for rules_js migration (#61087)
The `ts_project` interop rule that we've built was also used in the Angular CLI migration, and it allows us to mix `ts_project` and `ts_library` targets; enabling an incremental migration. Additionally set up the `ng_project` to replace `ng_module`. PR Close #61087
This commit is contained in:
committed by
Andrew Kushnir
parent
1c7f669f33
commit
72b7de0d73
+12
-1
@@ -37,7 +37,18 @@ ts_config(
|
||||
rules_js_tsconfig(
|
||||
name = "build-tsconfig",
|
||||
src = "tsconfig-build.json",
|
||||
deps = [],
|
||||
deps = [
|
||||
"//:node_modules/tslib",
|
||||
],
|
||||
)
|
||||
|
||||
rules_js_tsconfig(
|
||||
name = "test-tsconfig",
|
||||
src = "tsconfig-test.json",
|
||||
deps = [
|
||||
":build-tsconfig",
|
||||
"//:node_modules/@types/jasmine",
|
||||
],
|
||||
)
|
||||
|
||||
exports_files([
|
||||
|
||||
Reference in New Issue
Block a user