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 3
3
# Use of this source code is governed by an MIT-style license that can be
4
4
# found in the LICENSE file at https://angular.io/license
5
5
6
+ licenses (["notice" ]) # MIT
7
+
8
+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
6
9
load ("@npm_bazel_typescript//:index.bzl" , "ts_library" )
7
10
load ("@npm_bazel_jasmine//:index.bzl" , "jasmine_node_test" )
11
+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
8
12
load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
9
13
10
14
licenses (["notice" ]) # MIT
@@ -250,3 +254,18 @@ jasmine_node_test(
250
254
name = "angular-cli_test" ,
251
255
srcs = [":angular-cli_test_lib" ],
252
256
)
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 3
3
# Use of this source code is governed by an MIT-style license that can be
4
4
# found in the LICENSE file at https://angular.io/license
5
5
6
+ licenses (["notice" ]) # MIT
7
+
8
+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
6
9
load ("@npm_bazel_jasmine//:index.bzl" , "jasmine_node_test" )
7
10
load ("@npm_bazel_typescript//:index.bzl" , "ts_library" )
11
+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
8
12
load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
9
13
10
14
licenses (["notice" ]) # MIT
@@ -122,3 +126,18 @@ jasmine_node_test(
122
126
"@npm//source-map" ,
123
127
],
124
128
)
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 3
3
# Use of this source code is governed by an MIT-style license that can be
4
4
# found in the LICENSE file at https://angular.io/license
5
5
6
+ licenses (["notice" ]) # MIT
7
+
8
+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
6
9
load ("@npm_bazel_jasmine//:index.bzl" , "jasmine_node_test" )
7
10
load ("@npm_bazel_typescript//:index.bzl" , "ts_library" )
11
+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
8
12
load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
9
13
10
14
licenses (["notice" ]) # MIT
@@ -92,3 +96,18 @@ jasmine_node_test(
92
96
"@npm//source-map" ,
93
97
],
94
98
)
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