Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,8 @@ out/

# typescript tsbuildinfo
*.tsbuildinfo
lodashReplacer.js
lodashReplacer.cjs
muiReplacer.js
muiReplacer.cjs
ajvReplacer.js
ajvReplacer.cjs
*Replacer.js
*Replacer.cjs

# Need this due to shadcn default utils folder is lib
!packages/shadcn/src/lib
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ should change the heading of the (upcoming) version to include a major version b

-->

# 6.0.0-beta.10

## @rjsf/mui

- Fixed build process to remove the `tsc-alias` replacer that was adding `/index.js` onto the `@mui/Xxxx` imports since MUI 7 has proper ESM support

# 6.0.0-beta.9

## @rjsf/antd
Expand Down
3 changes: 1 addition & 2 deletions packages/mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"src"
],
"scripts": {
"compileReplacer": "tsc -p tsconfig.replacer.json && move-file muiReplacer.js muiReplacer.cjs",
"build:ts": "npm run compileReplacer && rimraf ./lib && tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"build:ts": "rimraf ./lib && tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"build:cjs": "esbuild ./src/index.ts --bundle --outfile=dist/index.js --sourcemap --packages=external --format=cjs",
"build:esm": "esbuild ./src/index.ts --bundle --outfile=dist/mui.esm.js --sourcemap --packages=external --format=esm",
"build:umd": "rollup dist/mui.esm.js --format=umd --file=dist/mui.umd.js --name=@rjsf/mui",
Expand Down
8 changes: 1 addition & 7 deletions packages/mui/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
],
"tsc-alias": {
"resolveFullPaths": true,
"verbose": true,
"replacers": {
"lodash": {
"enabled": true,
"file": "muiReplacer.cjs"
}
}
"verbose": true
}
}
15 changes: 0 additions & 15 deletions packages/mui/tsconfig.replacer.json

This file was deleted.

15 changes: 0 additions & 15 deletions tsc-alias-replacer/muiReplacer.ts

This file was deleted.