source: trip-planner-front/node_modules/@angular-devkit/schematics/tools/BUILD.bazel@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.8 KB
Line 
1load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test")
2load("//tools:defaults.bzl", "ts_library")
3
4# Copyright Google Inc. All Rights Reserved.
5#
6# Use of this source code is governed by an MIT-style license that can be
7# found in the LICENSE file at https://angular.io/license
8licenses(["notice"])
9
10package(default_visibility = ["//visibility:public"])
11
12ts_library(
13 name = "tools",
14 srcs = glob(
15 include = ["**/*.ts"],
16 exclude = [
17 "**/*_spec.ts",
18 "**/*_benchmark.ts",
19 "test/**/*.ts",
20 ],
21 ),
22 data = ["package.json"],
23 module_name = "@angular-devkit/schematics/tools",
24 module_root = "index.d.ts",
25 # The attribute below is needed in g3 to turn off strict typechecking
26 # strict_checks = False,
27 deps = [
28 "//packages/angular_devkit/core",
29 "//packages/angular_devkit/core/node",
30 "//packages/angular_devkit/schematics",
31 "//packages/angular_devkit/schematics/tasks",
32 "//packages/angular_devkit/schematics/tasks/node",
33 "@npm//@types/node",
34 "@npm//rxjs",
35 ],
36)
37
38ts_library(
39 name = "tools_test_lib",
40 testonly = True,
41 srcs = glob(
42 include = [
43 "**/*_spec.ts",
44 "test/**/*.ts",
45 ],
46 ),
47 deps = [
48 ":tools",
49 "//packages/angular_devkit/core",
50 "//packages/angular_devkit/core/node",
51 "//packages/angular_devkit/schematics",
52 "//packages/angular_devkit/schematics/tasks",
53 "//packages/angular_devkit/schematics/testing",
54 "//tests/angular_devkit/schematics/tools/file-system-engine-host:file_system_engine_host_test_lib",
55 "@npm//rxjs",
56 ],
57)
58
59jasmine_node_test(
60 name = "tools_test",
61 srcs = [":tools_test_lib"],
62 deps = [
63 "@npm//jasmine",
64 "@npm//source-map",
65 ],
66)
Note: See TracBrowser for help on using the repository browser.