source: trip-planner-front/node_modules/@angular-devkit/schematics/tasks/BUILD.bazel@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[6a3a178]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 = "tasks",
14 srcs = glob(
15 include = ["**/*.ts"],
16 exclude = [
17 "node/**/*.ts",
18 "**/*_spec.ts",
19 "**/*_benchmark.ts",
20 "tslint-fix/test/**/*",
21 ],
22 ),
23 data = ["package.json"],
24 module_name = "@angular-devkit/schematics/tasks",
25 module_root = "index.d.ts",
26 # The attribute below is needed in g3 to turn off strict typechecking
27 # strict_checks = False,
28 deps = [
29 "//packages/angular_devkit/core",
30 "//packages/angular_devkit/core/node",
31 "//packages/angular_devkit/schematics",
32 "@npm//@types/node",
33 "@npm//ora",
34 "@npm//rxjs",
35 "@npm//tslint",
36 "@npm//typescript",
37 ],
38)
39
40ts_library(
41 name = "tasks_test_lib",
42 testonly = True,
43 srcs = glob(
44 include = [
45 "**/*_spec.ts",
46 "tslint-fix/test/**/*.ts",
47 ],
48 exclude = [
49 "node/**/*.ts",
50 ],
51 ),
52 data = [
53 "tslint-fix/test/collection.json",
54 "tslint-fix/test/rules/customRuleRule.js",
55 ],
56 # The attribute below is needed in g3 to turn off strict typechecking
57 # strict_checks = False,
58 deps = [
59 ":tasks",
60 "//packages/angular_devkit/core",
61 "//packages/angular_devkit/core/node",
62 "//packages/angular_devkit/core/node/testing",
63 "//packages/angular_devkit/schematics",
64 "//packages/angular_devkit/schematics/testing",
65 "@npm//rxjs",
66 ],
67)
68
69jasmine_node_test(
70 name = "tasks_test",
71 srcs = [":tasks_test_lib"],
72 deps = [
73 "@npm//jasmine",
74 "@npm//source-map",
75 ],
76)
Note: See TracBrowser for help on using the repository browser.