Skip to content

Commit 32360b7

Browse files
committed
refactor(@schematics/angular): migrate typescript third-party dependency to node_modules
Relocates the typescript third-party dependency from `third_party/github.com/Microsoft/TypeScript` to `third_party/typescript`. This update changes the implementation to source the required TypeScript files directly from `node_modules` via a Bazel `genrule` instead of keeping them checked into the repository.
1 parent 6904329 commit 32360b7

7 files changed

Lines changed: 40 additions & 212551 deletions

File tree

packages/schematics/angular/BUILD.bazel

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ ts_project(
108108
":node_modules/@angular-devkit/schematics",
109109
":node_modules/jsonc-parser",
110110
"//:node_modules/@types/node",
111-
"//packages/schematics/angular/third_party/github.com/Microsoft/TypeScript",
111+
"//packages/schematics/angular/third_party/typescript",
112112
],
113113
)
114114

@@ -142,7 +142,7 @@ ts_project(
142142
"//:node_modules/@types/jasmine",
143143
"//:node_modules/@types/node",
144144
"//:node_modules/prettier",
145-
"//packages/schematics/angular/third_party/github.com/Microsoft/TypeScript",
145+
"//packages/schematics/angular/third_party/typescript",
146146
],
147147
)
148148

@@ -173,8 +173,6 @@ npm_package(
173173
":README.md",
174174
":angular",
175175
":license",
176-
"//packages/schematics/angular/third_party/github.com/Microsoft/TypeScript:LICENSE",
177-
# Force typescript library to be included.
178-
"//packages/schematics/angular/third_party/github.com/Microsoft/TypeScript:lib/typescript.js",
176+
"//packages/schematics/angular/third_party/typescript",
179177
],
180178
)

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/LICENSE

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)