googleapis / gapic-generator-typescript

Generate Typescript API client libraries from Protocol Buffers.
Apache License 2.0
72 stars 24 forks source link

chore(deps): update dependency aspect_rules_ts to v3 #1638

Open renovate-bot opened 3 months ago

renovate-bot commented 3 months ago

This PR contains the following updates:

Package Type Update Change
aspect_rules_ts http_archive major v1.4.5 -> v3.2.1

Release Notes

aspect-build/rules_ts (aspect_rules_ts) ### [`v3.2.1`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v3.2.1) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v3.2.0...v3.2.1) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "3.2.1") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps( ts_version_from = "//:package.json", ) use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "8bbac753f4b61adbfc1d9878b87b9cd0f64c9e8e6d8fafc8a1bbfa9625bab162", strip_prefix = "rules_ts-3.2.1", url = "https://github.com/aspect-build/rules_ts/releases/download/v3.2.1/rules_ts-v3.2.1.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains") rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - chore: adopt conclusion job for stable status check by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/700](https://redirect.github.com/aspect-build/rules_ts/pull/700) - Support TypeScript workers with isolated declarations and custom TypeScript by [@​MichaelMitchell-at](https://redirect.github.com/MichaelMitchell-at) in [https://github.com/aspect-build/rules_ts/pull/706](https://redirect.github.com/aspect-build/rules_ts/pull/706) - fix: make `//ts:skipLibCheck` flag public by [@​gzm0](https://redirect.github.com/gzm0) in [https://github.com/aspect-build/rules_ts/pull/709](https://redirect.github.com/aspect-build/rules_ts/pull/709) - test: add resolve_json_module with esm imports of package.json by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/711](https://redirect.github.com/aspect-build/rules_ts/pull/711) - fix: always declare ts_project_rule as primary ts_project target by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/710](https://redirect.github.com/aspect-build/rules_ts/pull/710) #### New Contributors - [@​MichaelMitchell-at](https://redirect.github.com/MichaelMitchell-at) made their first contribution in [https://github.com/aspect-build/rules_ts/pull/706](https://redirect.github.com/aspect-build/rules_ts/pull/706) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v3.2.0...v3.2.1 ### [`v3.2.0`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v3.2.0) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v3.1.0...v3.2.0) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "3.2.0") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps( ts_version_from = "//:package.json", ) use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "d23ba2b800493a83c3ec9e300e01c74a7b0a58c08893e681417e2c2f48f8c4bb", strip_prefix = "rules_ts-3.2.0", url = "https://github.com/aspect-build/rules_ts/releases/download/v3.2.0/rules_ts-v3.2.0.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains") rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - perf: reduce array array operations by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/676](https://redirect.github.com/aspect-build/rules_ts/pull/676) - refactor: move transpiler_selection_required to main ts_project_rule block by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/680](https://redirect.github.com/aspect-build/rules_ts/pull/680) - perf: remove \_replace_ext in lib.bzl by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/aspect-build/rules_ts/pull/684](https://redirect.github.com/aspect-build/rules_ts/pull/684) - chore: update GHA Workflows yaml to 5.11.0 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/685](https://redirect.github.com/aspect-build/rules_ts/pull/685) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/691](https://redirect.github.com/aspect-build/rules_ts/pull/691) - perf: remove unnecessary tsconfig relative_file computation by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/687](https://redirect.github.com/aspect-build/rules_ts/pull/687) - perf: remove unnecessary array create+join by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/688](https://redirect.github.com/aspect-build/rules_ts/pull/688) - perf: remove duplicate path.removeprefix calls by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/686](https://redirect.github.com/aspect-build/rules_ts/pull/686) - test: update typescript to 5.6 by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/678](https://redirect.github.com/aspect-build/rules_ts/pull/678) - refactor: replace 2-arg .add_all with .add by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/692](https://redirect.github.com/aspect-build/rules_ts/pull/692) - refactor: change typechecking validation action to output group by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/690](https://redirect.github.com/aspect-build/rules_ts/pull/690) - fix: do not rely on @​npm_typescript if custom tsc is provided by [@​gzm0](https://redirect.github.com/gzm0) in [https://github.com/aspect-build/rules_ts/pull/693](https://redirect.github.com/aspect-build/rules_ts/pull/693) - refactor: always replace **files** var in tsconfig template by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/699](https://redirect.github.com/aspect-build/rules_ts/pull/699) - feat: support ts_project with transpiler and no declarations for type-checking by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/698](https://redirect.github.com/aspect-build/rules_ts/pull/698) - docs: remove incorrect reference to typecheck validation action by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/701](https://redirect.github.com/aspect-build/rules_ts/pull/701) - feat: support --noCheck for parallel transpiling without type-checking by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/679](https://redirect.github.com/aspect-build/rules_ts/pull/679) - chore: upgrade bazel-lib in e2e tests for windows fix by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/704](https://redirect.github.com/aspect-build/rules_ts/pull/704) - feat: support custom dts transpiler by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/697](https://redirect.github.com/aspect-build/rules_ts/pull/697) - refactor: simplify ts_project macro conditional logic by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/705](https://redirect.github.com/aspect-build/rules_ts/pull/705) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v3.1.0...v3.2.0 ### [`v3.1.0`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v3.1.0) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v3.0.0...v3.1.0) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "3.1.0") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps( ts_version_from = "//:package.json", ) use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "5aafa2422b6f2ed6d8db9edcd6368693055960bca7e149516b95c0d45a6a7ae5", strip_prefix = "rules_ts-3.1.0", url = "https://github.com/aspect-build/rules_ts/releases/download/v3.1.0/rules_ts-v3.1.0.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains") rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - feat: allow definition of alternative typescript repositories by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/675](https://redirect.github.com/aspect-build/rules_ts/pull/675) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v3.0.0...v3.1.0 ### [`v3.0.0`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.4.2...v3.0.0) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "3.0.0") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps( ts_version_from = "//:package.json", ) use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "ee7dcc35faef98f3050df9cf26f2a72ef356cab8ad927efb1c4dc119ac082a19", strip_prefix = "rules_ts-3.0.0", url = "https://github.com/aspect-build/rules_ts/releases/download/v3.0.0/rules_ts-v3.0.0.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains") rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - feat: upgrade to rules_js 2.0 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/593](https://redirect.github.com/aspect-build/rules_ts/pull/593) - chore: bump to GHA actions/cache@v4 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/609](https://redirect.github.com/aspect-build/rules_ts/pull/609) - chore: bump miminum dep to aspect_bazel_lib 2.7.6 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/611](https://redirect.github.com/aspect-build/rules_ts/pull/611) - chore: bump to rules_js 2.0.0-rc1 and minimum aspect_bazel_lib 2.7.7 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/613](https://redirect.github.com/aspect-build/rules_ts/pull/613) - refactor: enable protoc toolchains by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/614](https://redirect.github.com/aspect-build/rules_ts/pull/614) - chore: switch to Aspect Workflows for RBE by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/612](https://redirect.github.com/aspect-build/rules_ts/pull/612) - chore: upgrade to Aspect Workflows 5.10.0 RC by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/616](https://redirect.github.com/aspect-build/rules_ts/pull/616) - fix(ts_proto_library): require explicit srcs to copy by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/617](https://redirect.github.com/aspect-build/rules_ts/pull/617) - fix(ts_proto_library): require explicit srcs to copy ([#​617](https://redirect.github.com/aspect-build/rules_ts/issues/617)) by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/618](https://redirect.github.com/aspect-build/rules_ts/pull/618) - chore: upgrade to Aspect Workflows 5.10.0 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/623](https://redirect.github.com/aspect-build/rules_ts/pull/623) - chore: add --check_direct_dependencies to .bazelrc by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/625](https://redirect.github.com/aspect-build/rules_ts/pull/625) - chore: bump minimum rules_nodejs to 6.2.0 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/626](https://redirect.github.com/aspect-build/rules_ts/pull/626) - MODULE.bazel release message to be in line with WORKSPACE; see https:… by [@​Zemnmez](https://redirect.github.com/Zemnmez) in [https://github.com/aspect-build/rules_ts/pull/619](https://redirect.github.com/aspect-build/rules_ts/pull/619) - chore: bump to Aspect Workflows 5.10.3 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/634](https://redirect.github.com/aspect-build/rules_ts/pull/634) - chore: fix a TODO for 3.0.0 by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/637](https://redirect.github.com/aspect-build/rules_ts/pull/637) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/630](https://redirect.github.com/aspect-build/rules_ts/pull/630) - fix: pin typescript version in e2e test by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/639](https://redirect.github.com/aspect-build/rules_ts/pull/639) - Revert "Changes by create-pull-request action" by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/642](https://redirect.github.com/aspect-build/rules_ts/pull/642) - Revert "fix: pin typescript version in e2e test" by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/641](https://redirect.github.com/aspect-build/rules_ts/pull/641) - chore(deps): upgrade TypeScript used by example by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/638](https://redirect.github.com/aspect-build/rules_ts/pull/638) - test: verify outputs of examples/out_dir test by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/633](https://redirect.github.com/aspect-build/rules_ts/pull/633) - test: transitive ts_project npm: deps by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/635](https://redirect.github.com/aspect-build/rules_ts/pull/635) - refactor: remove unnecessary JsInfo hasattr calls by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/632](https://redirect.github.com/aspect-build/rules_ts/pull/632) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/643](https://redirect.github.com/aspect-build/rules_ts/pull/643) - feat: upgrade examples to TS 5.5 by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/646](https://redirect.github.com/aspect-build/rules_ts/pull/646) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/649](https://redirect.github.com/aspect-build/rules_ts/pull/649) - Add example for isolatedDeclarations by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/647](https://redirect.github.com/aspect-build/rules_ts/pull/647) - feat: provide a way for individual ts_project targets to reserve extr… by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/569](https://redirect.github.com/aspect-build/rules_ts/pull/569) - test: do not depend on depset.to_list order by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/653](https://redirect.github.com/aspect-build/rules_ts/pull/653) - chore: upgrade to Aspect Workflows 5.10.8 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/654](https://redirect.github.com/aspect-build/rules_ts/pull/654) - test: npm packages using js_library by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/652](https://redirect.github.com/aspect-build/rules_ts/pull/652) - chore: upgrade to Aspect Workflows 5.10.9 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/655](https://redirect.github.com/aspect-build/rules_ts/pull/655) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/657](https://redirect.github.com/aspect-build/rules_ts/pull/657) - chore: upgrade rules_js to v2 rc7 by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/659](https://redirect.github.com/aspect-build/rules_ts/pull/659) - fix(ts_proto_library): propagate transitive npm deps by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/658](https://redirect.github.com/aspect-build/rules_ts/pull/658) - feat(ts_proto_library): expose protoc_gen_options on ts_proto_library by [@​mattem](https://redirect.github.com/mattem) in [https://github.com/aspect-build/rules_ts/pull/650](https://redirect.github.com/aspect-build/rules_ts/pull/650) - chore: upgrade to Aspect Workflows 5.10.11 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/660](https://redirect.github.com/aspect-build/rules_ts/pull/660) - chore: upgrade to Aspect Workflows 5.10.11 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/661](https://redirect.github.com/aspect-build/rules_ts/pull/661) - test: ts_project transpiler linked with failing tsc by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/651](https://redirect.github.com/aspect-build/rules_ts/pull/651) - chore: normalize "lib" vs "pkg" terminology in tests by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/662](https://redirect.github.com/aspect-build/rules_ts/pull/662) - chore: upgrade to Aspect Workflows 5.10.12 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/663](https://redirect.github.com/aspect-build/rules_ts/pull/663) - Update transpiler.md by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/669](https://redirect.github.com/aspect-build/rules_ts/pull/669) - chore: update to rules_js 2.0.0 by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/674](https://redirect.github.com/aspect-build/rules_ts/pull/674) #### New Contributors - [@​Zemnmez](https://redirect.github.com/Zemnmez) made their first contribution in [https://github.com/aspect-build/rules_ts/pull/619](https://redirect.github.com/aspect-build/rules_ts/pull/619) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v2.4.1...v3.0.0 ### [`v2.4.2`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v2.4.2) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.4.1...v2.4.2) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "2.4.2") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps() use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "f69a6452b129d39d9b05f3dff8b1057185bb195b4daf0cff419988de757c6c31", strip_prefix = "rules_ts-2.4.2", url = "https://github.com/aspect-build/rules_ts/releases/download/v2.4.2/rules_ts-v2.4.2.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ### Fetch and register node, if you haven't already load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( name = "nodejs", node_version = DEFAULT_NODE_VERSION, ) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v2.4.1...v2.4.2 ### [`v2.4.1`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v2.4.1) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.4.0...v2.4.1) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "2.4.1") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps() use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "da6620683ab2c28014e9c82e8a8fdbb724cd67f6a1d27317f42a8ceb14048b9b", strip_prefix = "rules_ts-2.4.1", url = "https://github.com/aspect-build/rules_ts/releases/download/v2.4.1/rules_ts-v2.4.1.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ### Fetch and register node, if you haven't already load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( name = "nodejs", node_version = DEFAULT_NODE_VERSION, ) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - fix: don't limit extends on ts_project to only .json files by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/610](https://redirect.github.com/aspect-build/rules_ts/pull/610) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v2.4.0...v2.4.1 ### [`v2.4.0`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v2.4.0) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.3.0...v2.4.0) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "2.4.0") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps() use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "97a8246bf6d1c7077b296e90a6e307bf8eabed02c5bca84d46db81efbf6ead41", strip_prefix = "rules_ts-2.4.0", url = "https://github.com/aspect-build/rules_ts/releases/download/v2.4.0/rules_ts-v2.4.0.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ### Fetch and register node, if you haven't already load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( name = "nodejs", node_version = DEFAULT_NODE_VERSION, ) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - chore: misc cleanup by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/605](https://redirect.github.com/aspect-build/rules_ts/pull/605) - chore: add Aspect bazelrc presets and align ci patterns by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/607](https://redirect.github.com/aspect-build/rules_ts/pull/607) - feat: support incompatible_enable_proto_toolchain_resolution by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/608](https://redirect.github.com/aspect-build/rules_ts/pull/608) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v2.3.0...v2.4.0 ### [`v2.3.0`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v2.3.0) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.2.0...v2.3.0) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "2.3.0") rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True) rules_ts_ext.deps() use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "b11f5bd59983a58826842029b99240fd0eeb6f1291d710db10f744b327701646", strip_prefix = "rules_ts-2.3.0", url = "https://github.com/aspect-build/rules_ts/releases/download/v2.3.0/rules_ts-v2.3.0.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ### Fetch and register node, if you haven't already load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( name = "nodejs", node_version = DEFAULT_NODE_VERSION, ) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - chore: fix GHA concurrency check to not apply to main branch by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/556](https://redirect.github.com/aspect-build/rules_ts/pull/556) - chore: upgrade to Aspect Workflows 5.9.14 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/557](https://redirect.github.com/aspect-build/rules_ts/pull/557) - chore: upgrade to Aspect Workflows 5.9.15 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/558](https://redirect.github.com/aspect-build/rules_ts/pull/558) - chore: upgrade to Aspect Workflows 5.9.16 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/559](https://redirect.github.com/aspect-build/rules_ts/pull/559) - chore: upgrade to Aspect Workflows 5.9.18 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/561](https://redirect.github.com/aspect-build/rules_ts/pull/561) - chore: upgrade to Aspect Workflows 5.9.20 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/563](https://redirect.github.com/aspect-build/rules_ts/pull/563) - chore: upgrade to Aspect Workflows 5.9.22 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/564](https://redirect.github.com/aspect-build/rules_ts/pull/564) - test: add test of empty node_modules target by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/565](https://redirect.github.com/aspect-build/rules_ts/pull/565) - chore: switch to new Aspect Workflows OSS staging deployment by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/566](https://redirect.github.com/aspect-build/rules_ts/pull/566) - chore: stash output of vmstat in artifacts by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/560](https://redirect.github.com/aspect-build/rules_ts/pull/560) - fix: typecheck_test depends on the .d.ts files by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/568](https://redirect.github.com/aspect-build/rules_ts/pull/568) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/562](https://redirect.github.com/aspect-build/rules_ts/pull/562) - chore: fix buildifier error by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/572](https://redirect.github.com/aspect-build/rules_ts/pull/572) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/573](https://redirect.github.com/aspect-build/rules_ts/pull/573) - chore: upgrade to Aspect Workflows 5.9.24 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/575](https://redirect.github.com/aspect-build/rules_ts/pull/575) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/578](https://redirect.github.com/aspect-build/rules_ts/pull/578) - chore: upgrade Aspect Workflows to 5.10.0-alpha.4 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/581](https://redirect.github.com/aspect-build/rules_ts/pull/581) - chore: enable workflows github annotations by [@​kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/rules_ts/pull/582](https://redirect.github.com/aspect-build/rules_ts/pull/582) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/583](https://redirect.github.com/aspect-build/rules_ts/pull/583) - fix: handle various ts_project srcs labels syntaxes by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/571](https://redirect.github.com/aspect-build/rules_ts/pull/571) - chore: upgrade Aspect Workflows to 5.10.0-alpha.5 by [@​kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/rules_ts/pull/587](https://redirect.github.com/aspect-build/rules_ts/pull/587) - chore: upgrade Aspect Workflows to 5.10.0-alpha.6 by [@​kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/rules_ts/pull/588](https://redirect.github.com/aspect-build/rules_ts/pull/588) - chore: upgrade Aspect Workflows to 5.10.0-alpha.8 by [@​kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/rules_ts/pull/591](https://redirect.github.com/aspect-build/rules_ts/pull/591) - chore: upgrade Aspect Workflows to 5.10.0-alpha.9 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/594](https://redirect.github.com/aspect-build/rules_ts/pull/594) - chore: upgrade to Aspect Workflows 5.10.0-alpha.10 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/595](https://redirect.github.com/aspect-build/rules_ts/pull/595) - feat(ts_proto_library): add connect-query plugin by [@​mrmeku](https://redirect.github.com/mrmeku) in [https://github.com/aspect-build/rules_ts/pull/590](https://redirect.github.com/aspect-build/rules_ts/pull/590) - chore: upgrade to Aspect Workflows 5.10.0-rc0 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/597](https://redirect.github.com/aspect-build/rules_ts/pull/597) - chore: bump to Bazel 7 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/598](https://redirect.github.com/aspect-build/rules_ts/pull/598) - chore: upgrade to buildifier 6.4.0 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/600](https://redirect.github.com/aspect-build/rules_ts/pull/600) - chore: fixup windows CI by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/599](https://redirect.github.com/aspect-build/rules_ts/pull/599) - chore: update to latest stardoc by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/602](https://redirect.github.com/aspect-build/rules_ts/pull/602) - chore: drop dependency on rules_jasmine by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/603](https://redirect.github.com/aspect-build/rules_ts/pull/603) #### New Contributors - [@​mrmeku](https://redirect.github.com/mrmeku) made their first contribution in [https://github.com/aspect-build/rules_ts/pull/590](https://redirect.github.com/aspect-build/rules_ts/pull/590) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v2.2.0...v2.3.0 ### [`v2.2.0`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v2.2.0) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.1.1...v2.2.0) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "2.2.0") rules_ts_ext = use_extension( "@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True, ) rules_ts_ext.deps() use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "c77f0dfa78c407893806491223c1264c289074feefbf706721743a3556fa7cea", strip_prefix = "rules_ts-2.2.0", url = "https://github.com/aspect-build/rules_ts/releases/download/v2.2.0/rules_ts-v2.2.0.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ### Fetch and register node, if you haven't already load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( name = "nodejs", node_version = DEFAULT_NODE_VERSION, ) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - chore: add external remote cache for local development by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/526](https://redirect.github.com/aspect-build/rules_ts/pull/526) - chore: follow migration instruction for connectrpc by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/521](https://redirect.github.com/aspect-build/rules_ts/pull/521) - ci: disable RBE for now by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/529](https://redirect.github.com/aspect-build/rules_ts/pull/529) - Revert "fix: don't recommend bazelrc common verb" by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/528](https://redirect.github.com/aspect-build/rules_ts/pull/528) - chore: enable lib checks by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/527](https://redirect.github.com/aspect-build/rules_ts/pull/527) - chore(examples): upgrade Babel by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/530](https://redirect.github.com/aspect-build/rules_ts/pull/530) - chore: re-enable RBE testing by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/531](https://redirect.github.com/aspect-build/rules_ts/pull/531) - chore: tear out check_for_updates feature by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/535](https://redirect.github.com/aspect-build/rules_ts/pull/535) - chore: BCR testing on Bazel 6 and 7 by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/532](https://redirect.github.com/aspect-build/rules_ts/pull/532) - chore: cancel previous GHA from the same PR by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/538](https://redirect.github.com/aspect-build/rules_ts/pull/538) - test: assets being copied can make a conflicting asset by [@​YvanGuidoin](https://redirect.github.com/YvanGuidoin) in [https://github.com/aspect-build/rules_ts/pull/533](https://redirect.github.com/aspect-build/rules_ts/pull/533) - chore: remove gofmt by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/rules_ts/pull/541](https://redirect.github.com/aspect-build/rules_ts/pull/541) - perf: use starlark string.removeprefix by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/544](https://redirect.github.com/aspect-build/rules_ts/pull/544) - chore: update always_delivery to auto_delivery by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/547](https://redirect.github.com/aspect-build/rules_ts/pull/547) - feat: add ts_project validation of root/out/typing_out dir options by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/552](https://redirect.github.com/aspect-build/rules_ts/pull/552) - chore: upgrade to Aspect Workflows 5.9.11 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/554](https://redirect.github.com/aspect-build/rules_ts/pull/554) #### New Contributors - [@​YvanGuidoin](https://redirect.github.com/YvanGuidoin) made their first contribution in [https://github.com/aspect-build/rules_ts/pull/533](https://redirect.github.com/aspect-build/rules_ts/pull/533) **Full Changelog**: https://github.com/aspect-build/rules_ts/compare/v2.1.1...v2.2.0 ### [`v2.1.1`](https://redirect.github.com/aspect-build/rules_ts/releases/tag/v2.1.1) [Compare Source](https://redirect.github.com/aspect-build/rules_ts/compare/v2.1.0...v2.1.1) #### Using [Bzlmod] with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_ts", version = "2.1.1") rules_ts_ext = use_extension( "@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True, ) rules_ts_ext.deps() use_repo(rules_ts_ext, "npm_typescript") ``` [Bzlmod]: https://bazel.build/build/bzlmod #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_ts", sha256 = "6ad28b5bac2bb5a74e737925fbc3f62ce1edabe5a48d61a9980c491ef4cedfb7", strip_prefix = "rules_ts-2.1.1", url = "https://github.com/aspect-build/rules_ts/releases/download/v2.1.1/rules_ts-v2.1.1.tar.gz", ) ################## ### rules_ts setup # ################## ### Fetches the rules_ts dependencies. ### If you want to have a different version of some dependency, ### you should fetch it *before* calling this. ### Alternatively, you can skip calling this function, so long as you've ### already fetched all the dependencies. load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") rules_ts_dependencies( ### This keeps the TypeScript version in-sync with the editor, which is typically best. ts_version_from = "//:package.json", ### Alternatively, you could pick a specific version, or use ### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION") ### ts_version = LATEST_TYPESCRIPT_VERSION ) load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ### Fetch and register node, if you haven't already load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( name = "nodejs", node_version = DEFAULT_NODE_VERSION, ) ### Register aspect_bazel_lib toolchains; ### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block. load("@​aspect_bazel_lib//lib:repositories.bzl", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") register_copy_directory_toolchains() register_copy_to_directory_toolchains() ``` To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain. ```starlark load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - chore: green up HEAD when run with --enable_bzlmod by [@​kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/rules_ts/pull/491](https://redirect.github.com/aspect-build/rules_ts/pull/491) - fix: respect ts_project root_dir and out_dir for assets by [@​jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/rules_ts/pull/493](https://redirect.github.com/aspect-build/rules_ts/pull/493) - chore: upgrade to Aspect Workflows 5.8.10 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/494](https://redirect.github.com/aspect-build/rules_ts/pull/494) - Changes by create-pull-request action by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/aspect-build/rules_ts/pull/489](https://redirect.github.com/aspect-build/rules_ts/pull/489) - chore: upgrade to Aspect Workflows 5.8.15 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/495](https://redirect.github.com/aspect-build/rules_ts/pull/495) - chore: upgrade to Aspect Workflows 5.9.0-beta.2 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/496](https://redirect.github.com/aspect-build/rules_ts/pull/496) - chore: bring in aspect_rules_lint and add format task to Aspect Workflows by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/498](https://redirect.github.com/aspect-build/rules_ts/pull/498) - chore: bazel run //:format by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/499](https://redirect.github.com/aspect-build/rules_ts/pull/499) - chore: run Aspect Workflows setup step on small instances by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/501](https://redirect.github.com/aspect-build/rules_ts/pull/501) - chore: upgrade to Aspect Workflows 5.9.0-beta.10 by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/502](https://redirect.github.com/aspect-build/rules_ts/pull/502) - chore: use ARM instances for small runner group by [@​gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/rules_ts/pull/503](https://redirect.github.com/aspect-build/rules_ts/pull/503) - chore: enable wo

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

forking-renovate[bot] commented 1 month ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.