Skip to content

chore: bump all dependencies to latest - #229

Merged
trygve-lie merged 1 commit into
mainfrom
chore/bump-dependencies
Aug 13, 2026
Merged

chore: bump all dependencies to latest#229
trygve-lie merged 1 commit into
mainfrom
chore/bump-dependencies

Conversation

@trygve-lie

Copy link
Copy Markdown
Contributor

Summary

  • Bumps all dev and prod dependencies to their latest versions
  • All 93 tests and lint pass

Major version bumps

Package From To
@eik/eslint-config 1.0.25 2.0.15
eslint 9.39.5 10.8.1
npm-run-all2 8.0.4 9.0.3
typescript 5.8.3 7.0.2
webpack-cli 6.0.1 7.2.2

TypeScript 7 migration

TypeScript 7 restructured its package to ESM-only and removed the legacy compiler API:

  • tsconfig.json: added explicit rootDir and types: ["node"]
  • tsconfig.test.json: same, plus noImplicitAny: false and strictNullChecks: false (regex match groups are possibly null throughout the test suite)
  • package.json: added tap.type-strip-only: true to skip ts-node

Source fixes

  • src/loader.js: added @this {import('webpack').LoaderContext<any>} JSDoc (TS7 now requires explicit this typing in functions that use it)
  • src/loader.js: replaced .concat() with spread syntax (e18e/prefer-spread-syntax from eslint-config 2.x)

Snapshot updates

webpack 5.109.2 generates slightly different bundle output. Snapshots regenerated with npm run test:snapshot.

Major version bumps:
- @eik/eslint-config 1 → 2 (adds e18e lint rules)
- eslint 9 → 10
- npm-run-all2 8 → 9
- typescript 5 → 7
- webpack-cli 6 → 7

TypeScript 7 changes (ESM-only, restructured API):
- Added rootDir and types:[node] to tsconfig.json
- Added rootDir, types:[node], noImplicitAny:false, strictNullChecks:false to tsconfig.test.json
- Added tap type-strip-only config to skip ts-node (incompatible with TS7)

src/loader.js fixes:
- Added @this JSDoc annotation for webpack loader context (required by TS7)
- Replaced .concat() with spread syntax (e18e/prefer-spread-syntax rule)

Updated snapshots for webpack 5.109.2 bundle output changes
@trygve-lie
trygve-lie merged commit c78c16d into main Aug 13, 2026
6 checks passed
@trygve-lie
trygve-lie deleted the chore/bump-dependencies branch August 13, 2026 14:20
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.0.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant