Skip to content

chore: sync latest pnpm action setup - #1

Merged
theinditector merged 7 commits into
IndicoDataSolutions:masterfrom
pnpm:master
Oct 28, 2026
Merged

theinditector merged 7 commits into
IndicoDataSolutions:masterfrom
pnpm:master

Conversation

@weindi

@weindi weindi commented Oct 28, 2026 •

Copy link
Copy Markdown

Note

Medium Risk
Install/bootstrap path selection changed for v12 and cache-hit semantics; workflows that gate pnpm install on cache-hit may behave differently after partial cache restores.

Overview
Adds pnpm v12 support by routing v12 targets through a new native-lock.json bootstrap (plain pnpm with native executables) instead of @pnpm/exe or the v11 JS bootstrap. Version selection uses semver (targetsPnpm12); native installs can skip self-update when the bootstrap already satisfies the requested range. Legacy bootstraps bump to 11.25.0; update-bootstrap.mjs now maintains separate v11 and v12 lockfiles.

Cache restore uses prefix restoreKeys so partial store reuse is possible when the lockfile changes, while cache-hit is true only on an exact primary-key match so installs are not skipped after a partial restore.

README and action.yml document v12, devEngines.packageManager, that standalone is a no-op for v12, and migration to pnpm/setup. CI expands smoke tests (v11/v12 on Linux/macOS/Windows), bumps pr-check to pnpm 11, and retargets the standalone job to native pnpm 12 under npm 12.

Reviewed by Cursor Bugbot for commit ea17c68. Bugbot is set up for automated code reviews on this repo. Configure here.

zkochan and others added 7 commits June 15, 2026 14:04
* fix: update pnpm to v11.7.0

* fix: update bundle
* docs(README): point users to the successor pnpm/setup action

The pnpm setup action has moved to `pnpm/setup`, which installs
pnpm v11+ as a self-contained native executable and can install a
JavaScript runtime (Node.js, Bun, or Deno) in the same step,
replacing `actions/setup-node`.

Add a notice at the top of the README, a migration section with a
before/after workflow example and an input/output mapping table,
and mention the successor in the Notes section. The rest of the
docs stay intact since `pnpm/action-setup` remains the way to
install pnpm v10 and older.

Signed-off-by: Kevin Cui <bh@bugs.cc>

* docs(README): address review feedback on migration section

Add an explicit version: 11 to the migration example and note when the
input can be omitted, since pnpm/setup requires pnpm v11+ and a repo
migrating from version: 10 may have no packageManager field or one that
pins v10.

Move the v2 upgrade warning below the page title so the two callouts
are no longer adjacent blockquotes (markdownlint MD028), keeping the
successor notice and the legacy warning as separate blocks.

Fix the comma splice and use "set up" as the verb in the Notes
section.

Signed-off-by: Kevin Cui <bh@bugs.cc>

---------

Signed-off-by: Kevin Cui <bh@bugs.cc>
Noticed while working on #283.
* fix: update pnpm to v11.19.0

Via `scripts/update-bootstrap.mjs 11.19.0`

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

* fixup! fix: update pnpm to v11.19.0

As it needs to be rebuilt on Linux.

---------

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
* feat: support pnpm v12

Approve the pinned @pnpm/exe install script for npm 12, add pnpm 12 coverage across supported runner platforms, and clarify that action-setup remains supported alongside pnpm/setup.

* refactor: use pnpm 12 native bootstrap

Install the plain pnpm v12 package as the single native bootstrap, remove the legacy @pnpm/exe lockfile and runtime path, and retain the standalone input as a no-op for workflow compatibility.

* fix: keep bootstrap updates on pnpm 12

Handle npm's array-shaped view output and resolve only pnpm 12 distribution tags.

* fix: use native bootstrap only for pnpm 12

Route pnpm 12-only versions and ranges through the plain pnpm native package while preserving the existing Node and @pnpm/exe bootstrap paths for older releases.

* style: remove updater narrative comments

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ea17c68. Configure here.

Comment thread src/install-pnpm/run.ts Resolved
@theinditector
theinditector merged commit 322a5f8 into IndicoDataSolutions:master Oct 28, 2026
1 check passed
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.

7 participants