Skip to content

Commit

Permalink
Bumps @aspect_rules_ts to current latest version (1.3.2).
Browse files Browse the repository at this point in the history
Also dropped the explicit dependency in `examples/external/`. There is technically a direct dep on `@aspect_rules_ts`, and in a real project it should probably pin a specific version, but as a test project in `@rules_prerender`, it's too easy to forget to update, so I just dropped it. That example will use the same `@aspect_rules_ts` version from the `dependencies.bzl` file.
  • Loading branch information
dgp1130 committed Mar 18, 2023
1 parent 1ab5c34 commit 281e450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def rules_prerender_dependencies():
maybe(
http_archive,
name = "aspect_rules_ts",
sha256 = "db77d904284d21121ae63dbaaadfd8c75ff6d21ad229f92038b415c1ad5019cc",
strip_prefix = "rules_ts-1.3.0",
url = "https://github.com/aspect-build/rules_ts/releases/download/v1.3.0/rules_ts-v1.3.0.tar.gz",
sha256 = "58b6c0ad158fc42883dafa157f1a25cddd65bcd788a772620192ac9ceefa0d78",
strip_prefix = "rules_ts-1.3.2",
url = "https://github.com/aspect-build/rules_ts/releases/download/v1.3.2/rules_ts-v1.3.2.tar.gz",
)

maybe(
Expand Down
10 changes: 0 additions & 10 deletions examples/external/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@ npm_translate_lock(
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()

# Load `@aspect_rules_ts` dependency.
http_archive(
name = "aspect_rules_ts",
sha256 = "db77d904284d21121ae63dbaaadfd8c75ff6d21ad229f92038b415c1ad5019cc",
strip_prefix = "rules_ts-1.3.0",
url = "https://github.com/aspect-build/rules_ts/releases/download/v1.3.0/rules_ts-v1.3.0.tar.gz",
)
load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies")
rules_ts_dependencies(ts_version_from = "@rules_prerender//:package.json")

# Load `@rules_prerender` directly from source.
local_repository(
name = "rules_prerender",
Expand Down

0 comments on commit 281e450

Please sign in to comment.