Skip to content

feat: add initial pnpm 12 support - #2990

Merged
jbedard merged 1 commit into
aspect-build:mainfrom
jbedard:pnpm-12
Sep 1, 2026
Merged

feat: add initial pnpm 12 support#2990
jbedard merged 1 commit into
aspect-build:mainfrom
jbedard:pnpm-12

Conversation

@jbedard

@jbedard jbedard commented Aug 27, 2026

Copy link
Copy Markdown
Member

Pnpm 12 was released which should be API compatible with v11 but has been rewritten in rust. The lockfile is the same for rules_js so it's mainly just the pnpm.bzl for fetching+invoking pnpm from bazel that has changed.

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

Add pnpm12 support

Test plan

  • Covered by existing test cases
  • New test cases added

Comment thread e2e/pnpm_lockfiles/base/aliases-test.js
Comment thread e2e/pnpm_lockfiles/v101/snapshots/defs.bzl
@jbedard
jbedard requested a review from acozzette September 1, 2026 16:46
@jbedard
jbedard marked this pull request as ready for review September 1, 2026 16:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T22:01:07.645027Z a9af6ab Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a686b3833

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread npm/private/pnpm_repository.bzl
Comment thread npm/private/pnpm_repository.bzl
@jbedard
jbedard force-pushed the pnpm-12 branch 2 times, most recently from 3523540 to 8e1bb39 Compare September 1, 2026 18:34
@jbedard

jbedard commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8e1bb3979f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread npm/private/pnpm_repository.bzl
Comment thread npm/private/pnpm_repository.bzl Outdated
@jbedard

jbedard commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc1d1beee6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread npm/private/pnpm_repository.bzl Outdated
@jbedard

jbedard commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: a9af6abda3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jbedard
jbedard merged commit 56da6d6 into aspect-build:main Sep 1, 2026
166 checks passed
@jbedard
jbedard deleted the pnpm-12 branch September 1, 2026 22:10
jbedard added a commit that referenced this pull request Sep 1, 2026
Pnpm 12 [was released](https://pnpm.io/blog/releases/12.0) which should
be API compatible with v11 but has been rewritten in rust. The lockfile
is the same for rules_js so it's mainly just the `pnpm.bzl` for
fetching+invoking pnpm from bazel that has changed.

- 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

Add pnpm12 support

- Covered by existing test cases
- New test cases added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants