Skip to content

Releases: aspect-build/rules_js

v1.20.2

06 Mar 15:14
9f13045
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.20.2")

####### Node.js version #########
# By default you get the node version from DEFAULT_NODE_VERSION in @rules_nodejs//nodejs:repositories.bzl
# Optionally you can pin a different node version:
bazel_dep(name = "rules_nodejs", version = "5.8.2")
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
node.toolchain(node_version = "16.9.0")
#################################

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "5998de293f492bf2e39aabdf261395ff1f9b1fdabc113df3ad609f7d3fe76209",
    strip_prefix = "rules_js-1.20.2",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.20.2/rules_js-v1.20.2.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

New Contributors

Full Changelog: v1.20.1...v1.20.2

v1.20.1

25 Feb 22:01
Compare
Choose a tag to compare

⚠️ For bzlmod users: this release upgrades rules_nodejs from 5.8.0 to 5.8.2. That changes the default version of node used. We always recommend registering an explicit nodejs toolchain with a version you pin to, to avoid surprises when our default is upgraded.

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.20.1")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "1aa0ab76d1f9520bb8993e2d84f82da2a9c87da1e6e8d121dbb4c857a292c2cd",
    strip_prefix = "rules_js-1.20.1",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.20.1/rules_js-v1.20.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

  • chore: upgrade skylib to v1.4.1 by @kormide in #892
  • chore: update bazel-lib to v1.27.0 by @kormide in #894
  • fix: workaround ambiguous symlinks on osx by @kormide in #901
  • chore: update to aspect_bazel_lib 1.27.2 by @gregmagolan in #904
  • fix: include runfiles tree in js_image_layer when --nobuild_runfile_links is set by @kormide in #905
  • chore: update to rules_nodejs 5.8.2 by @kormide in #906
  • ci: build and run unit tests with bzlmod by @kormide in #855

Full Changelog: v1.20.0...v1.20.1

v1.20.0

18 Feb 01:57
2a7ae16
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.20.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "9fadde0ae6e0101755b8aedabf7d80b166491a8de297c60f6a5179cd0d0fea58",
    strip_prefix = "rules_js-1.20.0",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.20.0/rules_js-v1.20.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

  • chore: update to latest version of Aspect CLI and turn on additional workflows features by @gregmagolan in #865
  • fix(performance): cache patch labels early to avoid unnecessary reloading of lockfile by @kormide in #876
  • docs: remove "docker containers" from known issues by @gzm0 in #875
  • fix: fix a unit test that fails on osx by @kormide in #872
  • fix: fix a bug where some targets failed to build on M1 by @kormide in #873
  • feat: add npm_translate_lock(npm_package_target_name) to customize linked npm_package() target names by @jbedard in #880
  • chore: run webpack e2es under bzlmod by @kormide in #886
  • feat: add remaining missing attributes to bzlmod api by @kormide in #885
  • chore: run e2e/js_run_deverser on ci with bzlmod by @kormide in #887
  • chore(deps): update dependency aspect_bazel_lib to v1.25.0 by @renovate in #888
  • fix: add exit code to js_binary debug info by @jbedard in #889
  • chore: bump aspect_bazel_lib dep to 1.26.2 by @gregmagolan in #890

New Contributors

  • @gzm0 made their first contribution in #875

Full Changelog: v1.19.0...v1.20.0

v1.19.0

11 Feb 00:57
56c5383
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.19.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "3ad6684d744ebbc6592d404cc3aa81d0da634eccb3499f6fd198ae122fa28489",
    strip_prefix = "rules_js-1.19.0",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.19.0/rules_js-v1.19.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

New Contributors

Full Changelog: v1.18.0...v1.19.0

v1.18.0

08 Feb 04:56
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.18.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "b3012692407d5eb2509cebdca2ece6eb0300885514e4034c20c2882c0e13c39d",
    strip_prefix = "rules_js-1.18.0",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.18.0/rules_js-v1.18.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

  • feat: add external_repository_action_cache attribute to npm_translate_lock to make action cache location configurable by @gregmagolan in #838
  • fix: add missing 'warming' task by @mattem in #842
  • fix: support single quotes in npmrc properties by @jbedard in #844
  • feat: add public_hoist_packages to bzlmod api by @kormide in #846
  • chore: run e2e/js_run_devserver under bzlmod by @kormide in #814
  • chore: add new issues to Aspect OSS Bazel Rules project and label untriaged by @gregmagolan in #848

Full Changelog: v1.17.1...v1.18.0

v1.17.1

04 Feb 05:03
2719289
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.17.1")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "ad9fe29a083007fb1ae628f394220a0dae39da3a8d46c4430c920e8892d4ce38",
    strip_prefix = "rules_js-1.17.1",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.17.1/rules_js-v1.17.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

  • chore(deps): update dependency aspect_bazel_lib to v1.24.2 by @renovate in #835
  • fix: migrate Aspect Workflows configuration past breaking changes by @mattem in #841
  • ci: make folder part of cache key by @thesayyn in #831
  • fix: don't read root package.json if there is no root importer by @gregmagolan in #839

Full Changelog: v1.17.0...v1.17.1

v1.17.0

02 Feb 04:33
d566291
Compare
Choose a tag to compare

⚠️ The pnpm.patchedDependencies feature introduced a subtle unintentional breaking change in the following downstream rule sets when used together with this release: rules_jasmine, rules_jest, rules_terser, rules_rollup & rules_webpack.

If you see a failure that looks like the following after upgrading:

Error in read: java.io.FileNotFoundException: /private/var/tmp/_bazel/63ad99ef647ce0f24388f2bb28b31b43/external/aspect_rules_webpack/webpack/private/v5.73.0/package.json (No such file or directory)

