Skip to content

Commit 2b09f84

Browse files
Fix 4537 by removing exports from package.json files (rjsf-team#4585)
Fixes rjsf-team#4537 by removing `exports` block from the `package.json` files for each `packages` directory - Updated all `package.json` files to remove the `exports` block from them - Updated the `CHANGELOG.md` file accordingly
1 parent 3e4e0b3 commit 2b09f84

File tree

12 files changed

+5
-312
lines changed

12 files changed

+5
-312
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
1515
should change the heading of the (upcoming) version to include a major version bump.
1616
1717
-->
18+
# 5.24.10
19+
20+
## Dev / docs / playground
21+
22+
- Updated all `package.json` files in the `packages` directories to remove the `exports` blocks, fixing [#4537](https://github.com/rjsf-team/react-jsonschema-form/issues/4537)
1823

1924
# 5.24.9
2025

packages/antd/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
"main": "dist/index.js",
66
"module": "lib/index.js",
77
"typings": "lib/index.d.ts",
8-
"exports": {
9-
".": {
10-
"require": "./dist/index.js",
11-
"import": "./lib/index.js",
12-
"types": "./lib/index.d.ts"
13-
},
14-
"./lib": {
15-
"require": "./dist/index.js",
16-
"import": "./lib/index.js",
17-
"types": "./lib/index.d.ts"
18-
},
19-
"./lib/*.js": {
20-
"require": "./dist/*.js",
21-
"import": "./lib/*.js",
22-
"types": "./lib/*.d.ts"
23-
},
24-
"./dist": {
25-
"require": "./dist/index.js",
26-
"import": "./lib/index.js",
27-
"types": "./lib/index.d.ts"
28-
},
29-
"./dist/*.js": {
30-
"require": "./dist/*.js",
31-
"import": "./lib/*.js",
32-
"types": "./lib/*.d.ts"
33-
}
34-
},
358
"scripts": {
369
"compileReplacer": "tsc -p tsconfig.replacer.json",
3710
"build:ts": "npm run compileReplacer && rimraf ./lib && tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json",

packages/bootstrap-4/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,6 @@
44
"main": "dist/index.js",
55
"module": "lib/index.js",
66
"typings": "lib/index.d.ts",
7-
"exports": {
8-
".": {
9-
"require": "./dist/index.js",
10-
"import": "./lib/index.js",
11-
"types": "./lib/index.d.ts"
12-
},
13-
"./lib": {
14-
"require": "./dist/index.js",
15-
"import": "./lib/index.js",
16-
"types": "./lib/index.d.ts"
17-
},
18-
"./lib/*.js": {
19-
"require": "./dist/*.js",
20-
"import": "./lib/*.js",
21-
"types": "./lib/*.d.ts"
22-
},
23-
"./dist": {
24-
"require": "./dist/index.js",
25-
"import": "./lib/index.js",
26-
"types": "./lib/index.d.ts"
27-
},
28-
"./dist/*.js": {
29-
"require": "./dist/*.js",
30-
"import": "./lib/*.js",
31-
"types": "./lib/*.d.ts"
32-
}
33-
},
347
"description": "Bootstrap 4 theme, fields and widgets for react-jsonschema-form",
358
"files": [
369
"dist",

packages/chakra-ui/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
"main": "dist/index.js",
66
"module": "lib/index.js",
77
"typings": "lib/index.d.ts",
8-
"exports": {
9-
".": {
10-
"require": "./dist/index.js",
11-
"import": "./lib/index.js",
12-
"types": "./lib/index.d.ts"
13-
},
14-
"./lib": {
15-
"require": "./dist/index.js",
16-
"import": "./lib/index.js",
17-
"types": "./lib/index.d.ts"
18-
},
19-
"./lib/*.js": {
20-
"require": "./dist/*.js",
21-
"import": "./lib/*.js",
22-
"types": "./lib/*.d.ts"
23-
},
24-
"./dist": {
25-
"require": "./dist/index.js",
26-
"import": "./lib/index.js",
27-
"types": "./lib/index.d.ts"
28-
},
29-
"./dist/*.js": {
30-
"require": "./dist/*.js",
31-
"import": "./lib/*.js",
32-
"types": "./lib/*.d.ts"
33-
}
34-
},
358
"files": [
369
"dist",
3710
"lib",

packages/core/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,33 +28,6 @@
2828
"main": "dist/index.js",
2929
"module": "lib/index.js",
3030
"typings": "lib/index.d.ts",
31-
"exports": {
32-
".": {
33-
"require": "./dist/index.js",
34-
"import": "./lib/index.js",
35-
"types": "./lib/index.d.ts"
36-
},
37-
"./lib": {
38-
"require": "./dist/index.js",
39-
"import": "./lib/index.js",
40-
"types": "./lib/index.d.ts"
41-
},
42-
"./lib/*.js": {
43-
"require": "./dist/*.js",
44-
"import": "./lib/*.js",
45-
"types": "./lib/*.d.ts"
46-
},
47-
"./dist": {
48-
"require": "./dist/index.js",
49-
"import": "./lib/index.js",
50-
"types": "./lib/index.d.ts"
51-
},
52-
"./dist/*.js": {
53-
"require": "./dist/*.js",
54-
"import": "./lib/*.js",
55-
"types": "./lib/*.d.ts"
56-
}
57-
},
5831
"files": [
5932
"dist",
6033
"lib",

packages/fluent-ui/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,6 @@
44
"main": "dist/index.js",
55
"module": "lib/index.js",
66
"typings": "lib/index.d.ts",
7-
"exports": {
8-
".": {
9-
"require": "./dist/index.js",
10-
"import": "./lib/index.js",
11-
"types": "./lib/index.d.ts"
12-
},
13-
"./lib": {
14-
"require": "./dist/index.js",
15-
"import": "./lib/index.js",
16-
"types": "./lib/index.d.ts"
17-
},
18-
"./lib/*.js": {
19-
"require": "./dist/*.js",
20-
"import": "./lib/*.js",
21-
"types": "./lib/*.d.ts"
22-
},
23-
"./dist": {
24-
"require": "./dist/index.js",
25-
"import": "./lib/index.js",
26-
"types": "./lib/index.d.ts"
27-
},
28-
"./dist/*.js": {
29-
"require": "./dist/*.js",
30-
"import": "./lib/*.js",
31-
"types": "./lib/*.d.ts"
32-
}
33-
},
347
"description": "Fluent UI theme, fields and widgets for react-jsonschema-form",
358
"files": [
369
"dist",

packages/fluentui-rc/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,6 @@
2727
"main": "dist/index.js",
2828
"module": "lib/index.js",
2929
"typings": "lib/index.d.ts",
30-
"exports": {
31-
".": {
32-
"require": "./dist/index.js",
33-
"import": "./lib/index.js",
34-
"types": "./lib/index.d.ts"
35-
},
36-
"./lib": {
37-
"require": "./dist/index.js",
38-
"import": "./lib/index.js",
39-
"types": "./lib/index.d.ts"
40-
},
41-
"./lib/*.js": {
42-
"require": "./dist/*.js",
43-
"import": "./lib/*.js",
44-
"types": "./lib/*.d.ts"
45-
},
46-
"./dist": {
47-
"require": "./dist/index.js",
48-
"import": "./lib/index.js",
49-
"types": "./lib/index.d.ts"
50-
},
51-
"./dist/*.js": {
52-
"require": "./dist/*.js",
53-
"import": "./lib/*.js",
54-
"types": "./lib/*.d.ts"
55-
}
56-
},
5730
"files": [
5831
"dist",
5932
"lib",

packages/material-ui/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
"module": "./lib/index.js",
66
"types": "./lib/index.d.ts",
77
"description": "Material UI 4 theme, fields and widgets for react-jsonschema-form",
8-
"exports": {
9-
".": {
10-
"require": "./dist/index.js",
11-
"import": "./lib/index.js",
12-
"types": "./lib/index.d.ts"
13-
},
14-
"./lib": {
15-
"require": "./dist/index.js",
16-
"import": "./lib/index.js",
17-
"types": "./lib/index.d.ts"
18-
},
19-
"./lib/*.js": {
20-
"require": "./dist/*.js",
21-
"import": "./lib/*.js",
22-
"types": "./lib/*.d.ts"
23-
},
24-
"./dist": {
25-
"require": "./dist/index.js",
26-
"import": "./lib/index.js",
27-
"types": "./lib/index.d.ts"
28-
},
29-
"./dist/*.js": {
30-
"require": "./dist/*.js",
31-
"import": "./lib/*.js",
32-
"types": "./lib/*.d.ts"
33-
}
34-
},
358
"files": [
369
"dist",
3710
"lib",

packages/mui/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
"module": "./lib/index.js",
66
"types": "./lib/index.d.ts",
77
"description": "Material UI 5 theme, fields and widgets for react-jsonschema-form",
8-
"exports": {
9-
".": {
10-
"require": "./dist/index.js",
11-
"import": "./lib/index.js",
12-
"types": "./lib/index.d.ts"
13-
},
14-
"./lib": {
15-
"require": "./dist/index.js",
16-
"import": "./lib/index.js",
17-
"types": "./lib/index.d.ts"
18-
},
19-
"./lib/*.js": {
20-
"require": "./dist/*.js",
21-
"import": "./lib/*.js",
22-
"types": "./lib/*.d.ts"
23-
},
24-
"./dist": {
25-
"require": "./dist/index.js",
26-
"import": "./lib/index.js",
27-
"types": "./lib/index.d.ts"
28-
},
29-
"./dist/*.js": {
30-
"require": "./dist/*.js",
31-
"import": "./lib/*.js",
32-
"types": "./lib/*.d.ts"
33-
}
34-
},
358
"files": [
369
"dist",
3710
"lib",

packages/semantic-ui/package.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
"module": "lib/index.js",
66
"typings": "lib/index.d.ts",
77
"description": "Semantic UI theme, fields and widgets for react-jsonschema-form",
8-
"exports": {
9-
".": {
10-
"require": "./dist/index.js",
11-
"import": "./lib/index.js",
12-
"types": "./lib/index.d.ts"
13-
},
14-
"./lib": {
15-
"require": "./dist/index.js",
16-
"import": "./lib/index.js",
17-
"types": "./lib/index.d.ts"
18-
},
19-
"./lib/*.js": {
20-
"require": "./dist/*.js",
21-
"import": "./lib/*.js",
22-
"types": "./lib/*.d.ts"
23-
},
24-
"./dist": {
25-
"require": "./dist/index.js",
26-
"import": "./lib/index.js",
27-
"types": "./lib/index.d.ts"
28-
},
29-
"./dist/*.js": {
30-
"require": "./dist/*.js",
31-
"import": "./lib/*.js",
32-
"types": "./lib/*.d.ts"
33-
}
34-
},
358
"files": [
369
"dist",
3710
"lib",

0 commit comments

Comments
 (0)