Skip to content

Commit f95f052

Browse files
committed
squash! Initialize all the config packages
1 parent a9d1211 commit f95f052

File tree

4 files changed

+120
-124
lines changed

4 files changed

+120
-124
lines changed

packages/configs/eslint/package.json

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,23 @@
22
"name": "@reduxjs/eslint-config",
33
"version": "0.0.1",
44
"description": "ESLint configuration for Redux projects",
5-
"source": "./src/index.mts",
6-
"types": "./dist/index.d.ts",
7-
"main": "./dist/index.js",
8-
"module": "./dist/index.mjs",
5+
"keywords": [
6+
"eslint",
7+
"config",
8+
"eslint-config",
9+
"reduxjs",
10+
"redux-toolkit",
11+
"configuration"
12+
],
13+
"bugs": {
14+
"url": "https://github.com/reduxjs/redux-toolkit/issues"
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
19+
"directory": "packages/configs/eslint"
20+
},
21+
"sideEffects": false,
922
"exports": {
1023
"./package.json": "./package.json",
1124
".": {
@@ -19,6 +32,10 @@
1932
}
2033
}
2134
},
35+
"main": "./dist/index.js",
36+
"module": "./dist/index.mjs",
37+
"source": "./src/index.mts",
38+
"types": "./dist/index.d.ts",
2239
"files": [
2340
"dist",
2441
"src"
@@ -28,32 +45,11 @@
2845
"clean": "rimraf dist",
2946
"prepack": "yarn build"
3047
},
31-
"keywords": [
32-
"eslint",
33-
"config",
34-
"eslint-config",
35-
"reduxjs",
36-
"redux-toolkit",
37-
"configuration"
38-
],
39-
"publishConfig": {
40-
"access": "public"
41-
},
42-
"repository": {
43-
"type": "git",
44-
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
45-
"directory": "packages/configs/eslint"
46-
},
47-
"bugs": {
48-
"url": "https://github.com/reduxjs/redux-toolkit/issues"
49-
},
50-
"peerDependencies": {
51-
"eslint": ">= 8.56.0"
52-
},
53-
"peerDependenciesMeta": {
54-
"eslint": {
55-
"optional": true
56-
}
48+
"dependencies": {
49+
"@eslint/js": "^9.11.1",
50+
"@typescript-eslint/utils": "^8.7.0",
51+
"eslint-config-prettier": "^9.1.0",
52+
"typescript-eslint": "^8.7.0"
5753
},
5854
"devDependencies": {
5955
"@reduxjs/tsconfig": "workspace:^",
@@ -65,12 +61,15 @@
6561
"tsup": "^8.3.0",
6662
"typescript": "^5.6.2"
6763
},
68-
"dependencies": {
69-
"@eslint/js": "^9.11.1",
70-
"@typescript-eslint/utils": "^8.7.0",
71-
"eslint-config-prettier": "^9.1.0",
72-
"typescript-eslint": "^8.7.0"
64+
"peerDependencies": {
65+
"eslint": ">= 8.56.0"
7366
},
74-
"sideEffects": false,
75-
"homepage": "https://github.com/reduxjs/redux-toolkit/tree/master/packages/configs/eslint#readme"
67+
"peerDependenciesMeta": {
68+
"eslint": {
69+
"optional": true
70+
}
71+
},
72+
"publishConfig": {
73+
"access": "public"
74+
}
7675
}

packages/configs/prettier/package.json

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,23 @@
22
"name": "@reduxjs/prettier-config",
33
"version": "0.0.1",
44
"description": "Prettier configuration for Redux projects",
5-
"source": "./src/index.mts",
6-
"types": "./dist/index.d.ts",
7-
"module": "./dist/index.mjs",
8-
"main": "./dist/index.js",
5+
"keywords": [
6+
"prettier",
7+
"config",
8+
"prettier-config",
9+
"reduxjs",
10+
"redux-toolkit",
11+
"configuration"
12+
],
13+
"bugs": {
14+
"url": "https://github.com/reduxjs/redux-toolkit/issues"
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
19+
"directory": "packages/configs/prettier"
20+
},
21+
"sideEffects": false,
922
"exports": {
1023
"./package.json": "./package.json",
1124
".": {
@@ -19,6 +32,10 @@
1932
}
2033
}
2134
},
35+
"main": "./dist/index.js",
36+
"module": "./dist/index.mjs",
37+
"source": "./src/index.mts",
38+
"types": "./dist/index.d.ts",
2239
"files": [
2340
"dist",
2441
"src"
@@ -28,24 +45,13 @@
2845
"clean": "rimraf dist",
2946
"prepack": "yarn build"
3047
},
31-
"keywords": [
32-
"prettier",
33-
"config",
34-
"prettier-config",
35-
"reduxjs",
36-
"redux-toolkit",
37-
"configuration"
38-
],
39-
"publishConfig": {
40-
"access": "public"
41-
},
42-
"repository": {
43-
"type": "git",
44-
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
45-
"directory": "packages/configs/prettier"
46-
},
47-
"bugs": {
48-
"url": "https://github.com/reduxjs/redux-toolkit/issues"
48+
"devDependencies": {
49+
"@reduxjs/tsconfig": "workspace:^",
50+
"prettier": "^3.3.3",
51+
"rimraf": "^6.0.1",
52+
"tslib": "^2.7.0",
53+
"tsup": "^8.3.0",
54+
"typescript": "^5.6.2"
4955
},
5056
"peerDependencies": {
5157
"prettier": ">= 3"
@@ -55,14 +61,7 @@
5561
"optional": true
5662
}
5763
},
58-
"devDependencies": {
59-
"@reduxjs/tsconfig": "workspace:^",
60-
"prettier": "^3.3.3",
61-
"rimraf": "^6.0.1",
62-
"tslib": "^2.7.0",
63-
"tsup": "^8.3.0",
64-
"typescript": "^5.6.2"
65-
},
66-
"sideEffects": false,
67-
"homepage": "https://github.com/reduxjs/redux-toolkit/tree/master/packages/configs/prettier#readme"
64+
"publishConfig": {
65+
"access": "public"
66+
}
6867
}

