Skip to content

Commit 96f2b80

Browse files
authored
chore: switch build to zshy (#88)
1 parent 0f364ab commit 96f2b80

File tree

5 files changed

+128
-151
lines changed

5 files changed

+128
-151
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ updates:
2525
patterns:
2626
- 'prettier'
2727
- '@marcalexiei/prettier-config'
28+
- '@marcalexiei/eslint-config'
2829

2930
dev:
3031
applies-to: 'version-updates'
3132
dependency-type: 'development'
3233
patterns:
3334
- '@types/*'
34-
- '@rollup/*'
35-
- 'rollup'
35+
- 'zshy'
3636
- 'typescript'
3737
- 'typescript-eslint'
3838
- '@typescript-eslint/*'

package.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
"engines": {
77
"node": "^20 || ^22 || ^24"
88
},
9-
"main": "./dist/index.js",
10-
"types": "./dist/index.d.ts",
9+
"main": "./dist/index.cjs",
10+
"types": "./dist/index.d.cts",
11+
"module": "./dist/index.js",
1112
"exports": {
12-
"types": "./dist/index.d.ts",
13-
"require": "./dist/index.cjs",
14-
"default": "./dist/index.js"
13+
".": {
14+
"types": "./dist/index.d.cts",
15+
"import": "./dist/index.js",
16+
"require": "./dist/index.cjs"
17+
}
1518
},
1619
"homepage": "https://github.com/marcalexiei/eslint-plugin-react-import",
1720
"bugs": {
@@ -32,8 +35,11 @@
3235
"type": "git",
3336
"url": "git+https://github.com/marcalexiei/eslint-plugin-react-import.git"
3437
},
38+
"zshy": {
39+
"exports": "./src/index.ts"
40+
},
3541
"scripts": {
36-
"build": "rollup --config",
42+
"build": "zshy",
3743
"lint": "pnpm run lint:js && pnpm run lint:docs",
3844
"lint:js": "eslint .",
3945
"lint:js:fix": "eslint . --fix",
@@ -58,7 +64,6 @@
5864
"@changesets/cli": "2.29.5",
5965
"@marcalexiei/eslint-config": "2.0.3",
6066
"@marcalexiei/prettier-config": "1.1.1",
61-
"@rollup/plugin-typescript": "12.1.4",
6267
"@types/json-schema": "7.0.15",
6368
"@types/node": "22.13.10",
6469
"@typescript-eslint/parser": "8.36.0",
@@ -68,10 +73,9 @@
6873
"eslint-plugin-eslint-plugin": "6.5.0",
6974
"eslint-plugin-n": "17.21.0",
7075
"prettier": "3.6.2",
71-
"rollup": "4.44.2",
72-
"tslib": "2.8.1",
7376
"typescript": "5.8.3",
7477
"typescript-eslint": "8.36.0",
75-
"vitest": "3.2.4"
78+
"vitest": "3.2.4",
79+
"zshy": "0.2.2"
7680
}
7781
}

0 commit comments

Comments
 (0)