Skip to content

vite+ & dependency update#620

Merged
bezoerb merged 19 commits into
masterfrom
pnpm
May 17, 2026
Merged

vite+ & dependency update#620
bezoerb merged 19 commits into
masterfrom
pnpm

Conversation

@bezoerb

@bezoerb bezoerb commented May 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

bezoerb added 19 commits May 16, 2026 23:13
- Replace Jest with Vitest (via vite-plus)
- Replace XO/ESLint with Oxlint
- Replace Prettier with Oxfmt
- Convert all done() callback tests to Promise-based
- Add await to all expect().rejects/resolves assertions
- Update CI workflow to use voidzero-dev/setup-vp@v1
- Add coverage reporting with v8 provider
- Add vite.config.ts with test, lint, and fmt config
BREAKING CHANGE: Minimum Node.js version is now 22.12.0
Override minimatch to >=3.1.4 in pnpm-workspace.yaml to resolve
3 high-severity ReDoS vulnerabilities (GHSA-3ppc-4f35-3m26,
GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74) in postcss-url's
transitive dependency.
- Update engines to >=22.13.0 (pnpm@11.1.2 requires it)
- Use node version '22' in CI matrix (latest 22.x)
- Set run-install: false in setup-vp to use explicit install step
- Add github-token to coveralls action
- Add missing @vitest/coverage-v8 devDependency for coverage reports
- Add Node.js 24 to CI test matrix
Worker forks crash on Windows. Switch default pool to threads and use
Vitest projects config to run cli.test.js (which needs process.chdir)
in the forks pool.
Puppeteer's postinstall may not reliably download Chrome on all
platforms. Add an explicit install step to ensure Chrome is available
for tests on Windows + Node 24.
Instead of relying on Puppeteer's postinstall to download Chrome
(which fails intermittently on Windows CI runners), use the
browser-actions/setup-chrome action to install a stable Chrome
and point Puppeteer to it via PUPPETEER_EXECUTABLE_PATH.
PUPPETEER_SKIP_DOWNLOAD=true prevents redundant Chrome downloads.
@bezoerb bezoerb merged commit 24d99e6 into master May 17, 2026
16 checks passed
@bezoerb bezoerb deleted the pnpm branch May 17, 2026 09:46
bezoerb added a commit to baevm/critical that referenced this pull request May 17, 2026
# Via GitHub
* master:
  chore: bump actions (addyosmani#621)
  vite+ & dependency update (addyosmani#620)
  bump penthouse (addyosmani#617)
  fix: package.json & package-lock.json to reduce vulnerabilities (addyosmani#619)

# Conflicts:
#	cli.js
#	package-lock.json
#	package.json
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