Skip to content

chore: update dev dependencies (eslint 10, vitest 4.1.10) - #100

Merged
rot1024 merged 3 commits into
mainfrom
chore/update-deps
Jul 9, 2026
Merged

chore: update dev dependencies (eslint 10, vitest 4.1.10)#100
rot1024 merged 3 commits into
mainfrom
chore/update-deps

Conversation

@rot1024

@rot1024 rot1024 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Updated: eslint ^10.6.0 + eslint-config-reearth ^0.4.0 (new stricter vitest rules no-standalone-expect/no-conditional-expect disabled for the test-body-factory pattern in the existing test override; ~19 import type conversions auto-fixed), vitest + @vitest/coverage-v8 ^4.1.10, prettier ^3.9.4, vite ^7.3.6. Lockfile regenerated so npm ci passes (previous lock was missing new optional @emnapi transitives).
  • quickjs-emscripten stays 0.32.0 — it is the latest release.

Held back deliberately

Package Reason
typescript 7.0.2 vite-plugin-dts 4 crashes under the TS7 native compiler
typescript 6.0.3 build "succeeds" but silently emits an EMPTY 12-byte index.d.ts — api-extractor bundles TS 5.8 and can't analyze TS6 output
vite 8 + vite-plugin-dts 5 rolldown changes library bundle output; dts5's bundleTypes requires @microsoft/api-extractor which fails on the hoisted ajv v6 tree

Revisit when vite-plugin-dts supports TS7/vite8 cleanly.

Note for Renovate: PR #81 bumps exactly those three broken upgrades (typescript 6, vite 8, vite-plugin-dts 5) — recommend closing/holding #81 after this merges.

Verification

  • 184 tests pass
  • typecheck passes
  • lint passes
  • build passes
  • dist byte-identical to main

rot1024 added 3 commits July 9, 2026 15:25
A partial darwin-side regeneration dropped optional-dependency entries
needed on linux (npm/cli#4828), breaking npm ci in CI. Rebuilt the lock
from scratch (rm node_modules package-lock.json && npm install); the
fresh resolution also floats stale transitives past their advisories
(npm audit: 16 -> 0).
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 97.93% 805 / 822
🔵 Statements 93.76% 902 / 962
🔵 Functions 95.5% 191 / 200
🔵 Branches 85.09% 588 / 691
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/contextex.ts 95.65% 75% 100% 100% 31
src/index.ts 90.24% 84.35% 90% 93.47% 133-136, 251, 429, 443, 476-488, 499, 514, 525, 698, 721, 733, 734
Generated in workflow #599 for commit 551ccc0 by the Vitest Coverage Report Action

@rot1024
rot1024 merged commit 68022ab into main Jul 9, 2026
2 checks passed
@rot1024
rot1024 deleted the chore/update-deps branch July 9, 2026 09:29
@reearth-app reearth-app Bot mentioned this pull request Jul 9, 2026
4 tasks
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