v0.11.0
Pre-release
Pre-release
This release includes the last of the BREAKING CHANGES we are planning before launching 1.0.0 in the near future.
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "f4693a937c5852e660d1da773436fc3dc3a6274b25f735c233a8cffc12ed2dbb",
strip_prefix = "rules_js-0.11.0",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.11.0.tar.gz",
)
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
pnpm_lock = "//:pnpm-lock.yaml",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
Derivative Rule Sets
Derivative rule sets to go with these API changes are also published:
https://github.com/aspect-build/rules_terser/releases/tag/v0.5.0
https://github.com/aspect-build/rules_swc/releases/tag/v0.10.0
https://github.com/aspect-build/rules_ts/releases/tag/v0.5.0
https://github.com/aspect-build/rules_rollup/releases/tag/v0.5.0
https://github.com/aspect-build/rules_jest/releases/tag/v0.4.0
https://github.com/aspect-build/rules_esbuild/releases/tag/v0.6.0
What's Changed
- fix debug message formatting by @alex-torok in #156
- Update migrate.md by @alexeagle in #158
- refactor: public API renames after review by @gregmagolan in #159
- fix: don't generate scoped target if there are no direct deps in that scope by @gregmagolan in #160
- chore: simplify manual npm_package_link examples by @gregmagolan in #161
- refactor: rename @npm_import_dep//:jsp to @npm_import_dep//:pkg and related internal target names by @gregmagolan in #162
Full Changelog: v0.10.0...v0.11.0