Skip to content

chore: upgrade pnpm to 11.4.0#10

Merged
RedStar071 merged 6 commits into
mainfrom
chore/upgrade-pnpm-11
Jun 26, 2026
Merged

chore: upgrade pnpm to 11.4.0#10
RedStar071 merged 6 commits into
mainfrom
chore/upgrade-pnpm-11

Conversation

@RedStar071

@RedStar071 RedStar071 commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrade packageManager from pnpm@10.11.0 to pnpm@11.4.0
  • Regenerate pnpm-lock.yaml for pnpm 11 (including dedupePeers: true in lockfile settings)
  • Add allowBuilds entries in pnpm-workspace.yaml for @parcel/watcher, core-js, and esbuild so native build scripts run under pnpm 11's stricter defaults

Related Issue

N/A

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor / tooling (no functional change to the library)
  • Documentation
  • CI / workflow

Test Plan

  • CI=true pnpm install succeeds with pnpm 11.4.0
  • pnpm run build succeeds
  • pnpm test — snapshot tests currently fail on main as well (version 0.0.3 vs snapshot 0.0.2); unrelated to this change

Pre-flight Checklist

  • Changes are limited to pnpm tooling configuration
  • pnpm lint passes (pre-commit hook ran oxfmt on staged files)
  • Branch is based on latest main

Summary by CodeRabbit

  • Chores
    • Updated the project’s package manager version to pnpm@11.4.0.
    • Updated workspace configuration to allow builds for specific dependencies.
    • Updated CI unit test runs to Node 22 and 24 (Node 20 removed).
    • Updated the autofix workflow to avoid running automatic installs during setup.

Pin packageManager to pnpm 11.4.0, regenerate the lockfile, and allow
native build scripts for esbuild, core-js, and @parcel/watcher.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (37)
  • tests/scenarios/__snapshots__/config.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/css/__snapshots__/sass-parsing.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/esbuild/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/esbuild/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/esbuild/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/esbuild/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/esbuild/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rolldown/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rolldown/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rolldown/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rolldown/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rolldown/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rollup/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rollup/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rollup/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rollup/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rollup/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rspack/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rspack/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rspack/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rspack/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/rspack/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/tsup/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/tsup/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/tsup/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/tsup/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/tsup/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/vite/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/vite/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/vite/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/vite/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/vite/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/webpack/__snapshots__/custom-inject-tag.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/webpack/__snapshots__/js-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/webpack/__snapshots__/js-based-esm.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/webpack/__snapshots__/ts-based-cjs.test.ts.snap is excluded by !**/*.snap
  • tests/scenarios/webpack/__snapshots__/ts-based-esm.test.ts.snap is excluded by !**/*.snap

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: ceef3c44-0eab-4740-957a-ebe2e3fff8d0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This PR updates repository configuration: bumps pnpm in package.json to pnpm@11.4.0, adds an allowBuilds block to pnpm-workspace.yaml for three packages, updates the autofix pnpm setup step, and removes Node 20 from the CI unit job matrix.

Changes

pnpm Configuration Updates

Layer / File(s) Summary
pnpm version upgrade
package.json
The packageManager field is bumped from pnpm@10.11.0 to pnpm@11.4.0.
Workspace build allowlist configuration
pnpm-workspace.yaml
A new allowBuilds configuration block is added to explicitly permit builds for @parcel/watcher, core-js, and esbuild.
Autofix pnpm setup
.github/workflows/autofix.yml
The pnpm/action-setup step no longer pins a pnpm version and sets run_install: false.
CI Node matrix change
.github/workflows/ci.yml
The unit job’s Node.js matrix was changed to run only Node 22 and 24, removing 20.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through configs with a twitchy nose,
pnpm lifted where the new wind blows.
AllowBuilds opened three little doors,
CI trimmed a version from its chores.
Autofix now skips its automatic spree,
A tidy little hop for the repo and me.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: upgrading pnpm to 11.4.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

❌ 38 Tests Failed:

Tests completed Failed Passed Skipped
85 38 47 0
View the full list of 38 ❄️ flaky test(s)
tests/scenarios/config.test.ts > Config > GIVEN custom include pattern THEN still injects matching files

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0313s run time
Error: Snapshot `Config > GIVEN custom include pattern THEN still injects matching files 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/typescript.mts
- var version = "0.0.3";
+ var version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/scenarios/config.test.ts:33:5
tests/scenarios/config.test.ts > Config > GIVEN custom packageJsonPath THEN injects version from that file

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0692s run time
Error: Snapshot `Config > GIVEN custom packageJsonPath THEN injects version from that file 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/typescript.mts
- var version = "0.0.3";
+ var version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/scenarios/config.test.ts:23:5
tests/scenarios/css/sass-parsing.test.ts > SCSS to CSS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.301s run time
Error: Snapshot `SCSS to CSS > GIVEN no plugin options THEN injects version 2` mismatched

- Expected
+ Received

