File tree 4 files changed +117
-331
lines changed
4 files changed +117
-331
lines changed Original file line number Diff line number Diff line change 20
20
"test:watch" : " vitest" ,
21
21
"update" : " yarn upgrade-interactive" ,
22
22
"typecheck" : " tsc -p tsconfig.eslint.json" ,
23
- "build" : " tsup && gen-esm-wrapper dist/index.js dist/index.mjs" ,
23
+ "build" : " tsup && yarn build:esm && yarn build:types" ,
24
+ "build:esm" : " gen-esm-wrapper dist/index.js dist/index.mjs" ,
25
+ "build:types" : " tsc -b src" ,
24
26
"bump" : " cliff-jumper" ,
25
27
"check-update" : " cliff-jumper --dry-run" ,
26
28
"postinstall" : " husky install .github/husky" ,
47
49
"@sapphire/eslint-config" : " ^5.0.2" ,
48
50
"@sapphire/prettier-config" : " ^2.0.0" ,
49
51
"@sapphire/ts-config" : " ^5.0.0" ,
50
- "@types/node" : " ^18.17.14 " ,
52
+ "@types/node" : " ^20.5.9 " ,
51
53
"@types/ws" : " ^8.5.5" ,
52
54
"@typescript-eslint/eslint-plugin" : " ^6.5.0" ,
53
55
"@typescript-eslint/parser" : " ^6.5.0" ,
65
67
"lint-staged" : " ^14.0.1" ,
66
68
"pinst" : " ^3.0.0" ,
67
69
"prettier" : " ^3.0.3" ,
68
- "tsup" : " 6.6.2 " ,
70
+ "tsup" : " ^7.2.0 " ,
69
71
"typedoc" : " ^0.25.0" ,
70
72
"typedoc-json-parser" : " ^8.2.0" ,
71
73
"typescript" : " ^5.2.2" ,
Original file line number Diff line number Diff line change 2
2
"extends" : " ../tsconfig.base.json" ,
3
3
"compilerOptions" : {
4
4
"rootDir" : " ./" ,
5
- "outDir" : " ../dist"
5
+ "outDir" : " ../dist" ,
6
+ "emitDeclarationOnly" : true
6
7
},
7
8
"include" : [" ." ]
8
9
}
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { defineConfig } from 'tsup';
4
4
5
5
export default defineConfig ( {
6
6
clean : true ,
7
- dts : true ,
8
7
entry : [ 'src/**/*.ts' ] ,
9
8
format : [ 'cjs' ] ,
10
9
minify : false ,
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments