source: trip-planner-front/node_modules/@angular-devkit/core/node/BUILD.bazel

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

initial commit

  • Property mode set to 100644
File size: 1.5 KB
Line 
1# Copyright Google Inc. All Rights Reserved.
2#
3# Use of this source code is governed by an MIT-style license that can be
4# found in the LICENSE file at https://angular.io/license
5
6load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test")
7load("//tools:defaults.bzl", "ts_library")
8
9licenses(["notice"]) # MIT License
10
11package(default_visibility = ["//visibility:public"])
12
13ts_library(
14 name = "node",
15 srcs = glob(
16 include = ["**/*.ts"],
17 exclude = [
18 "testing/**/*.ts",
19 "**/*_spec.ts",
20 "**/*_benchmark.ts",
21 ],
22 ),
23 data = ["package.json"],
24 module_name = "@angular-devkit/core/node",
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 "@npm//@types/node",
31 "@npm//rxjs",
32 ],
33)
34
35ts_library(
36 name = "node_test_lib",
37 testonly = True,
38 srcs = glob(
39 include = [
40 "**/*_spec.ts",
41 ],
42 exclude = [
43 "testing/**/*.ts",
44 ],
45 ),
46 deps = [
47 ":node",
48 "//packages/angular_devkit/core",
49 "//tests/angular_devkit/core/node/jobs:jobs_test_lib",
50 "@npm//rxjs",
51 ],
52)
53
54jasmine_node_test(
55 name = "node_test",
56 srcs = [":node_test_lib"],
57 deps = [
58 "@npm//chokidar",
59 "@npm//temp",
60 # @node_module: ajv
61 # @node_module: fast_json_stable_stringify
62 # @node_module: magic_string
63 ],
64)
Note: See TracBrowser for help on using the repository browser.