Skip to content

Upgrade react commandersact wrapper 19 - #69

Merged
CommandersAct merged 3 commits into
masterfrom
upgrade-react-commandersact-wrapper-19
Jul 6, 2026
Merged

Upgrade react commandersact wrapper 19#69
CommandersAct merged 3 commits into
masterfrom
upgrade-react-commandersact-wrapper-19

Conversation

@CommandersAct

Copy link
Copy Markdown
Owner

No description provided.

- Babel 7.22->7.29 (not 8: requires Node >=22.18, out of reach)
- gulp 4->5, vitest 1.0->4.1, prettier 3.1->3.9
- drop unused webpack-cli devDependency
- remove dead gulpfile scripts task reading nonexistent ./lib
  (gulp 5 hard-fails ENOENT on missing src() dir; gulp 4 no-op'd)
- fix src/index.test.js for vitest 4: removed it(name, fn, {opts})
  signature (now numeric timeout), toThrowError -> toThrow rename
- bump engines.node and CI to >=20.19.0 (vitest 4 requires Node
  ^20/^22/>=24, excludes the previous Node 18 floor)

dist/ build output verified byte-identical pre/post upgrade.
- react/react-dom 18->19, react-router-dom 6->7
- vite 4->8, @vitejs/plugin-react 4->6
- vitest 0.33->4.1, jsdom, testing-library majors
- eslint 8->9 (not 10: eslint-plugin-react has no 10.x support yet)
- migrate .eslintrc.cjs to flat eslint.config.js (required at eslint 9+),
  preserving the existing rule set 1:1
- add @vitest/coverage-v8 (npm run coverage had no provider before)
- fix vite.config.js server.fs.allow: the app imports the repo-root
  README.md?raw, which vite 8's stricter default now denies
- gitignore coverage/ output
- bump highlight.js/marked/marked-highlight to current majors

Verified: lint (0 warnings), tests, coverage, dev server, production
build and preview all pass.
@CommandersAct
CommandersAct marked this pull request as ready for review July 6, 2026 09:49
@CommandersAct
CommandersAct merged commit b7a9ed4 into master Jul 6, 2026
1 check passed
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.

2 participants