Skip to content

Commit a31817b

Browse files
committed
build: use npm_package instead of js_library for the scheamtics npm package
1 parent 672ae14 commit a31817b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ esbuild_register_toolchains(
277277

278278
git_repository(
279279
name = "rules_angular",
280-
commit = "bc8e690770319b8780761f797773bfd47f47dfdc",
280+
commit = "be32410fcf198d500ace78469de12d5f4db458fd",
281281
remote = "https://github.com/devversion/rules_angular.git",
282282
)
283283

packages/angular/ssr/schematics/BUILD.bazel

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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("@aspect_rules_js//js:defs.bzl", "js_library")
6+
load("@aspect_rules_js//npm:defs.bzl", "npm_package")
77
load("//tools:defaults.bzl", "jasmine_test", "ts_project")
88
load("//tools:ts_json_schema.bzl", "ts_json_schema")
99

@@ -91,9 +91,9 @@ jasmine_test(
9191
],
9292
)
9393

94-
# This target is used as nested_package in the main @angular/ssr package as a dep.
95-
js_library(
96-
name = "pkg",
94+
# This package is intended to be combined into the main @angular/ssr package as a dep.
95+
npm_package(
96+
name = "npm_package",
9797
srcs = [
9898
"package.json",
9999
":schematics",

0 commit comments

Comments
 (0)