Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved ESM support for all public packages for vitest #4510

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

heath-freenome
Copy link
Member

@heath-freenome heath-freenome commented Mar 5, 2025

Reasons for making this change

According to this vitest discussion we needed to add exports to all package.json files

  • Updated the building of ESM modules to run tsc-alias to append the .js extensions onto the imports for ESM builds
  • For those builds that use lodash also added a replacer for the tsc-alias that switches things to use lodash-es

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

@heath-freenome heath-freenome force-pushed the improve-esm-exports branch 4 times, most recently from 9a86802 to dcfaf1c Compare March 5, 2025 04:08
- Updated the building of ESM modules to run `tsc-alias` to append the `.js` extensions onto the imports for ESM builds
- For those builds that use `lodash` also added a replacer for the `tsc-alias` that switches things to use `lodash-es`
@heath-freenome heath-freenome changed the title Improved ESM support for all public packages Improved ESM support for all public packages for vitest Mar 5, 2025
@heath-freenome heath-freenome merged commit 662ebf7 into rjsf-team:main Mar 5, 2025
5 checks passed
MarekBodingerBA added a commit to bratislava/konto.bratislava.sk that referenced this pull request Mar 6, 2025
MarekBodingerBA added a commit to bratislava/konto.bratislava.sk that referenced this pull request Mar 6, 2025
* Update RJSF to latest version

* RJSF alias not needed anymore
rjsf-team/react-jsonschema-form#4510

* Fix wrong import

* Don't suggest RJSF and Ajv updates

* Add openapi-clients to dependabot
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.

3 participants