Skip to content

fix: modernize react i18next compatibility#13

Merged
devakone merged 1 commit into
mainfrom
codex/update-modern-react-i18next-compat
Jun 5, 2026
Merged

fix: modernize react i18next compatibility#13
devakone merged 1 commit into
mainfrom
codex/update-modern-react-i18next-compat

Conversation

@devakone
Copy link
Copy Markdown
Owner

@devakone devakone commented Jun 2, 2026

Summary

  • Updates package compatibility metadata and dev dependencies for modern React, Formik, i18next, and react-i18next versions.
  • Fixes public source exports to use the existing kebab-case hook filenames.
  • Stabilizes i18n languageChanged cleanup handlers and forces Formik validation for translated touched-field errors.
  • Adds Vitest coverage for src/dist exports, Formik error revalidation behavior, listener cleanup, and data-i18n HTML translation.

Validation

  • npm test
  • npm pack --dry-run
  • node -e "const lib = require('./dist'); console.log(Object.keys(lib).sort().join(','))"

Notes

  • npm test now runs npm run build && vitest run.
  • The package still publishes only README, LICENSE, package metadata, and dist files via the existing files allowlist.

@devakone devakone changed the base branch from master to main June 3, 2026 00:06
@devakone devakone force-pushed the codex/update-modern-react-i18next-compat branch from 478f162 to dc1737a Compare June 3, 2026 14:41
@devakone devakone changed the title [codex] Modernize React i18next compatibility fix: modernize react i18next compatibility Jun 3, 2026
@devakone devakone marked this pull request as ready for review June 5, 2026 12:26
@devakone devakone merged commit 19341ff into main Jun 5, 2026
4 checks 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.

1 participant