v1.0.0-rc.1
Pre-release
Pre-release
github-actions
released this
30 Jun 02:08
·
1146 commits
to main
since this release
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "80e168f9cd62f3640de429b70b34ff817d0d94ada2abaf2cffeef46e35434e1d",
strip_prefix = "rules_js-1.0.0-rc.1",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.0.0-rc.1.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",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- docs: add usage guide by @alexeagle in #255
- fix: include direct DeclarationInfo files from srcs in npm_package by @gregmagolan in #259
- feat: support file: links in package.json & pnpm lockfile by @gregmagolan in #262
- util: add package glob util by @jbedard in #260
- chore: add an example of using out_dirs with js_run_binary by @gregmagolan in #264
Full Changelog: v1.0.0-rc.0...v1.0.0-rc.1