File tree Expand file tree Collapse file tree 4 files changed +11
-17
lines changed Expand file tree Collapse file tree 4 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 1
1
load ("@aspect_rules_ts//ts:defs.bzl" , rules_js_tsconfig = "ts_config" )
2
-
3
- # Copyright Google Inc. All Rights Reserved.
4
- #
5
- # Use of this source code is governed by an MIT-style license that can be
6
- # found in the LICENSE file at https://angular.dev/license
7
2
load ("@bazel_skylib//rules:common_settings.bzl" , "bool_flag" )
8
- load ("@build_bazel_rules_nodejs//:index.bzl" , "copy_to_bin" )
9
- load ("@npm//@bazel/concatjs:index.bzl" , "ts_config" )
10
3
load ("@npm2//:defs.bzl" , "npm_link_all_packages" )
4
+ load ("//tools:defaults2.bzl" , "copy_to_bin" )
11
5
12
6
package (default_visibility = ["//visibility:public" ])
13
7
@@ -100,11 +94,3 @@ config_setting(
100
94
":enable_snapshot_repo_deps" : "true" ,
101
95
},
102
96
)
103
-
104
- ts_config (
105
- name = "tsconfig-build-esm" ,
106
- src = "tsconfig-build-esm.json" ,
107
- deps = [
108
- ":tsconfig.json" ,
109
- ],
110
- )
Original file line number Diff line number Diff line change 1
- load ("@build_bazel_rules_nodejs//:index .bzl" , "copy_to_bin" )
1
+ load ("//tools:defaults2 .bzl" , "copy_to_bin" )
2
2
3
3
copy_to_bin (
4
4
name = "assets" ,
Original file line number Diff line number Diff line change 1
- load ("@build_bazel_rules_nodejs//:index .bzl" , "copy_to_bin" )
1
+ load ("//tools:defaults2 .bzl" , "copy_to_bin" )
2
2
3
3
copy_to_bin (
4
4
name = "ng-snapshot" ,
Original file line number Diff line number Diff line change
1
+ load ("@aspect_bazel_lib//lib:copy_to_bin.bzl" , _copy_to_bin = "copy_to_bin" )
1
2
load ("@aspect_rules_jasmine//jasmine:defs.bzl" , _jasmine_test = "jasmine_test" )
3
+ load ("@aspect_rules_js//js:defs.bzl" , _js_binary = "js_binary" )
2
4
load ("//tools:interop.bzl" , _ts_project = "ts_project" )
3
5
load ("//tools/bazel:npm_package.bzl" , _npm_package = "npm_package" )
4
6
@@ -8,6 +10,12 @@ def ts_project(**kwargs):
8
10
def npm_package (** kwargs ):
9
11
_npm_package (** kwargs )
10
12
13
+ def copy_to_bin (** kwargs ):
14
+ _copy_to_bin (** kwargs )
15
+
16
+ def js_binary (** kwargs ):
17
+ _js_binary (** kwargs )
18
+
11
19
def jasmine_test (data = [], args = [], ** kwargs ):
12
20
# Create relative path to root, from current package dir. Necessary as
13
21
# we change the `chdir` below to the package directory.
You can’t perform that action at this time.
0 commit comments