Skip to content

Commit

Permalink
chore: update to rules_ts 1.0.0rc5 in all examples (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Nov 1, 2022
1 parent 7b1374a commit 66df174
Show file tree
Hide file tree
Showing 26 changed files with 40 additions and 52 deletions.
4 changes: 1 addition & 3 deletions angular-ngc/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO: npm deps don't resolve with ts_project workers with Bazel 6.0.0 with --experimental_allow_unresolved_symlinks
# which is no the default as of 6.0.0-pre.20221020.1
build --noexperimental_allow_unresolved_symlinks
test --test_output=errors
6 changes: 3 additions & 3 deletions angular-ngc/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ esbuild_register_toolchains(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies", LATEST_TS_VERSION = "LATEST_VERSION")
Expand Down
2 changes: 1 addition & 1 deletion angular/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build --experimental_allow_unresolved_symlinks
test --test_output=errors
2 changes: 0 additions & 2 deletions bzlmod/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
build --enable_runfiles
build --symlink_prefix=/
# Turn on the bzlmod feature in Bazel, before 6.0 it's experimental
common --experimental_enable_bzlmod
1 change: 1 addition & 0 deletions check-npm-determinism/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test --test_output=errors
2 changes: 1 addition & 1 deletion directory_path/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build --experimental_allow_unresolved_symlinks
test --test_output=errors
1 change: 1 addition & 0 deletions eager-fetch/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test --test_output=errors
1 change: 1 addition & 0 deletions go_workspaces/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test --test_output=errors
4 changes: 1 addition & 3 deletions jest/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO: npm deps don't resolve with ts_project workers with Bazel 6.0.0 with --experimental_allow_unresolved_symlinks
# which is no the default as of 6.0.0-pre.20221020.1
build --noexperimental_allow_unresolved_symlinks
test --test_output=errors
6 changes: 3 additions & 3 deletions jest/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ http_archive(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

http_archive(
Expand Down
4 changes: 1 addition & 3 deletions nestjs/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO: npm deps don't resolve with ts_project workers with Bazel 6.0.0 with --experimental_allow_unresolved_symlinks
# which is no the default as of 6.0.0-pre.20221020.1
build --noexperimental_allow_unresolved_symlinks
test --test_output=errors
6 changes: 3 additions & 3 deletions nestjs/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ http_archive(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
Expand Down
4 changes: 1 addition & 3 deletions next.js/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO: npm deps don't resolve with ts_project workers with Bazel 6.0.0 with --experimental_allow_unresolved_symlinks
# which is no the default as of 6.0.0-pre.20221020.1
build --noexperimental_allow_unresolved_symlinks
test --test_output=errors
6 changes: 3 additions & 3 deletions next.js/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ http_archive(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
Expand Down
4 changes: 1 addition & 3 deletions pnpm-workspaces/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO: npm deps don't resolve with ts_project workers with Bazel 6.0.0 with --experimental_allow_unresolved_symlinks
# which is no the default as of 6.0.0-pre.20221020.1
build --noexperimental_allow_unresolved_symlinks
test --test_output=errors
6 changes: 3 additions & 3 deletions pnpm-workspaces/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ http_archive(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
Expand Down
4 changes: 1 addition & 3 deletions protobufjs/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO: npm deps don't resolve with ts_project workers with Bazel 6.0.0 with --experimental_allow_unresolved_symlinks
# which is no the default as of 6.0.0-pre.20221020.1
build --noexperimental_allow_unresolved_symlinks
test --test_output=errors
6 changes: 3 additions & 3 deletions protobufjs/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ rules_proto_toolchains()
##
http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

load("@aspect_rules_ts//ts:repositories.bzl", "LATEST_VERSION", "rules_ts_dependencies")
Expand Down
1 change: 0 additions & 1 deletion react-cra/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
build --experimental_allow_unresolved_symlinks
test --test_output=errors
1 change: 1 addition & 0 deletions rules_nodejs_to_rules_js_migration/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test --test_output=errors
2 changes: 1 addition & 1 deletion rules_nodejs_to_rules_js_migration/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.2
6.0.0rc1
6 changes: 3 additions & 3 deletions rules_nodejs_to_rules_js_migration/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ http_archive(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
Expand Down
4 changes: 1 addition & 3 deletions ts_project_transpiler/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
build --experimental_allow_unresolved_symlinks
build --enable_runfiles
build --symlink_prefix=/
test --test_output=errors
6 changes: 3 additions & 3 deletions ts_project_transpiler/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ http_archive(

http_archive(
name = "aspect_rules_ts",
sha256 = "743f0e988e4e3f1e25e52c79f9dc3da1ddd77507ae88787ae95b4e70c537872b",
strip_prefix = "rules_ts-1.0.0-rc4",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc4.tar.gz",
sha256 = "1149d4cf7f210de67e0fc5cd3e8f624de3ee976ac05af4f1484e57a74c12f2dc",
strip_prefix = "rules_ts-1.0.0-rc5",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.0.0-rc5.tar.gz",
)

##################
Expand Down
2 changes: 1 addition & 1 deletion vue/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build --experimental_allow_unresolved_symlinks
test --test_output=errors
1 change: 1 addition & 0 deletions write_source_files/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test --test_output=errors

0 comments on commit 66df174

Please sign in to comment.