Repository navigation
Description
Context
fixtures/vue was scaffolded from npm create vue around November 2024 and has not been refreshed since. It is now far enough behind that its own build script no longer works — and because the suite installs fixtures but never runs their scripts, nothing has reported it.
The fixture pins "typescript": "~5.6.3" but floats "@tsconfig/node22": "^22.0.0". @tsconfig/node22@22.0.2 (published 2025-05-20) changed its base config to "lib": ["es2024", …], and TypeScript 5.6's accepted --lib list stops at es2023:
node_modules/@tsconfig/node22/tsconfig.json(6,13): error TS6046:
Argument for '--lib' option must be: 'es5', …, 'es2023', 'esnext', …
So npm run build — run-p type-check "build-only {@}" -- — exits non-zero. The build-only (vite) half still succeeds and test:unit still passes; it is the vue-tsc --build half that fails. Verified identically across npm, yarn classic, yarn berry, yarn canary, pnpm, vlt, bun, deno, aube and upm, so this is fixture drift rather than anything package-manager specific.
What a refresh changes
A fresh create-vue@3.24.0 scaffold with the same feature set (TypeScript, JSX, Router, Pinia, Vitest, Playwright, ESLint, Prettier) installs, builds and unit-tests clean on Node 24:
$ npm run build # type-check + build-only
✓ built in 498ms → rc=0
$ npm run test:unit
Test Files 1 passed (1) → rc=0
Dependency jumps, current fixture → fresh scaffold:
| now | fresh | |
|---|---|---|
| vue | ^3.5.13 | ^3.5.42 |
| vue-router | ^4.4.5 | ^5.3.1 |
| pinia | ^2.2.6 | ^4.0.3 |
| vite | ^6.0.1 | ^8.2.2 |
| vitest | ^2.1.5 | ^4.1.11 |
| typescript | ~5.6.3 | ~6.0.0 |
| vue-tsc | ^2.1.10 | ^3.3.11 |
| eslint | ^9.14.0 | ^10.10.0 |
@tsconfig/node22 |
^22.0.0 | @tsconfig/node24 ^24.0.5 |
| npm-run-all2 | ^7.0.1 | ^9.0.3 |
Structural changes to be aware of:
eslint.config.js→eslint.config.ts, which brings injiti.- oxlint is now always included with ESLint: new
oxlint+eslint-plugin-oxlintdeps and an.oxlintrc.json. lintbecomesrun-s "lint:*"over newlint:oxlintandlint:eslintscripts;formatgains--experimental-cli.@vue/eslint-config-prettieris replaced byeslint-config-prettier.- An
enginesfield appears:"node": "^22.18.0 || >=24.12.0". The suite's Node 24 satisfies it today, but it is a new constraint. - New files:
.oxlintrc.json,.gitattributes,.vscode/.
The script names the suite cares about — dev, build, test:unit — are unchanged.
This changes what the fixture measures
The refreshed tree is 399 packages / 241 MB against the current fixture's 452 packages / 219 MB under npm. Both the package count and the install size move, so vue's rows will shift on the day this lands for reasons that have nothing to do with package-manager performance — including the per-package normalisation, which divides by that count. Worth landing deliberately and annotating on the chart rather than letting it look like a regression.
A refresh alone does not remove the underlying exposure
Both the breakage above and a second one on the same day come from floating ranges on devDependencies that exist only to be installed.
On 2026-11-05, playwright@1.65.0 was published at 18:28 UTC depending on playwright-core@1.65.0, which did not exist until 20:17 UTC. For that ~1h49m window the fixture's "@playwright/test": "^1.49.0" resolved into a broken chain, and the ten package managers split in half over it: npm, yarn classic, vlt and bun failed the install outright; yarn berry, yarn canary, pnpm, deno, aube and upm backtracked to @playwright/test@1.64.1 and installed something other than what they installed the day before. Confirmed against fully isolated caches, so it is resolver behaviour rather than cache state. A scheduled run inside that window would have lost the vue column for four managers and silently changed the tree for the other six.
The fresh scaffold still floats "@playwright/test": "^1.63.0", so refreshing does not close this. Worth pinning the fixture's devDependencies to exact versions as part of the same change — a benchmark fixture wants to be a fixed point, and every floating range is a scheduled outage.
Also worth knowing when this next happens: npm install --silent, which is what BENCH_INSTALL_NPM runs, exits non-zero having written zero bytes to stdout and stderr, so the failure lands in npm-output-<n>.log as an empty file with no reason in it.
Acceptance criteria
- Re-scaffold
fixtures/vuefrom currentnpm create vuewith the same feature set (TypeScript, JSX, Router, Pinia, Vitest, Playwright, ESLint, Prettier). - Preserve
fixtures/vue/vlt.jsonand anything else the suite adds that is not part of the scaffold. - Confirm
dev,buildandtest:unitall pass against the refreshed fixture before landing. - Pin the fixture's devDependencies to exact versions (or add overrides) so a transitive publish cannot change what the benchmark installs.
- Record the package-count and install-size step change so vue's history is readable across the transition.
- Consider whether
astro,svelteandnexthave drifted the same way —nextis still on15.0.3with a19.0.0-rcReact.
Related
A post-install health gate would have caught this in May 2025 rather than eighteen months later: install each fixture once per package manager and run its own build/test, or a dev-server probe. The checks are cheap — the slowest is about 30 s (next build then next start) and most are under 3 s.
Activity