forked from angular/vscode-ng-language-service
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
170 lines (134 loc) · 5.89 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "5af82fe13fecb467e9c2c19765a593de2e1976afd0a1e18a80d930a2465508fc",
strip_prefix = "rules_js-1.33.2",
url = "https://github.com/aspect-build/rules_js/releases/download/v1.33.2/rules_js-v1.33.2.tar.gz",
)
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
http_archive(
name = "aspect_rules_ts",
sha256 = "4c3f34fff9f96ffc9c26635d8235a32a23a6797324486c7d23c1dfa477e8b451",
strip_prefix = "rules_ts-1.4.5",
url = "https://github.com/aspect-build/rules_ts/releases/download/v1.4.5/rules_ts-v1.4.5.tar.gz",
)
load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies")
# TODO: should use version from package.json but this version isn't yet supported by aspect/rules_ts
# rules_ts_dependencies(ts_version_from = "//:package.json")
rules_ts_dependencies(
ts_version = "5.2.2",
ts_integrity = "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
)
http_archive(
name = "aspect_rules_jasmine",
sha256 = "b3b2ff30ed222db653092d8280e0b62a4d54c5e65c598df09a0a1d7aae78fc8f",
strip_prefix = "rules_jasmine-0.3.1",
url = "https://github.com/aspect-build/rules_jasmine/releases/download/v0.3.1/rules_jasmine-v0.3.1.tar.gz",
)
load("@aspect_rules_jasmine//jasmine:dependencies.bzl", "rules_jasmine_dependencies")
rules_jasmine_dependencies()
http_archive(
name = "aspect_rules_esbuild",
sha256 = "c78d38d6ec2e7497dde4f8d67f49c71614daf11e2bbe276e23f5b09a89801677",
strip_prefix = "rules_esbuild-0.14.1",
url = "https://github.com/aspect-build/rules_esbuild/releases/download/v0.14.1/rules_esbuild-v0.14.1.tar.gz",
)
load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependencies")
rules_esbuild_dependencies()
load("@aspect_rules_jasmine//jasmine:repositories.bzl", "jasmine_repositories")
jasmine_repositories(name = "jasmine")
load("@jasmine//:npm_repositories.bzl", jasmine_npm_repositories = "npm_repositories")
jasmine_npm_repositories()
load("@aspect_rules_esbuild//esbuild:repositories.bzl", "esbuild_register_toolchains", ESBUILD_LATEST_VERSION = "LATEST_VERSION")
esbuild_register_toolchains(
name = "esbuild",
esbuild_version = ESBUILD_LATEST_VERSION,
)
load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = "18.13.0",
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
data = [
"//:package.json",
"//:pnpm-workspace.yaml",
# PLACE_HOLDER_FOR_angular/angular_packages/language-service/build.sh
],
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
public_hoist_packages = {
# Hoist transitive closure of npm deps needed for vsce; this set was determined manually by
# running `bazel build //:vsix` and burning down missing packages. We do this so that we
# don't have to run an additional `npm install` action to create a node_modules within the
# //:npm npm_package where the vsce build takes place.
"balanced-match@1.0.0": [""],
"brace-expansion@1.1.11": [""],
"concat-map@0.0.1": [""],
"lru-cache@6.0.0": [""],
"minimatch@3.1.2": [""],
"semver@7.3.7": [""],
"vscode-languageserver-types@3.16.0": [""],
"vscode-nls@5.2.0": [""],
"yallist@4.0.0": [""],
},
verify_node_modules_ignored = "//:.bazelignore",
yarn_lock = "//:yarn.lock",
# PLACE_HOLDER_FOR_packages/language-service/build.sh_IN_angular_REPO
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
npm_translate_lock(
name = "npm_integration_workspace",
data = [
"//integration/workspace:package.json",
"//integration/workspace:pnpm-workspace.yaml",
],
npmrc = "//:.npmrc",
pnpm_lock = "//integration/workspace:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
yarn_lock = "//integration/workspace:yarn.lock",
)
load("@npm_integration_workspace//:repositories.bzl", npm_integration_workspace_repositories = "npm_repositories")
npm_integration_workspace_repositories()
npm_translate_lock(
name = "npm_integration_pre_apf_project",
data = [
"//integration/pre_apf_project:package.json",
"//integration/pre_apf_project:pnpm-workspace.yaml",
],
npmrc = "//:.npmrc",
pnpm_lock = "//integration/pre_apf_project:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
yarn_lock = "//integration/pre_apf_project:yarn.lock",
)
load("@npm_integration_pre_apf_project//:repositories.bzl", npm_integration_pre_apf_project_repositories = "npm_repositories")
npm_integration_pre_apf_project_repositories()
npm_translate_lock(
name = "npm_integration_project",
data = [
"//integration/project:package.json",
"//integration/project:pnpm-workspace.yaml",
],
npmrc = "//:.npmrc",
pnpm_lock = "//integration/project:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
yarn_lock = "//integration/project:yarn.lock",
)
load("@npm_integration_project//:repositories.bzl", npm_integration_project_repositories = "npm_repositories")
npm_integration_project_repositories()
npm_translate_lock(
name = "npm_integration_pre_standalone_project",
data = [
"//integration/pre_standalone_project:package.json",
"//integration/pre_standalone_project:pnpm-workspace.yaml",
],
npmrc = "//:.npmrc",
pnpm_lock = "//integration/pre_standalone_project:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm_integration_pre_standalone_project//:repositories.bzl", npm_integration_pre_standalone_project_repositories = "npm_repositories")
npm_integration_pre_standalone_project_repositories()