Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

build: modernize package tooling - #41

Merged
jestjosh merged 3 commits into
masterfrom
codex/modernize-package-tooling
Jun 20, 2026
Merged

build: modernize package tooling#41
jestjosh merged 3 commits into
masterfrom
codex/modernize-package-tooling

Conversation

@jestjosh

Copy link
Copy Markdown
Owner

What changed

  • Replaced the obsolete Babel 5, Karma, Travis, and Webpack 1-era setup with current Babel, ESLint, Webpack 5, jsdom, and Node built-in test runner.
  • Moved React and prop-types into peer dependencies while keeping modern dev versions for validation.
  • Updated tests to use current React rendering APIs.
  • Added GitHub Actions CI and refreshed README examples for modern React.
  • Updated the release build helper and verified CJS/ESM/UMD package outputs.

Why

The previous dependency graph could no longer install cleanly with modern npm because it mixed Webpack 1-era tooling with newer Karma packages. This keeps the library usable and publishable with current Node/npm tooling.

How to test

  • npm test
  • npm run build
  • npm audit
  • npm pack --dry-run
  • CJS and UMD export smoke check

Impact

No intended runtime API change. The package metadata now explicitly treats react and prop-types as peer dependencies. The PR targets master because this repository does not currently have a main branch.

@jestjosh
jestjosh marked this pull request as ready for review June 20, 2026 15:15
@jestjosh
jestjosh merged commit 42a1a7b into master Jun 20, 2026
2 checks passed
@jestjosh
jestjosh deleted the codex/modernize-package-tooling branch June 20, 2026 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant