Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ test --incompatible_strict_action_env
build --experimental_remote_merkle_tree_cache

# Ensure that tags applied in BUILDs propagate to actions
common --experimental_allow_tags_propagation
common --incompatible_allow_tags_propagation

# Ensure sandboxing is enabled even for exclusive tests
test --incompatible_exclusive_test_sandboxed
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.6.1
8.4.2
21 changes: 3 additions & 18 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,12 @@ module(
name = "angular_cli",
)

bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "yq.bzl", version = "0.3.1")
bazel_dep(name = "rules_nodejs", version = "6.5.2")
bazel_dep(name = "aspect_rules_js", version = "2.6.0")
bazel_dep(name = "aspect_rules_ts", version = "3.7.0")
bazel_dep(name = "rules_pkg", version = "0.8.1")

# Alow for usage of [email protected] even though other deps want a later verison.
multiple_version_override(
module_name = "rules_pkg",
versions = [
"0.8.1",
"1.1.0",
],
)

bazel_dep(name = "rules_python", version = "1.5.3")
single_version_override(
module_name = "rules_python",
version = "1.5.3",
)

bazel_dep(name = "rules_pkg", version = "1.1.0")
bazel_dep(name = "aspect_bazel_lib", version = "2.21.2")
bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "aspect_rules_esbuild", version = "0.22.1")
Expand Down Expand Up @@ -53,7 +38,7 @@ git_override(
bazel_dep(name = "rules_browsers")
git_override(
module_name = "rules_browsers",
commit = "6749ba4c0dc5e04536369fa91fdb2d827b6705ff",
commit = "21c730ba697727bfa361e88f2e51de4a3f6e6189",
remote = "https://github.com/devversion/rules_browsers.git",
)

Expand Down
3,412 changes: 2,983 additions & 429 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions packages/angular/build/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ RUNTIME_ASSETS = glob(
include = [
"src/**/schema.json",
"src/**/*.js",
"src/**/*.mjs",
"src/**/*.html",
],
) + [
"builders.json",
Expand Down
7 changes: 1 addition & 6 deletions packages/angular/create/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ load("//tools:defaults.bzl", "npm_package", "ts_project")

licenses(["notice"])

RUNTIME_ASSETS = glob(
include = [
"src/*.js",
"src/*.mjs",
],
) + [
RUNTIME_ASSETS = [
"package.json",
]

Expand Down
2 changes: 0 additions & 2 deletions packages/angular/pwa/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ npm_link_all_packages()

RUNTIME_ASSETS = glob(
include = [
"pwa/*.js",
"pwa/*.mjs",
"pwa/files/**/*",
],
) + [
Expand Down
2 changes: 0 additions & 2 deletions packages/angular_devkit/schematics/tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ts_project(
include = ["**/*.ts"],
exclude = [
"**/*_spec.ts",
"test/**/*.ts",
],
),
data = ["package.json"],
Expand All @@ -35,7 +34,6 @@ ts_project(
srcs = glob(
include = [
"**/*_spec.ts",
"test/**/*.ts",
],
),
deps = [
Expand Down
2 changes: 0 additions & 2 deletions packages/ngtools/webpack/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ts_project(
],
exclude = [
"src/**/*_spec.ts",
"src/**/*_spec_helpers.ts",
],
) + [
"index.ts",
Expand All @@ -43,7 +42,6 @@ ts_project(
srcs = glob(
include = [
"src/**/*_spec.ts",
"src/**/*_spec_helpers.ts",
],
),
deps = [
Expand Down
1 change: 0 additions & 1 deletion packages/schematics/angular/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ RUNTIME_ASSETS = [
include = [
"*/schema.json",
"*/files/**/*",
"*/other-files/**/*",
"*/implements-files/**/*",
"*/type-files/**/*",
"*/functional-files/**/*",
Expand Down
7 changes: 1 addition & 6 deletions tests/legacy-cli/e2e.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,7 @@ def _e2e_tests(name, runner, toolchain, **kwargs):
tags = tags,
toolchains = toolchains,
node_toolchain = toolchain,
include_npm = select({
# For Windows testing mode, we use the real global NPM as otherwise this
# will be a lot of files that need to be brought from WSL to the host FS.
"@platforms//os:windows": False,
"//conditions:default": True,
}),
include_npm = True,
**kwargs
)

Expand Down
Loading