Skip to content

Commit 99f2d71

Browse files
committed
build: migrate @angular/create to ts_project
The `@angular/create` package has been migrated to the `rules_js` ts_project rule. (cherry picked from commit 5f04d68)
1 parent dc83b88 commit 99f2d71

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/angular/create/BUILD.bazel

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
# Use of this source code is governed by an MIT-style license that can be
44
# found in the LICENSE file at https://angular.dev/license
55

6-
load("//tools:defaults.bzl", "pkg_npm", "ts_library")
6+
load("//tools:defaults.bzl", "pkg_npm")
7+
load("//tools:interop.bzl", "ts_project")
78

89
licenses(["notice"])
910

10-
ts_library(
11+
ts_project(
1112
name = "create",
12-
package_name = "@angular/create",
1313
srcs = ["src/index.ts"],
14+
module_name = "@angular/create",
1415
deps = [
16+
"//:root_modules/@types/node",
1517
"//packages/angular/cli:angular-cli",
16-
"@npm//@types/node",
1718
],
1819
)
1920

0 commit comments

Comments
 (0)