Skip to content

chore(deps): upgrade dependencies to latest stable (2026-11-19) - #36

Merged
jmlweb merged 4 commits into
mainfrom
hustle/maintainer/upgrade-2026-11-19
Nov 22, 2026
Merged

jmlweb merged 4 commits into
mainfrom
hustle/maintainer/upgrade-2026-11-19

Conversation

@jmlweb

@jmlweb jmlweb commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Moves every workspace dependency to its latest stable version (npm-check-updates 23.1.0, --target latest --workspaces --root). The lockfile was regenerated with pnpm 12.21.0.

Upgrades

  • astro from 7.3.5 to 7.4.13
  • @astrojs/check from 0.9.10 to 0.9.12
  • @astrojs/sitemap from 3.7.4 to 3.7.6
  • @clack/prompts from 1.8.0 to 1.9.0
  • @commitlint/cli from 21.2.3 to 21.2.4
  • @commitlint/config-conventional from 21.2.3 to 21.2.4
  • eslint-plugin-n from 18.4.1 to 18.5.0
  • @jmlweb/commitlint-config from 4.1.0 to 4.1.1
  • @jmlweb/oxfmt-config-base from 0.2.2 to 0.2.3
  • @jmlweb/oxlint-config-node from 0.1.2 to 0.1.3
  • @jmlweb/oxlint-config-react from 0.1.1 to 0.1.2
  • @jmlweb/tsconfig-base from 2.0.0 to 2.0.1
  • @jmlweb/tsconfig-node from 2.0.0 to 2.0.1
  • @jmlweb/vitest-config from 3.0.1 to 3.0.2
  • next from 16.4.0 to 16.4.6
  • oxfmt from 0.72.0 to 0.79.0
  • oxlint from 1.87.0 to 1.94.0
  • oxlint-tsgolint from 7.0.2004 to 7.0.2007
  • playwright from 1.58.2 to 1.65.1
  • pnpm from 10.34.5 to 12.21.0
  • publint from 0.3.24 to 0.3.25
  • react from 19.3.0 to 19.3.1
  • react-dom from 19.3.0 to 19.3.1
  • svelte from 5.57.2 to 5.58.0
  • svelte-check from 4.7.7 to 4.7.8
  • @types/node from 22.20.4 to 22.20.5
  • vite from 8.3.3 to 8.3.8
  • @vitejs/plugin-react from 6.1.2 to 6.3.0
  • vitest from 5.0.1 to 5.1.1
  • vue from 3.5.44 to 3.5.45
  • vue-tsc from 3.3.13 to 3.3.14
  • wrangler from 4.144.0 to 4.165.0
  • zod from 4.6.6 to 4.6.7
  • @astrojs/astro2tsx from 0.1.3 to 0.1.4 (transitive, lockfile only; see the emnapi crash below)

Held back

  • typescript stays at 6.0.3 (7.0.2 is available). npm view typescript@7.0.2 main types shows only a bin: TypeScript 7 has no JS compiler API. The migrate svgr codemod needs that API (ADR-0035; its own error message asks for TypeScript 5 or 6), and so do astro check, vue-tsc and svelte-check. TypeScript 7 is still covered by pnpm typecheck:ts7, which passes.
  • @types/node stays on the 22 line (22.20.4 to 22.20.5, not 26.6.6). The lowest supported runtime is Node 22 (engines.node is ^22.20.0 || >=24.11.0, and the CI matrix is 22/24/26). The pnpm-workspace.yaml override moves to 22.20.5 too. No Node change was needed: no runtime major in use is EOL.