packages/configs/typescript/package.json

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@
22
"name": "@reduxjs/tsconfig",
33
"version": "0.0.1",
44
"description": "TypeScript configuration for Redux projects",
5-
"main": "base/tsconfig.json",
6-
"exports": {
7-
"./package.json": "./package.json",
8-
".": "./base/tsconfig.json",
9-
"./node-next": "./node-next/tsconfig.json",
10-
"./base": "./base/tsconfig.json",
11-
"./cra": "./create-react-app/tsconfig.json",
12-
"./create-react-app": "./create-react-app/tsconfig.json",
13-
"./bundler": "./bundler/esnext/tsconfig.json",
14-
"./bundler/esnext": "./bundler/esnext/tsconfig.json",
15-
"./bundler/preserve": "./bundler/preserve/tsconfig.json"
16-
},
175
"keywords": [
186
"config",
197
"reduxjs",
@@ -23,17 +11,28 @@
2311
"ts",
2412
"configuration"
2513
],
26-
"publishConfig": {
27-
"access": "public"
14+
"bugs": {
15+
"url": "https://github.com/reduxjs/redux-toolkit/issues"
2816
},
2917
"repository": {
3018
"type": "git",
3119
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
3220
"directory": "packages/configs/typescript"
3321
},
34-
"bugs": {
35-
"url": "https://github.com/reduxjs/redux-toolkit/issues"
36-
},
3722
"sideEffects": false,
38-
"homepage": "https://github.com/reduxjs/redux-toolkit/tree/master/packages/configs/typescript#readme"
23+
"exports": {
24+
"./package.json": "./package.json",
25+
".": "./base/tsconfig.json",
26+
"./node-next": "./node-next/tsconfig.json",
27+
"./base": "./base/tsconfig.json",
28+
"./cra": "./create-react-app/tsconfig.json",
29+
"./create-react-app": "./create-react-app/tsconfig.json",
30+
"./bundler": "./bundler/esnext/tsconfig.json",
31+
"./bundler/esnext": "./bundler/esnext/tsconfig.json",
32+
"./bundler/preserve": "./bundler/preserve/tsconfig.json"
33+
},
34+
"main": "base/tsconfig.json",
35+
"publishConfig": {
36+
"access": "public"
37+
}
3938
}