@@ -1,8 +1,8 @@
  "/* .../build-mid/css/styles.css */
  .myClass {
-   content: "0.0.3";
+   content: "0.0.4";
  }
  .start-test-btn {
    border: 2px solid #a6a6a6;
    border-radius: 14px;
    color: #474747 !important;

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/css/sass-parsing.test.ts:35:5
tests/scenarios/esbuild/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0325s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/custom-inject-tag.mts
- var version = "0.0.3";
+ var version = "0.0.4";
  export {
    version
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/esbuild/custom-inject-tag.test.ts:26:5
tests/scenarios/esbuild/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0253s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  ""use strict";

  // .../fixtures/build-in/javascript.cjs
  module.exports = {
-   version: "0.0.3"
+   version: "0.0.4"
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/esbuild/js-based-cjs.test.ts:24:5
tests/scenarios/esbuild/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.028s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/javascript.mjs
- var version = "0.0.3";
+ var version = "0.0.4";
  export {
    version
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/esbuild/js-based-esm.test.ts:24:5
tests/scenarios/esbuild/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0317s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -21,11 +21,11 @@
  var typescript_exports = {};
  __export(typescript_exports, {
    version: () => version
  });
  module.exports = __toCommonJS(typescript_exports);
- var version = "0.0.3";
+ var version = "0.0.4";
  // Annotate the CommonJS export names for ESM import in node:
  0 && (module.exports = {
    version
  });
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/esbuild/ts-based-cjs.test.ts:24:5
tests/scenarios/esbuild/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0263s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/typescript.mts
- var version = "0.0.3";
+ var version = "0.0.4";
  export {
    version
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/esbuild/ts-based-esm.test.ts:24:5
tests/scenarios/rolldown/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0224s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

  "//#region .../fixtures/build-in/custom-inject-tag.mts
- const version = "0.0.3";
+ const version = "0.0.4";
  //#endregion
  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rolldown/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0336s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "//#region .../fixtures/build-in/javascript.cjs
- module.exports = { version: "0.0.3" };
+ module.exports = { version: "0.0.4" };
  //#endregion
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rolldown/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0276s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "//#region .../fixtures/build-in/javascript.mjs
- const version = "0.0.3";
+ const version = "0.0.4";
  //#endregion
  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rolldown/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0332s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  //#region .../fixtures/build-in/typescript.cts
- const version = "0.0.3";
+ const version = "0.0.4";
  //#endregion
  exports.version = version;
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rolldown/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0275s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "//#region .../fixtures/build-in/typescript.mts
- const version = "0.0.3";
+ const version = "0.0.4";
  //#endregion
  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rollup/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0488s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

- "const version = "0.0.3";
+ "const version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rollup/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0335s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "'use strict';

  module.exports = {
-   version: '0.0.3'
+   version: '0.0.4'
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rollup/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0343s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

- "const version = '0.0.3';
+ "const version = '0.0.4';

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rollup/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0469s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "'use strict';

- const version = "0.0.3";
+ const version = "0.0.4";

  exports.version = version;
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rollup/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0503s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

- "const version = "0.0.3";
+ "const version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rspack/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.144s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

@@ -18,10 +18,10 @@
  var __webpack_exports__ = {};
  __webpack_require__.d(__webpack_exports__, {
    r: () => (version)
  });

- const version = "0.0.3";
+ const version = "0.0.4";

  var __webpack_exports__version = __webpack_exports__.r;
  export { __webpack_exports__version as version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rspack/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0547s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -1,10 +1,10 @@
  "(() => {
  var __webpack_modules__ = ({
  MODULE_ID(module) {
  module.exports = {
-   version: '0.0.3'
+   version: '0.0.4'
  };


  },


 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rspack/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0452s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -17,10 +17,10 @@
  })();
  var __webpack_exports__ = {};
  __webpack_require__.d(__webpack_exports__, {
    r: () => (version)
  });
- const version = '0.0.3';
+ const version = '0.0.4';

  var __webpack_exports__version = __webpack_exports__.r;
  export { __webpack_exports__version as version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rspack/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.145s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -31,9 +31,9 @@
  // webpack/runtime/rspack_unique_id
  (() => {
  __webpack_require__.ruid = "bundler=rspack@1.7.11";
  })();

- const version = "0.0.3";
+ const version = "0.0.4";

  })()
  ;"

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/rspack/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.143s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -18,10 +18,10 @@
  var __webpack_exports__ = {};
  __webpack_require__.d(__webpack_exports__, {
    r: () => (version)
  });

- const version = "0.0.3";
+ const version = "0.0.4";

  var __webpack_exports__version = __webpack_exports__.r;
  export { __webpack_exports__version as version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/tsup/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0656s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/custom-inject-tag.mts
- var version = "0.0.3";
+ var version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/tsup/custom-inject-tag.test.ts:23:5
tests/scenarios/tsup/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0861s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -7,11 +7,11 @@

  // .../fixtures/build-in/javascript.cjs
  var require_javascript = __commonJS({
    ".../fixtures/build-in/javascript.cjs"(exports, module) {
      module.exports = {
-       version: "0.0.3"
+       version: "0.0.4"
      };
    }
  });
  var javascript = require_javascript();


 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/tsup/js-based-cjs.test.ts:21:5
tests/scenarios/tsup/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0684s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/javascript.mjs
- var version = "0.0.3";
+ var version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/tsup/js-based-esm.test.ts:21:5
tests/scenarios/tsup/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0655s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "'use strict';

  // .../fixtures/build-in/typescript.cts
- var version = "0.0.3";
+ var version = "0.0.4";

  exports.version = version;
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/tsup/ts-based-cjs.test.ts:21:5
tests/scenarios/tsup/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0693s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "// .../fixtures/build-in/typescript.mts
- var version = "0.0.3";
+ var version = "0.0.4";

  export { version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ .../scenarios/tsup/ts-based-esm.test.ts:21:5
tests/scenarios/vite/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0863s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

- "const version = "0.0.3";
+ "const version = "0.0.4";
  export {
    version
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/vite/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.104s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -6,11 +6,11 @@
  var hasRequiredJavascript;
  function requireJavascript() {
    if (hasRequiredJavascript) return javascript$1;
    hasRequiredJavascript = 1;
    javascript$1 = {
-     version: "0.0.3"
+     version: "0.0.4"
    };
    return javascript$1;
  }
  var javascriptExports = requireJavascript();
  const javascript = /* @__PURE__ */ getDefaultExportFromCjs(javascriptExports);

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/vite/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.082s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

- "const version = "0.0.3";
+ "const version = "0.0.4";
  export {
    version
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/vite/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0839s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  ""use strict";
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
- const version = "0.0.3";
+ const version = "0.0.4";
  exports.version = version;
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/vite/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.0777s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

- "const version = "0.0.3";
+ "const version = "0.0.4";
  export {
    version
  };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/webpack/custom-inject-tag.test.ts > Custom Version Inject Tag > GIVEN custom tag THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.425s run time
Error: Snapshot `Custom Version Inject Tag > GIVEN custom tag THEN injects version 1` mismatched

- Expected
+ Received

@@ -23,10 +23,10 @@
  var __webpack_exports__ = {};
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   r: () => (/* binding */ version)
  /* harmony export */ });

- const version = "0.0.3";
+ const version = "0.0.4";

  const __webpack_exports__version = __webpack_exports__.r;
  export { __webpack_exports__version as version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/webpack/js-based-cjs.test.ts > JS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.37s run time
Error: Snapshot `JS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -3,11 +3,11 @@

  /***/ MODULE_ID
  (module) {

  module.exports = {
-   version: '0.0.3'
+   version: '0.0.4'
  };


  /***/ }


 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/webpack/js-based-esm.test.ts > JS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.385s run time
Error: Snapshot `JS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -22,10 +22,10 @@
  /************************************************************************/
  var __webpack_exports__ = {};
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   r: () => (/* binding */ version)
  /* harmony export */ });
- const version = '0.0.3';
+ const version = '0.0.4';

  const __webpack_exports__version = __webpack_exports__.r;
  export { __webpack_exports__version as version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/webpack/ts-based-cjs.test.ts > TS based CJS > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.402s run time
Error: Snapshot `TS based CJS > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

  "/******/ (() => { // webpackBootstrap
  /******/ 	"use strict";
  /* unused harmony export version */

- const version = "0.0.3";
+ const version = "0.0.4";

  /******/ })()
  ;"

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5
tests/scenarios/webpack/ts-based-esm.test.ts > TS based ESM > GIVEN no plugin options THEN injects version

Flake rate in main: 100.00% (Passed 0 times, Failed 8 times)

Stack Traces | 0.413s run time
Error: Snapshot `TS based ESM > GIVEN no plugin options THEN injects version 1` mismatched

- Expected
+ Received

@@ -23,10 +23,10 @@
  var __webpack_exports__ = {};
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   r: () => (/* binding */ version)
  /* harmony export */ });

- const version = "0.0.3";
+ const version = "0.0.4";

  const __webpack_exports__version = __webpack_exports__.r;
  export { __webpack_exports__version as version };
  "

 ❯ assertFileContent tests/common/util.ts:256:23
 ❯ tests/common/bundler-scenarios.ts:25:5

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@RedStar071

Copy link
Copy Markdown
Owner Author

@cursor review

@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 8c19939. Configure here.

Comment thread pnpm-lock.yaml Outdated
cursoragent and others added 3 commits June 7, 2026 16:23
…ings

farm-plugin-replace-dirname-linux-arm64-musl@0.2.1 incorrectly had
libc: glibc despite being a musl native binary. Also add the missing
libc: musl annotation for the x64-musl sibling so pnpm resolves the
correct optional dependency on musl-based Linux.
@autofix-troubleshooter

Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

RedStar071 and others added 2 commits June 25, 2026 16:20
Snapshots still expected 0.0.2 after v0.0.3 release; CI and autofix
were failing until expectations matched package.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
@RedStar071 RedStar071 merged commit f873907 into main Jun 26, 2026
9 checks passed
@RedStar071 RedStar071 deleted the chore/upgrade-pnpm-11 branch June 26, 2026 08:08
@github-actions github-actions Bot mentioned this pull request Jun 26, 2026
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.

3 participants