Skip to content

build(deps-dev): upgrade pnpm to 11.2.2 - #207

Merged
Voziv merged 2 commits into
mainfrom
chore/upgrade-pnpm-11
May 23, 2026
Merged

Voziv merged 2 commits into
mainfrom
chore/upgrade-pnpm-11

Conversation

@Voziv

@Voziv Voziv commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade pnpm 10.6.5 → 11.2.2. pnpm 11 no longer reads the pnpm field in package.json and removed onlyBuiltDependencies, so the build allowlist (pre-commit, spawn-sync, unrs-resolver) moves to an allowBuilds map in a new pnpm-workspace.yaml. Without this, those build scripts are silently skipped.
  • Repair eslint config. @stylistic v5 renamed func-call-spacing → function-call-spacing, which broke config loading entirely — so the linter had never actually run, hiding latent violations. Renames the rule, adds jest globals for __tests__/__mocks__, drops an unused import, covers a second any with eslint-disable, and applies lint:fix formatting.

Notes

  • pnpm 11's new default 24h minimumReleaseAge is kept (deliberate). Frozen installs can transiently fail for up to 24h after a dependency bump until the new package ages out — relevant given dependabot auto-merge.
  • The lockfile is unchanged (still lockfileVersion 9.0); a regeneration is a no-op and contains no <24h-old packages.
  • dist/ is not rebuilt here — it's regenerated by the release workflow. A local build produced a byte-identical bundle.
  • One pre-existing test failure (execCommand returns an err on failure in lib.test.ts) is unrelated to this change and left untouched.

Test plan

  • pnpm i --frozen-lockfile passes under pnpm 11
  • pnpm run lint exits clean
  • pnpm run build succeeds, dist/index.js byte-identical
  • pnpm run test — 27 pass (1 pre-existing, unrelated failure)

Voziv added 2 commits May 23, 2026 12:27
Bump packageManager from 10.6.5. pnpm 11 no longer reads the `pnpm`
field in package.json and deprecates `onlyBuiltDependencies`, so move
the build allowlist to `allowBuilds` in pnpm-workspace.yaml.
@Stylistic v5 renamed func-call-spacing to function-call-spacing,
which broke eslint config loading. Rename the rule, add jest globals
for test and mock files, drop an unused import, cover a second `any`
with eslint-disable, and apply lint:fix formatting.
@github-actions

Copy link
Copy Markdown

Coverage report

St.❔
Category Percentage Covered / Total
🟢 Statements 88.39% 137/155
🟡 Branches 77.61% 52/67
🟢 Functions 91.18% 31/34
🟢 Lines 88.31% 136/154

Test suite run success

28 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from cafd2ca

@Voziv Voziv changed the title Upgrade pnpm to 11.2.2 and repair eslint config build(deps-dev): upgrade pnpm to 11.2.2 May 23, 2026
@Voziv
Voziv merged commit f69a1e6 into main May 23, 2026
5 of 6 checks passed
@Voziv
Voziv deleted the chore/upgrade-pnpm-11 branch May 23, 2026 18:04
argocd-diff-action-bot Bot pushed a commit that referenced this pull request May 24, 2026
## [0.6.12](0.6.11...0.6.12) (2026-05-24)

### ⚠ BREAKING CHANGES

* run on Node 24 runtime and upgrade dependencies (#208)

### Build & Dependencies

* **deps-dev:** upgrade pnpm to 11.2.2 ([#207](#207)) ([f69a1e6](f69a1e6))

### Documentation

* add CLAUDE.md ([664ab77](664ab77))

### Features

* run on Node 24 runtime and upgrade dependencies ([#208](#208)) ([13477ad](13477ad)), closes [#175](#175)

### Bug Fixes

* use dynamic timezone abbreviation in PR comment timestamp ([#209](#209)) ([81f8e40](81f8e40))

[skip release]
@argocd-diff-action-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.6.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant