Skip to content

Tags: aspect-build/rules_js

Tags

v3.2.2

Toggle v3.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: overriding version of "pnpm" repo (#2883)

The default `pnpm` repo was always taking priority and could not be
overridden. See #2349 (comment)

### Changes are visible to end-users: no

### Test plan

- Covered by existing test cases
- New test cases added

v3.2.1

Toggle v3.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: revert change to resolved.json $schema url (#2878)

Fix #2877

### Changes are visible to end-users: no

### Test plan

- Covered by existing test cases
- New test cases added

v3.2.0

Toggle v3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: watch pnpm-workspace.yaml (#2863)

Otherwise changes will not (necessarily) trigger extension re-evalution.

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: no doc
update needed.
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: no (suggested PR title if
anything).

### Test plan

- Covered by existing test cases
- Manual testing:
   1. `echo 9.1.0 > .bazelversion`
   2. `cd e2e/bzlmod`
   3. `bazel build :*` (build passes)
4. put `@asdf:` in `e2e/bzlmod/pnpm-workspace.yaml` (or some other
invalid syntax)
   5. `bazel build :*` (passes on main, fails with this PR as expected).

v3.1.2

Toggle v3.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes by create-pull-request action (#2838)

Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: alexeagle <47395+alexeagle@users.noreply.github.com>

v3.1.1

Toggle v3.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: revert buggy chdir simplification (#2829)

Commit 19955f0 tried to simplify the `chdir` logic in the launcher
script, but this introduced a bug in `js_test`. I believe the logic was
correct for `js_binary` and `js_run_binary`, since those execute in the
target bin directory, but it did not work for `js_test`, which executes
in the runfiles directory. I added a new test case to cover this
situation.

Fixes #2827.

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Fixes #2827, a bug with `chdir` on `js_test` introduced in v3.1.0.

### Test plan

- Covered by existing test cases
- New test cases added

v3.1.0

Toggle v3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes by create-pull-request action (#2821)

Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: alexeagle <47395+alexeagle@users.noreply.github.com>

v3.0.3

Toggle v3.0.3's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: handle missing packages in _collect_dep_constraints

When an optional dependency is a "link:" dependency or otherwise not present in the `packages` dictionary, `npm_translate_lock` would fail with a "key not found" error such as: `Error: key "link:@angular/core|packages/core" not found in dictionary`

This occurs because `_collect_dep_constraints` iterates over optional dependencies but assumes they all exist in the `packages` dictionary. Link dependencies are often not represented in the lockfile as standard
packages, leading to this missing key.

v3.0.2

Toggle v3.0.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: ignore optional packages with os:alpine

v3.0.1

Toggle v3.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
jbedard Jason Bedard
Revert "refactor: remove deprecated module(compatibility_level)"

This reverts commit edd727b.

v3.0.0

Toggle v3.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
refactor: remove deprecated module(compatibility_level)