File tree Expand file tree Collapse file tree 9 files changed +27
-12
lines changed
Expand file tree Collapse file tree 9 files changed +27
-12
lines changed Original file line number Diff line number Diff line change 11workspace (name = "angular_devkit" )
22
3- git_repository (
3+ http_archive (
44 name = "build_bazel_rules_nodejs" ,
5- remote = "https://github.com/bazelbuild/rules_nodejs.git" ,
6- tag = "0.3.1" ,
5+ url = "https://github.com/bazelbuild/rules_nodejs/archive/0.4.1.zip" ,
6+ strip_prefix = "rules_nodejs-0.4.1" ,
7+ sha256 = "e9bc013417272b17f302dc169ad597f05561bb277451f010043f4da493417607" ,
78)
89
910load ("@build_bazel_rules_nodejs//:defs.bzl" , "check_bazel_version" , "node_repositories" )
1011
1112check_bazel_version ("0.9.0" )
1213node_repositories (package_json = ["//:package.json" ])
1314
14- git_repository (
15+ http_archive (
1516 name = "build_bazel_rules_typescript" ,
16- remote = "https://github.com/bazelbuild/rules_typescript.git" ,
17- tag = "0.7.1" ,
17+ url = "https://github.com/bazelbuild/rules_typescript/archive/0.10.1.zip" ,
18+ strip_prefix = "rules_typescript-0.10.1" ,
19+ sha256 = "a2c81776a4a492ff9f878f9705639f5647bef345f7f3e1da09c9eeb8dec80485" ,
1820)
1921
20- load ("@build_bazel_rules_typescript//:setup .bzl" , "ts_setup_workspace" )
22+ load ("@build_bazel_rules_typescript//:defs .bzl" , "ts_setup_workspace" )
2123
22- ts_setup_workspace (default_tsconfig = "@angular_devkit//:tsconfig.json" )
24+ ts_setup_workspace ()
2325
2426# We get tools like Buildifier from here
2527git_repository (
Original file line number Diff line number Diff line change 55
66licenses (["notice" ]) # MIT
77
8- load ("@build_bazel_rules_typescript//:defs .bzl" , "ts_library" )
8+ load ("//tools:defaults .bzl" , "ts_library" )
99
1010package (default_visibility = ["//visibility:public" ])
1111
Original file line number Diff line number Diff line change 44# found in the LICENSE file at https://angular.io/license
55package (default_visibility = ["//visibility:public" ])
66
7- load ("@build_bazel_rules_typescript//:defs .bzl" , "ts_library" )
7+ load ("//tools:defaults .bzl" , "ts_library" )
88
99licenses (["notice" ]) # MIT License
1010
Original file line number Diff line number Diff line change 44# found in the LICENSE file at https://angular.io/license
55package (default_visibility = ["//visibility:public" ])
66
7- load ("@build_bazel_rules_typescript//:defs .bzl" , "ts_library" )
7+ load ("//tools:defaults .bzl" , "ts_library" )
88
99licenses (["notice" ]) # MIT License
1010
Original file line number Diff line number Diff line change 44# found in the LICENSE file at https://angular.io/license
55package (default_visibility = ["//visibility:public" ])
66
7- load ("@build_bazel_rules_typescript//:defs .bzl" , "ts_library" )
7+ load ("//tools:defaults .bzl" , "ts_library" )
88
99licenses (["notice" ]) # MIT License
1010
Original file line number Diff line number Diff line change 1+ # Marker file indicating this directory is a Bazel package
File renamed without changes.
Original file line number Diff line number Diff line change 1+ """Re-export of some bazel rules with repository-wide defaults."""
2+ load ("@build_bazel_rules_typescript//:defs.bzl" , _ts_library = "ts_library" )
3+
4+ DEFAULT_TSCONFIG = "//:tsconfig.json"
5+
6+ def ts_library (tsconfig = None , ** kwargs ):
7+ if not tsconfig :
8+ tsconfig = DEFAULT_TSCONFIG
9+ _ts_library (tsconfig = tsconfig , ** kwargs )
Original file line number Diff line number Diff line change 4646 "@angular-devkit/build_optimizer" : [ " ./packages/angular_devkit/build_optimizer/src/index" ]
4747 }
4848 },
49+ "bazelOptions" : {
50+ "suppressTsconfigOverrideWarnings" : true
51+ },
4952 "exclude" : [
5053 " bazel-*/**/*" ,
5154 " dist/**/*" ,
You can’t perform that action at this time.
0 commit comments