Skip to content

v1.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jun 02:56
· 1131 commits to main since this release
e22361d

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_rules_js",
    sha256 = "be39996444ab94de605e21cdcaa9bc4965a96186329d776e400b47fefd540902",
    strip_prefix = "rules_js-1.0.0-rc.0",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.0.0-rc.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",
    verify_node_modules_ignored = "//:.bazelignore",
)

load("@npm//:repositories.bzl", "npm_repositories")

npm_repositories()

What's Changed

  • Use pnpm workspace dep on a 1p package by @alexeagle in #170
  • fix: improve error handling if there are conflicting public hoisted packages by @gregmagolan in #224
  • chore: simplify 1p dep example by @gregmagolan in #230
  • refactor: tweak ':' separator locations in package_json.bzl load paths by @gregmagolan in #241
  • fix: use camel case in generated bin mnemonics by @alex-torok in #242
  • fix(deps): update dependency @pnpm/lifecycle to v13.1.0 by @renovate in #240
  • ci: auto-publish to bcr on release by @kormide in #243
  • chore: add suggestion when js_run_binary has no outs by @alexeagle in #253
  • chore(deps): update dependency bazel to v5.2.0 by @renovate in #233
  • refactor: expose bzl_library targets for generated bins by @alexeagle in #250
  • util: add basic ini parser by @jbedard in #246
  • fix: improved symlink guards for sandbox, runfiles & execroot by @gregmagolan in #237
  • fix: remove DefaultInfo.files from js_library by @mrmeku in #252
  • refactor: ask the runfiles API to create our symlinks by @alexeagle in #256
  • feat: add coverage support by @thesayyn in #238
  • fix: don't use orig fs.realpath from patched lstat by @gregmagolan in #258

New Contributors

Full Changelog: v1.0.0-beta.2...v1.0.0-rc.0