File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66load ("@npm//@bazel/jasmine:index.bzl" , "jasmine_node_test" )
77load ("//tools:defaults.bzl" , "ts_library" )
88load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
9+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
10+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
911
1012licenses (["notice" ]) # MIT
1113
@@ -67,3 +69,18 @@ jasmine_node_test(
6769 name = "pwa_test" ,
6870 srcs = [":pwa_test_lib" ],
6971)
72+
73+ pkg_npm (
74+ name = "npm_package" ,
75+ deps = [
76+ ":pwa" ,
77+ ],
78+ )
79+
80+ pkg_tar (
81+ name = "npm_package_archive" ,
82+ srcs = [":npm_package" ],
83+ extension = "tar.gz" ,
84+ strip_prefix = "./npm_package" ,
85+ tags = ["manual" ],
86+ )
Original file line number Diff line number Diff line change 11load ("//tools:defaults.bzl" , "ts_library" )
2+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
3+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
24
35# Copyright Google Inc. All Rights Reserved.
46#
@@ -27,3 +29,18 @@ ts_library(
2729 "@npm//rxjs" ,
2830 ],
2931)
32+
33+ pkg_npm (
34+ name = "npm_package" ,
35+ deps = [
36+ ":architect_cli" ,
37+ ],
38+ )
39+
40+ pkg_tar (
41+ name = "npm_package_archive" ,
42+ srcs = [":npm_package" ],
43+ extension = "tar.gz" ,
44+ strip_prefix = "./npm_package" ,
45+ tags = ["manual" ],
46+ )
Original file line number Diff line number Diff line change 11load ("@npm//@bazel/jasmine:index.bzl" , "jasmine_node_test" )
22load ("//tools:defaults.bzl" , "ts_library" )
33load ("//tools:ts_json_schema.bzl" , "ts_json_schema" )
4+ load ("@bazel_tools//tools/build_defs/pkg:pkg.bzl" , "pkg_tar" )
5+ load ("@build_bazel_rules_nodejs//:index.bzl" , "pkg_npm" )
46
57# Copyright Google Inc. All Rights Reserved.
68#
@@ -88,3 +90,18 @@ ts_json_schema(
8890 name = "schematic_schema" ,
8991 src = "schematic/schema.json" ,
9092)
93+
94+ pkg_npm (
95+ name = "npm_package" ,
96+ deps = [
97+ ":schematics_cli" ,
98+ ],
99+ )
100+
101+ pkg_tar (
102+ name = "npm_package_archive" ,
103+ srcs = [":npm_package" ],
104+ extension = "tar.gz" ,
105+ strip_prefix = "./npm_package" ,
106+ tags = ["manual" ],
107+ )
You can’t perform that action at this time.
0 commit comments