Skip to content

Commit 1d3dd8c

Browse files
committed
refactor!: drop cjs package
1 parent ce8c357 commit 1d3dd8c

File tree

3 files changed

+116
-133
lines changed

3 files changed

+116
-133
lines changed

package.json

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@coderwyd/eslint-config",
33
"type": "module",
44
"version": "3.6.0",
5-
"packageManager": "pnpm@9.15.4",
5+
"packageManager": "pnpm@10.2.1",
66
"description": "Donny's ESLint config",
77
"author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
88
"license": "MIT",
@@ -18,14 +18,9 @@
1818
"access": "public"
1919
},
2020
"exports": {
21-
".": {
22-
"types": "./dist/index.d.ts",
23-
"import": "./dist/index.js",
24-
"require": "./dist/index.cjs"
25-
}
21+
".": "./dist/index.js"
2622
},
2723
"main": "./dist/index.js",
28-
"module": "./dist/index.js",
2924
"types": "./dist/index.d.ts",
3025
"bin": "./bin/index.js",
3126
"files": [
@@ -87,20 +82,20 @@
8782
"dependencies": {
8883
"@antfu/install-pkg": "^1.0.0",
8984
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
90-
"@typescript-eslint/eslint-plugin": "^8.21.0",
91-
"@typescript-eslint/parser": "^8.21.0",
85+
"@typescript-eslint/eslint-plugin": "^8.23.0",
86+
"@typescript-eslint/parser": "^8.23.0",
9287
"@vitest/eslint-plugin": "^1.1.25",
93-
"eslint-config-flat-gitignore": "^1.0.1",
88+
"eslint-config-flat-gitignore": "^2.0.0",
9489
"eslint-config-prettier": "^10.0.1",
95-
"eslint-plugin-antfu": "^2.7.0",
96-
"eslint-plugin-command": "^2.1.0",
90+
"eslint-plugin-antfu": "^3.0.0",
91+
"eslint-plugin-command": "^3.0.0",
9792
"eslint-plugin-eslint-comments": "^3.2.0",
9893
"eslint-plugin-import-x": "^4.6.1",
9994
"eslint-plugin-jsdoc": "^50.6.3",
10095
"eslint-plugin-jsonc": "^2.19.1",
10196
"eslint-plugin-n": "^17.15.1",
10297
"eslint-plugin-no-only-tests": "^3.3.0",
103-
"eslint-plugin-perfectionist": "^4.7.0",
98+
"eslint-plugin-perfectionist": "^4.8.0",
10499
"eslint-plugin-regexp": "^2.7.0",
105100
"eslint-plugin-unicorn": "^56.0.1",
106101
"eslint-plugin-unused-imports": "^4.1.4",
@@ -121,11 +116,11 @@
121116
"@eslint-react/eslint-plugin": "^1.26.2",
122117
"@eslint/config-inspector": "^1.0.0",
123118
"@types/eslint-config-prettier": "^6.11.3",
124-
"@types/node": "^22.10.10",
119+
"@types/node": "^22.13.1",
125120
"@types/prompts": "^2.4.9",
126121
"@types/yargs": "^17.0.33",
127122
"@unocss/eslint-plugin": "^65.4.3",
128-
"bumpp": "^9.11.1",
123+
"bumpp": "^10.0.2",
129124
"eslint": "^9.19.0",
130125
"eslint-plugin-react-compiler": "19.0.0-beta-e552027-20250112",
131126
"eslint-plugin-react-hooks": "^5.1.0",
@@ -135,7 +130,7 @@
135130
"jiti": "^2.4.2",
136131
"nano-staged": "^0.8.0",
137132
"simple-git-hooks": "^2.11.1",
138-
"svelte": "^5.19.8",
133+
"svelte": "^5.19.9",
139134
"svelte-eslint-parser": "^0.43.0",
140135
"tsup": "^8.3.6",
141136
"typescript": "^5.7.3"

0 commit comments

Comments
 (0)