Skip to content

Upgrade to pnpm 11#253

Merged
yosriady merged 4 commits into
mainfrom
chore/release-age
May 16, 2026
Merged

Upgrade to pnpm 11#253
yosriady merged 4 commits into
mainfrom
chore/release-age

Conversation

@yosriady
Copy link
Copy Markdown
Contributor

@yosriady yosriady commented May 14, 2026


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the min-release-age configuration in the .npmrc file. A review comment identifies that the value is interpreted in minutes, meaning the change to 2 reduces the threshold to two minutes rather than two days; a correction to 2880 was suggested to maintain the previous 48-hour duration.

Comment thread .npmrc Outdated
auto-install-peers=false
block-exotic-subdeps=true
min-release-age=48h
min-release-age=2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The min-release-age configuration in pnpm is measured in minutes. Changing this value to 2 sets the threshold to only 2 minutes, which is likely not the intended duration if you were aiming for 2 days (48 hours). To maintain a 48-hour window, the value should be 2880.

min-release-age=2880

@yosriady yosriady force-pushed the chore/release-age branch from e1f22bb to ab679f4 Compare May 14, 2026 04:50
@yosriady yosriady force-pushed the chore/release-age branch from ab679f4 to 5d28c09 Compare May 14, 2026 04:51
@yosriady yosriady changed the title Fix min release age units Upgrade to pnpm 11 May 14, 2026
@yosriady
Copy link
Copy Markdown
Contributor Author

yosriady commented May 14, 2026

TODO: update lockfile by running pnpm 11 locally after 48 hours min release age

yosriady and others added 2 commits May 17, 2026 06:01
- Ignore .claude/ (local Claude Code settings + worktrees) so the
  nested repo copies are never committed.
- Remove minReleaseAge: 2 from pnpm-workspace.yaml — not a valid pnpm
  key (silently ignored, leftover from old .npmrc). The active
  supply-chain cooldown remains minimumReleaseAge: 2880 (48h).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Dependabot could not auto-fix these (transitive dev deps with no
parent release bumping them), so pin via pnpm overrides — same
pattern already used for picomatch/diff/hono:

- serialize-javascript >=7.0.5 (was 6.0.2 via mocha): fixes RCE via
  RegExp.flags/Date.toISOString (#75) and CPU-exhaustion DoS (#103)
- fast-uri >=3.1.2 (was 3.1.0 via webpack/ts-loader): fixes path
  traversal (#104) and host confusion (#105)

Dev/build-only — not shipped in @formo/analytics. Full mocha suite
passes (594/594) with the serialize-javascript 6->7 major bump.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@yosriady yosriady merged commit c0edf5b into main May 16, 2026
10 checks passed
@yosriady yosriady deleted the chore/release-age branch May 16, 2026 23:11
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.

1 participant