File tree Expand file tree Collapse file tree 3 files changed +99
-0
lines changed
Expand file tree Collapse file tree 3 files changed +99
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright Google Inc. All Rights Reserved.
2+ #
3+ # Use of this source code is governed by an MIT-style license that can be
4+ # found in the LICENSE file at https://angular.io/license
5+
6+ licenses (["notice" ]) # MIT
7+
8+ load ("//tools:defaults.bzl" , "ts_library" )
9+
10+ package (default_visibility = ["//visibility:public" ])
11+
12+ ts_library (
13+ name = "pwa" ,
14+ srcs = glob (
15+ ["**/*.ts" ],
16+ # Currently, this library is used only with the rollup plugin.
17+ # To make it simpler for downstream repositories to compile this, we
18+ # neither provide compile-time deps as an `npm_install` rule, nor do we
19+ # expect the downstream repository to install @types/webpack[-*]
20+ # So we exclude files that depend on webpack typings.
21+ exclude = [
22+ "pwa/files/**/*" ,
23+ "**/*_spec.ts" ,
24+ "**/*_spec_large.ts" ,
25+ ],
26+ ),
27+ deps = [
28+ "//packages/angular_devkit/core" ,
29+ "//packages/angular_devkit/schematics" ,
30+ ],
31+ tsconfig = "//:tsconfig.json" ,
32+ # Borrow the compile-time deps of the typescript compiler
33+ # Just to avoid an extra npm install action.
34+ node_modules = "@build_bazel_rules_typescript_tsc_wrapped_deps//:node_modules" ,
35+ )
Original file line number Diff line number Diff line change 1+ # Copyright Google Inc. All Rights Reserved.
2+ #
3+ # Use of this source code is governed by an MIT-style license that can be
4+ # found in the LICENSE file at https://angular.io/license
5+
6+ licenses (["notice" ]) # MIT
7+
8+ load ("//tools:defaults.bzl" , "ts_library" )
9+
10+ package (default_visibility = ["//visibility:public" ])
11+
12+ ts_library (
13+ name = "architect" ,
14+ srcs = glob (
15+ ["src/**/*.ts" ],
16+ # Currently, this library is used only with the rollup plugin.
17+ # To make it simpler for downstream repositories to compile this, we
18+ # neither provide compile-time deps as an `npm_install` rule, nor do we
19+ # expect the downstream repository to install @types/webpack[-*]
20+ # So we exclude files that depend on webpack typings.
21+ exclude = [
22+ "**/*_spec.ts" ,
23+ "**/*_spec_large.ts" ,
24+ ],
25+ ),
26+ deps = [
27+ "//packages/angular_devkit/core" ,
28+ "//packages/angular_devkit/core:node" ,
29+ "@rxjs" ,
30+ "@rxjs//operators" ,
31+ ],
32+ tsconfig = "//:tsconfig.json" ,
33+ module_name = "@angular-devkit/architect" ,
34+ module_root = "src" ,
35+ # Borrow the compile-time deps of the typescript compiler
36+ # Just to avoid an extra npm install action.
37+ node_modules = "@build_bazel_rules_typescript_tsc_wrapped_deps//:node_modules" ,
38+ )
Original file line number Diff line number Diff line change 1+ # Copyright Google Inc. All Rights Reserved.
2+ #
3+ # Use of this source code is governed by an MIT-style license that can be
4+ # found in the LICENSE file at https://angular.io/license
5+ package (default_visibility = ["//visibility:public" ])
6+
7+ load ("//tools:defaults.bzl" , "ts_library" )
8+
9+ licenses (["notice" ]) # MIT
10+
11+ ts_library (
12+ name = "architect-cli" ,
13+ srcs = [
14+ "bin/architect.ts" ,
15+ ],
16+ deps = [
17+ "//packages/angular_devkit/architect" ,
18+ "//packages/angular_devkit/core" ,
19+ "//packages/angular_devkit/core:node" ,
20+ "@rxjs" ,
21+ "@rxjs//operators" ,
22+ ],
23+ tsconfig = "//:tsconfig.json" ,
24+ module_name = "@angular-devkit/architect-cli" ,
25+ module_root = "bin" ,
26+ )
You can’t perform that action at this time.
0 commit comments