1- load ("//tools:defaults.bzl" , "pkg_npm" , "ts_library" )
1+ load ("//tools:defaults.bzl" , "pkg_npm" )
2+ load ("//tools:interop.bzl" , "ts_project" )
23
34# Copyright Google Inc. All Rights Reserved.
45#
@@ -8,22 +9,23 @@ licenses(["notice"])
89
910package (default_visibility = ["//visibility:public" ])
1011
11- ts_library (
12+ ts_project (
1213 name = "architect_cli" ,
13- package_name = "@angular-devkit/architect-cli" ,
1414 srcs = [
1515 "bin/architect.ts" ,
1616 ] + glob (["src/**/*.ts" ]),
17- module_name = "@angular-devkit/architect-cli" ,
18- deps = [
19- "//packages/angular_devkit/architect" ,
20- "//packages/angular_devkit/architect/node" ,
17+ interop_deps = [
2118 "//packages/angular_devkit/core" ,
2219 "//packages/angular_devkit/core/node" ,
23- "@npm//@types/node" ,
24- "@npm//@types/progress" ,
25- "@npm//@types/yargs-parser" ,
26- "@npm//ansi-colors" ,
20+ ],
21+ module_name = "@angular-devkit/architect-cli" ,
22+ deps = [
23+ "//:root_modules/@types/node" ,
24+ "//:root_modules/@types/progress" ,
25+ "//:root_modules/@types/yargs-parser" ,
26+ "//:root_modules/ansi-colors" ,
27+ "//packages/angular_devkit/architect:architect_rjs" ,
28+ "//packages/angular_devkit/architect/node:node_rjs" ,
2729 ],
2830)
2931
0 commit comments