Skip to content

Commit 4f636fa

Browse files
committed
refactor(website): update 'configurations.mdx' and 'configurations.tsx'
1 parent 31be9c8 commit 4f636fa

File tree

29 files changed

+250
-130
lines changed

29 files changed

+250
-130
lines changed

examples/dual-react-dom-lib/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@examples/dual-react-dom-lib",
33
"version": "0.0.0",
44
"license": "MIT",
5+
"sideEffects": false,
56
"exports": {
67
".": {
78
"import": {
@@ -16,6 +17,7 @@
1617
"./package.json": "./package.json"
1718
},
1819
"main": "dist/index.js",
20+
"module": "dist/index.mjs",
1921
"types": "dist/index.d.ts",
2022
"files": [
2123
"dist",
@@ -46,10 +48,8 @@
4648
"peerDependencies": {
4749
"react": "^19.0.0"
4850
},
51+
"packageManager": "[email protected]",
4952
"engines": {
5053
"node": ">=18.18.0"
51-
},
52-
"sideEffects": false,
53-
"module": "dist/index.mjs",
54-
"packageManager": "[email protected]"
54+
}
5555
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@
111111
},
112112
"pnpm": {
113113
"overrides": {
114-
"is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
115-
"safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.41",
116-
"safer-buffer": "npm:@nolyfill/safer-buffer@^1.0.41",
117-
"typedarray": "npm:@nolyfill/typedarray@^1.0.29",
118114
"@types/react": "^19.0.8",
119115
"@types/react-dom": "^19.0.3",
120116
"cross-spawn": "^7.0.6",
117+
"is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
121118
"react": "^19.0.0",
122119
"react-dom": "^19.0.0",
120+
"safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.41",
121+
"safer-buffer": "npm:@nolyfill/safer-buffer@^1.0.41",
123122
"ts-api-utils": "^2.0.0",
123+
"typedarray": "npm:@nolyfill/typedarray@^1.0.29",
124124
"typescript": "^5.7.3"
125125
}
126126
}

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"license": "MIT",
1515
"author": "Eva1ent<[email protected]>",
16+
"sideEffects": false,
1617
"exports": {
1718
".": {
1819
"import": {
@@ -27,6 +28,7 @@
2728
"./package.json": "./package.json"
2829
},
2930
"main": "dist/index.js",
31+
"module": "dist/index.mjs",
3032
"types": "dist/index.d.ts",
3133
"files": [
3234
"dist",
@@ -59,7 +61,5 @@
5961
"engines": {
6062
"bun": ">=1.0.15",
6163
"node": ">=18.18.0"
62-
},
63-
"sideEffects": false,
64-
"module": "dist/index.mjs"
64+
}
6565
}

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"license": "MIT",
2323
"author": "Eva1ent<[email protected]>",
24+
"sideEffects": false,
2425
"exports": {
2526
".": {
2627
"import": {
@@ -35,6 +36,7 @@
3536
"./package.json": "./package.json"
3637
},
3738
"main": "dist/index.js",
39+
"module": "dist/index.mjs",
3840
"types": "./dist/index.d.ts",
3941
"files": [
4042
"dist",
@@ -84,7 +86,5 @@
8486
},
8587
"publishConfig": {
8688
"access": "public"
87-
},
88-
"sideEffects": false,
89-
"module": "dist/index.mjs"
89+
}
9090
}

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"license": "MIT",
2323
"author": "Eva1ent<[email protected]>",
24+
"sideEffects": false,
2425
"exports": {
2526
".": {
2627
"import": {
@@ -35,6 +36,7 @@
3536
"./package.json": "./package.json"
3637
},
3738
"main": "dist/index.js",
39+
"module": "dist/index.mjs",
3840
"types": "dist/index.d.ts",
3941
"files": [
4042
"dist",
@@ -84,7 +86,5 @@
8486
},
8587
"publishConfig": {
8688
"access": "public"
87-
},
88-
"sideEffects": false,
89-
"module": "dist/index.mjs"
89+
}
9090
}

packages/plugins/eslint-plugin-react-hooks-extra/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
},
2323
"license": "MIT",
2424
"author": "Eva1ent<[email protected]>",
25+
"sideEffects": false,
2526
"exports": {
2627
".": {
2728
"import": {
@@ -36,6 +37,7 @@
3637
"./package.json": "./package.json"
3738
},
3839
"main": "dist/index.js",
40+
"module": "dist/index.mjs",
3941
"types": "dist/index.d.ts",
4042
"files": [
4143
"dist",
@@ -85,7 +87,5 @@
8587
},
8688
"publishConfig": {
8789
"access": "public"
88-
},
89-
"sideEffects": false,
90-
"module": "dist/index.mjs"
90+
}
9191
}

packages/plugins/eslint-plugin-react-naming-convention/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"license": "MIT",
2323
"author": "Eva1ent<[email protected]>",
24+
"sideEffects": false,
2425
"exports": {
2526
".": {
2627
"import": {
@@ -35,6 +36,7 @@
3536
"./package.json": "./package.json"
3637
},
3738
"main": "dist/index.js",
39+
"module": "dist/index.mjs",
3840
"types": "dist/index.d.ts",
3941
"files": [
4042
"dist",
@@ -83,7 +85,5 @@
8385
},
8486
"publishConfig": {
8587
"access": "public"
86-
},
87-
"sideEffects": false,
88-
"module": "dist/index.mjs"
88+
}
8989
}

packages/plugins/eslint-plugin-react-web-api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"license": "MIT",
2323
"author": "Eva1ent<[email protected]>",
24+
"sideEffects": false,
2425
"exports": {
2526
".": {
2627
"import": {
@@ -35,6 +36,7 @@
3536
"./package.json": "./package.json"
3637
},
3738
"main": "dist/index.js",
39+
"module": "dist/index.mjs",
3840
"types": "dist/index.d.ts",
3941
"files": [
4042
"dist",
@@ -83,7 +85,5 @@
8385
},
8486
"publishConfig": {
8587
"access": "public"
86-
},
87-
"sideEffects": false,
88-
"module": "dist/index.mjs"
88+
}
8989
}

packages/plugins/eslint-plugin-react-x/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
},
2121
"license": "MIT",
2222
"author": "Eva1ent<[email protected]>",
23+
"sideEffects": false,
2324
"exports": {
2425
".": {
2526
"import": {
@@ -34,6 +35,7 @@
3435
"./package.json": "./package.json"
3536
},
3637
"main": "dist/index.js",
38+
"module": "dist/index.mjs",
3739
"types": "dist/index.d.ts",
3840
"files": [
3941
"dist",
@@ -90,7 +92,5 @@
9092
},
9193
"publishConfig": {
9294
"access": "public"
93-
},
94-
"sideEffects": false,
95-
"module": "dist/index.mjs"
95+
}
9696
}

packages/plugins/eslint-plugin/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"license": "MIT",
2626
"author": "Eva1ent<[email protected]>",
27+
"sideEffects": false,
2728
"exports": {
2829
".": {
2930
"import": {
@@ -38,6 +39,7 @@
3839
"./package.json": "./package.json"
3940
},
4041
"main": "dist/index.js",
42+
"module": "dist/index.mjs",
4143
"types": "dist/index.d.ts",
4244
"files": [
4345
"dist",
@@ -85,7 +87,5 @@
8587
},
8688
"publishConfig": {
8789
"access": "public"
88-
},
89-
"sideEffects": false,
90-
"module": "dist/index.mjs"
90+
}
9191
}

0 commit comments

Comments
 (0)