Skip to content

Conversation

heath-freenome
Copy link
Member

@heath-freenome heath-freenome commented Sep 3, 2025

Reasons for making this change

Fixes #4757 by switching the cjs build process to produce .cjs files instead of .js files in the distribution

  • Updated all package.json files to change the build:cjs script to produce .cjs files and the exports for the require blocks to use .cjs
  • Updated the v6.x upgrade guide.md and CHANGELOG.md to document the change

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npx nx run-many --target=build --exclude=@rjsf/docs && npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

Fixes rjsf-team#4757 by switching the `cjs` build process to produce `.cjs` files instead of `.js` files in the distribution
- Updated all `package.json` files to change the `build:cjs` script to produce `.cjs` files
- Updated the `v6.x upgrade guide.md` and `CHANGELOG.md` to document the change
@heath-freenome heath-freenome merged commit 0c6dfa5 into rjsf-team:main Sep 3, 2025
4 checks passed
@heath-freenome heath-freenome deleted the fix-4754 branch September 3, 2025 17:15
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