Patch Changes
-
#5807
b20a18e4dfc
Thanks @BatuhanW! - chore: update jscodeshift version to 0.15.2 -
#5765
0c197d82393
Thanks @aliemir! - refactor: package bundles and package.json configuration for exportsPreviously, Refine packages had exported ESM and CJS bundles with same
.js
extension and same types for both with.d.ts
extensions. This was causing issues with bundlers and compilers to pick up the wrong files for the wrong environment. Now we're outputting ESM bundles with.mjs
extension and CJS bundles with.cjs
extension. Also types are now exported with both.d.mts
and.d.cts
extensions.In older versions ESM and CJS outputs of some packages were using wrong imports/requires to dependencies causing errors in some environments. This will be fixed since now we're also enforcing the module type with extensions.
Above mentioned changes also supported with changes in
package.json
files of the packages to support the new extensions and types. All Refine packages now includeexports
fields in their configuration to make sure the correct bundle is picked up by the bundlers and compilers. -
#5799
33a8a80d80f
Thanks @BatuhanW! - chore: update semver package version to 7.5.2. -
#5754
56ed144a0f5
Thanks @alicanerdurmaz! - chore: TypeScript upgraded to v5.x.x. #5752 -
#5739
e9bbb1aa5af
Thanks @aliemir! - Removed redundant usage ofIResourceComponentsProps
type in component templates ofadd resource
command. This type only works with legacy routers and<RefineRoutes />
component, its usage outside of these scopes are unnecessary. -
Updated dependencies [
b20a18e4dfc
,0c197d82393
,51f368eab1a
,56ed144a0f5
]:- @refinedev/devtools-server@1.1.26