packages/configs/vitest/package.json

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,24 @@
22
"name": "@reduxjs/vitest-config",
33
"version": "0.0.1",
44
"description": "Vitest configuration for Redux projects",
5-
"source": "./src/index.mts",
6-
"main": "./dist/index.js",
7-
"types": "./dist/index.d.ts",
8-
"module": "./dist/index.mjs",
5+
"keywords": [
6+
"config",
7+
"reduxjs",
8+
"redux-toolkit",
9+
"vitest-config",
10+
"vitest",
11+
"vite",
12+
"configuration"
13+
],
14+
"bugs": {
15+
"url": "https://github.com/reduxjs/redux-toolkit/issues"
16+
},
17+
"repository": {
18+
"type": "git",
19+
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
20+
"directory": "packages/configs/vitest"
21+
},
22+
"sideEffects": false,
923
"exports": {
1024
"./package.json": "./package.json",
1125
".": {
@@ -19,6 +33,10 @@
1933
}
2034
}
2135
},
36+
"main": "./dist/index.js",
37+
"module": "./dist/index.mjs",
38+
"source": "./src/index.mts",
39+
"types": "./dist/index.d.ts",
2240
"files": [
2341
"dist",
2442
"src"
@@ -28,25 +46,18 @@
2846
"clean": "rimraf dist",
2947
"prepack": "yarn build"
3048
},
31-
"keywords": [
32-
"config",
33-
"reduxjs",
34-
"redux-toolkit",
35-
"vitest-config",
36-
"vitest",
37-
"vite",
38-
"configuration"
39-
],
40-
"publishConfig": {
41-
"access": "public"
42-
},
43-
"repository": {
44-
"type": "git",
45-
"url": "git+https://github.com/reduxjs/redux-toolkit.git",
46-
"directory": "packages/configs/vitest"
49+
"dependencies": {
50+
"vite-tsconfig-paths": "^5.0.1"
4751
},
48-
"bugs": {
49-
"url": "https://github.com/reduxjs/redux-toolkit/issues"
52+
"devDependencies": {
53+
"@reduxjs/tsconfig": "workspace:^",
54+
"@types/node": "^22.6.1",
55+
"rimraf": "^6.0.1",
56+
"tslib": "^2.7.0",
57+
"tsup": "^8.3.0",
58+
"typescript": "^5.6.2",
59+
"vite": "^5.4.7",
60+
"vitest": "^2.1.1"
5061
},
5162
"peerDependencies": {
5263
"vite": "*",
@@ -60,19 +71,7 @@
6071
"optional": true
6172
}
6273
},
63-
"devDependencies": {
64-
"@reduxjs/tsconfig": "workspace:^",
65-
"@types/node": "^22.6.1",
66-
"rimraf": "^6.0.1",
67-
"tslib": "^2.7.0",
68-
"tsup": "^8.3.0",
69-
"typescript": "^5.6.2",
70-
"vite": "^5.4.7",
71-
"vitest": "^2.1.1"
72-
},
73-
"dependencies": {
74-
"vite-tsconfig-paths": "^5.0.1"
75-
},
76-
"sideEffects": false,
77-
"homepage": "https://github.com/reduxjs/redux-toolkit/tree/master/packages/configs/vitest#readme"
74+
"publishConfig": {
75+
"access": "public"
76+
}
7877
}

0 commit comments

Comments
 (0)