File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 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" )
7- load ("//tools:interop.bzl" , "ts_project" )
6+ load ("//tools:defaults2.bzl" , "npm_package" , "ts_project" )
87
98licenses (["notice" ])
109
10+ RUNTIME_ASSETS = glob (
11+ include = [
12+ "src/*.js" ,
13+ "src/*.mjs" ,
14+ ],
15+ ) + [
16+ "package.json" ,
17+ ]
18+
1119ts_project (
1220 name = "create" ,
1321 srcs = ["src/index.ts" ],
@@ -25,16 +33,16 @@ genrule(
2533 cmd = "cp $(execpath //:LICENSE) $@" ,
2634)
2735
28- pkg_npm (
29- name = "npm_package " ,
36+ npm_package (
37+ name = "pkg " ,
3038 pkg_deps = [
3139 "//packages/angular/cli:package.json" ,
3240 ],
3341 tags = ["release-package" ],
3442 visibility = ["//visibility:public" ],
3543 deps = [
3644 ":README.md" ,
37- ":create " ,
45+ ":create_rjs " ,
3846 ":license" ,
3947 ],
4048)
You can’t perform that action at this time.
0 commit comments