File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
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.io/license
55
6+ licenses (["notice" ]) # MIT
7+
8+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
69load ("@npm_bazel_typescript//:index.bzl" , "ts_library" )
710load ("@npm_bazel_jasmine//:index.bzl" , "jasmine_node_test" )
11+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
812load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
913
1014licenses (["notice" ]) # MIT
@@ -250,3 +254,18 @@ jasmine_node_test(
250254 name = "angular-cli_test" ,
251255 srcs = [":angular-cli_test_lib" ],
252256)
257+
258+ pkg_npm (
259+ name = "npm_package" ,
260+ deps = [
261+ ":angular-cli" ,
262+ ],
263+ )
264+
265+ pkg_tar (
266+ name = "npm_package_archive" ,
267+ srcs = [":npm_package" ],
268+ extension = "tar.gz" ,
269+ strip_prefix = "./npm_package" ,
270+ tags = ["manual" ],
271+ )
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.io/license
55
6+ licenses (["notice" ]) # MIT
7+
8+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
69load ("@npm_bazel_jasmine//:index.bzl" , "jasmine_node_test" )
710load ("@npm_bazel_typescript//:index.bzl" , "ts_library" )
11+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
812load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
913
1014licenses (["notice" ]) # MIT
@@ -122,3 +126,18 @@ jasmine_node_test(
122126 "@npm//source-map" ,
123127 ],
124128)
129+
130+ pkg_npm (
131+ name = "npm_package" ,
132+ deps = [
133+ ":angular" ,
134+ ],
135+ )
136+
137+ pkg_tar (
138+ name = "npm_package_archive" ,
139+ srcs = [":npm_package" ],
140+ extension = "tar.gz" ,
141+ strip_prefix = "./npm_package" ,
142+ tags = ["manual" ],
143+ )
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.io/license
55
6+ licenses (["notice" ]) # MIT
7+
8+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
69load ("@npm_bazel_jasmine//:index.bzl" , "jasmine_node_test" )
710load ("@npm_bazel_typescript//:index.bzl" , "ts_library" )
11+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
812load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
913
1014licenses (["notice" ]) # MIT
@@ -92,3 +96,18 @@ jasmine_node_test(
9296 "@npm//source-map" ,
9397 ],
9498)
99+
100+ pkg_npm (
101+ name = "npm_package" ,
102+ deps = [
103+ ":update" ,
104+ ],
105+ )
106+
107+ pkg_tar (
108+ name = "npm_package_archive" ,
109+ srcs = [":npm_package" ],
110+ extension = "tar.gz" ,
111+ strip_prefix = "./npm_package" ,
112+ tags = ["manual" ],
113+ )
You can’t perform that action at this time.
0 commit comments