You can resolve by upgrading to the following minimum versions:

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.17.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "2868c450aaa83ec19ee172015c6445264b6422d6d0d61da6af47ec8a159b0e5a",
    strip_prefix = "rules_js-1.17.0",
    url = "https://github.com/aspect-build/rules_js/releases/download/v1.17.0/rules_js-v1.17.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

  • chore: tag container_test as no-remote-exec in js_image e2e test by @gregmagolan in #823
  • release: publish release artifact by @alexeagle in #833
  • fix: delete .git folder when downloading npm package from git by @kormide in #834
  • feat: support pnpm.patchedDependencies by @kormide in #832
  • chore: update to aspect_bazel_lib 1.24.2 by @gregmagolan in #836

Full Changelog: v1.16.0...v1.17.0

v1.16.0

25 Jan 00:03
01111b2
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.16.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "9f51475dd2f99abb015939b1cf57ab5f15ef36ca6d2a67104450893fd0aa5c8b",
    strip_prefix = "rules_js-1.16.0",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.16.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

  • chore: add missing bzl_library for expand_template.bzl by @gregmagolan in #802
  • chore: remove unnecessary if statement in npm_package.bzl by @gregmagolan in #804
  • feat: add option to verify that all patches are declared in npm_translate_lock by @kormide in #803
  • fix: use correct default values for exclude_srcs_packages and exclude_srcs_patterns in npm_package by @gregmagolan in #806
  • fix: fix a bug where patch extensions weren't correctly verified by @kormide in #807
  • chore: run e2e/vendored_node under bzlmod by @kormide in #809
  • chore: do not run workspace e2e under bzlmod by @kormide in #810
  • fix: print the error message to log if verbose by @thesayyn in #811
  • feat: verify patches via a generated source file by @kormide in #808
  • chore: run e2e/update_pnpm_lock_with_import under bzlmod by @kormide in #812
  • Set fs._unpatched when patching the 'node:fs' module by @gonzojive in #793
  • fix: handle binary files in data attribute of npm_translate_lock by @gregmagolan in #819
  • feat: support tarfiles of thirdparty dependencies by @ewianda in #815
  • fix: consider lock files as text files when copying in npm_translate_lock by @gregmagolan in #820
  • refactor: use rctx.download with file: URL to copy files in npm_translate_lock by @gregmagolan in #821

New Contributors

Full Changelog: v1.15.0...v1.16.0

v1.15.1

18 Jan 03:50
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.15.1")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "928ba25fa82cfe7983f89118677413dc74dbc5d0360fa969da07ff22a9306052",
    strip_prefix = "rules_js-1.15.1",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.15.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

  • chore: update bcr homepage by @alexeagle in #760
  • feat: automatically update pnpm lockfile via bzlmod api by @kormide in #763
  • docs: update location of migration guide by @alexeagle in #755
  • fix(deps): update dependency mocha to v10.2.0 by @renovate in #733
  • fix: fix a bug where a different state file hash was produced under bzlmod by @kormide in #768
  • fix: support quoted npmrc values by @jbedard in #765
  • chore(deps): update com_github_ash2k_bazel_tools digest to 4e045b9 by @renovate in #762
  • chore(deps): update dependency aspect_bazel_lib to v1.21.0 by @renovate in #774
  • chore(deps): update dependency jsonwebtoken to 9.0.0 [security] by @renovate in #766
  • renovate: correct grouping of minor/patch releases by @jbedard in #775
  • chore: add pnpm versions 7.18.0 through 7.25.0 by @jbedard in #777
  • build: remove workaround for fixed pnpm issue by @jbedard in #776
  • build: bump @kubernetes/client-node dep due to failure by @gregmagolan in #778
  • chore: update failing //npm/private/test:write_npm_translate_lock diff test by @gregmagolan in #779
  • chore: update devDeps of @kubernetes/client-node needed for prepare lifecycle hook to match the commit hash we're pulling by @gregmagolan in #780
  • fix(deps): update dependency botframework-connector to v4.19.0 by @renovate in #732
  • fix(deps): update patch updates by @renovate in #782
  • chore(deps): update @types by @renovate in #783
  • ci: run e2e/update_pnpm_lock under bzlmod by @kormide in #767
  • chore(deps): update dependency aspect_bazel_lib to v1.21.2 by @renovate in #788
  • chore: fix typo in docs by @gregmagolan in #794
  • chore: update to Aspect CLI 5.1.2 by @gregmagolan in #795
  • feat: support npm auth under bzlmod by @kormide in #797
  • chore: run e2e/package_json_module under bzlmod by @kormide in #799
  • feat: support npm_package_lock and preupdate in bzlmod by @kormide in #798
  • feat: improve performance of npm linking & npm_package with hardlinks by @gregmagolan in #789
  • feat: support bins attr in bzlmod by @kormide in #800
  • fix: improve performance of npm_package with removal of .to_list() on additional_files by @gregmagolan in #761
  • chore: add missing bzl_library for expand_template.bzl by @gregmagolan in #802
  • chore: remove unnecessary if statement in npm_package.bzl by @gregmagolan in #804
  • fix: use correct default values for exclude_srcs_packages and exclude_srcs_patterns in npm_package (#806)

Full Changelog: v1.14.0...v1.15.1

v1.14.0

07 Jan 22:59
06a1f90
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "1.14.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)

use_repo(npm, "npm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "c4a5766a45dff25b2eb1789d7a2decfda81b281fc88350d24687620c37fefb25",
    strip_prefix = "rules_js-1.14.0",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.14.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

  • feat: improved npm_package performance & globbing support using copy_to_directory_bin_action by @gregmagolan in #751

Full Changelog: v1.13.2...v1.14.0