Breaking changes and what changed for them

  • pnpm 10 to 12 (packageManager).
    • pnpm 11 sets strictDepBuilds to true, so an unreviewed build script now fails the install (ERR_PNPM_IGNORED_BUILDS for esbuild and workerd). allowBuilds in pnpm-workspace.yaml sets both to false, which keeps pnpm 10's behavior of skipping them. esbuild ships its binaries as optional packages, and workerd only runs under wrangler dev.
    • pnpm 11 needs Node 22 or newer. CI already uses Node 22 at minimum. pnpm install --frozen-lockfile and pnpm test pass locally under Node 22.22.3.
    • Other changes in pnpm 11/12 don't touch this repo: no .npmrc and no git dependencies, and nothing calls --frozen-lockfile false. New installs now wait 1 day before resolving a just-published version (minimumReleaseAge).
    • Reviewer note: pnpm 11 publishes natively instead of calling npm publish. release.yml runs pnpm changeset publish, so the next release goes through pnpm's own publish. pnpm 11 has OIDC and provenance support, but this path can't be tested before a real release.
  • @clack/prompts 1.8 to 1.9. Prompts now resolve to Value | typeof CANCEL_SYMBOL, a unique symbol. The old orCancel<T>(value: T | symbol) guard inferred the symbol into T, which caused eight TS2322 errors in src/cli/init/prompts.ts. The guard is now typed as T | typeof CANCEL_SYMBOL, and the as T cast is gone. Runtime behavior is the same. A patch changeset covers the @clack/prompts and zod runtime bumps.
  • astro 7.3 to 7.4: emnapi crash. With the existing lockfile, @astrojs/check 0.9.12 kept @astrojs/astro2tsx 0.1.3. That version resolved the prerelease @emnapi/runtime@2.0.0-beta.2 against @emnapi/core@1.11.3, and astro check crashed with this.bridge.setLastError is not a function. pnpm update -r --depth Infinity @astrojs/astro2tsx moved it to 0.1.4, which has no emnapi peer. A fresh resolution picks the same version.
  • Site Vitest project collected the conformance tests. After the upgrade, the site Vitest project (getViteConfig) used the working directory as its root. Run from the repository root, its tests/**/*.test.ts include also matched tests/conformance/tests/types.test.ts. That test then ran twice at once, and one run deleted the other's generated components, so svelte-check / vue-tsc failed. apps/site/vitest.config.ts now sets root to its own folder. vitest list --project site shows only the site's own tests again. This explains why the total test count went up (940 vs 916 before the fix).
  • astro 7.4.13 needs Node >=22.23.4 (7.3.5 needed >=22.12.0). This only affects the private site (astro sync/astro check/astro build), and those CI jobs run on Node 24. The latest Node 22 release is 22.23.5.

Verification (local)

  • pnpm verify passes on Node 24.22.0 and on Node 25.8.0: build, lint, format check, typecheck, 940 tests and package checks.
  • pnpm install --frozen-lockfile and pnpm test pass on Node 22.22.3.
  • pnpm determinism:fingerprint, pnpm example:check, pnpm example:vite:check, pnpm site:check and pnpm typecheck:ts7 pass.
  • pnpm render:check (playwright 1.58 to 1.65): this host lacks WebKit's system libraries and I have no sudo, so I could only run it with Chromium and Firefox. Both give 57 pass, 0 fail, 4 skipped, and those columns are identical to the committed tests/render/matrix.json. WebKit is not verified locally. CI's render job will show it.
  • .github/dependabot.yml has no ignore rules (it only covers github-actions), so it is unchanged. No workflow files changed.

🤖 Generated with Claude Code

jmlweb and others added 2 commits November 19, 2026 03:22
Move every workspace dependency to its latest stable version, except
TypeScript (held at 6.0.3: TypeScript 7 has no JS compiler API, which
the migrate svgr codemod, astro check, vue-tsc and svelte-check need)
and @types/node (held on the Node 22 line, the lowest supported major).

- pnpm 12: allowBuilds in pnpm-workspace.yaml keeps esbuild and workerd
  build scripts skipped, as pnpm 10 did, instead of failing the install
- @clack/prompts 1.9: type the init cancel guard with CANCEL_SYMBOL
- astro 7.4: pin the site Vitest root so it no longer collects
  tests/conformance from the repository root
- refresh @astrojs/astro2tsx to 0.1.4 in the lockfile; 0.1.3 resolved a
  prerelease @emnapi/runtime that crashed astro check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ause

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jmlweb

jmlweb commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

🤖 hustle review: escalate — The PR adds an undisclosed minimumReleaseAgeExclude list in pnpm-workspace.yaml that bypasses pnpm's 1-day release cooldown for 11 freshly published versions, including a beta miniflare. This is a supply-chain policy decision. The pnpm 12 native publish path in release.yml is also untestable before a real release.

…ve aged

The eleven minimumReleaseAgeExclude entries were only needed on 2026-11-19, when
those versions were under pnpm's one-day minimum release age. A frozen install
passes without them.
@jmlweb
jmlweb merged commit f561905 into main Nov 22, 2026
23 checks passed
@jmlweb
jmlweb deleted the hustle/maintainer/upgrade-2026-11-19 branch November 22, 2026 18:50
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