File tree Expand file tree Collapse file tree 8 files changed +137
-25
lines changed
Expand file tree Collapse file tree 8 files changed +137
-25
lines changed Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "lint" : " eslint src && prettier --check src" ,
12- "build" : " tsup"
12+ "build" : " tsup && fix-tsup-cjs "
1313 },
1414 "author" : {
1515 "name" : " Matthew Savelev" ,
3434 "@mono-pub/configs" : " workspace:^" ,
3535 "@types/conventional-commits-parser" : " ^3.0.3" ,
3636 "eslint" : " ^9.16.0" ,
37+ "fix-tsup-cjs" : " ^1.2.0" ,
3738 "mono-pub" : " workspace:^" ,
38- "tsup" : " ^ 8.3.5" ,
39+ "tsup" : " 8.3.5" ,
3940 "typescript" : " ^5.7.2"
4041 },
4142 "dependencies" : {
Original file line number Diff line number Diff line change 1919 },
2020 "peerDependencies" : {
2121 "jest" : " *" ,
22- "tsup" : " ^8 "
22+ "tsup" : " 8.3.5 "
2323 },
2424 "devDependencies" : {
2525 "@eslint/js" : " ^9.16.0" ,
2626 "eslint" : " ^9.16.0" ,
2727 "eslint-import-resolver-typescript" : " ^3.7.0" ,
2828 "eslint-plugin-import" : " ^2.31.0" ,
2929 "eslint-plugin-jest" : " ^28.9.0" ,
30- "tsup" : " ^ 8.3.5" ,
30+ "tsup" : " 8.3.5" ,
3131 "typescript" : " ^5.7.2" ,
3232 "typescript-eslint" : " ^8.17.0"
3333 },
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ export function createBuildPipeline(exports) {
3030 sourcemap : true ,
3131 format : [ 'cjs' , 'esm' ] ,
3232 target : 'node16' ,
33- minify : true ,
33+ minify : false ,
3434 splitting : false ,
35+ cjsInterop : true ,
3536 } )
3637}
Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "lint" : " eslint src && prettier --check src" ,
12- "build" : " tsup"
12+ "build" : " tsup && fix-tsup-cjs "
1313 },
1414 "author" : {
1515 "name" : " Matthew Savelev" ,
4848 "devDependencies" : {
4949 "@mono-pub/configs" : " workspace:^" ,
5050 "eslint" : " ^9.16.0" ,
51+ "fix-tsup-cjs" : " ^1.2.0" ,
5152 "mono-pub" : " workspace:^" ,
5253 "tmp" : " ^0.2.1" ,
53- "tsup" : " ^ 8.3.5" ,
54+ "tsup" : " 8.3.5" ,
5455 "typescript" : " ^5.0.4"
5556 },
5657 "dependencies" : {
Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "lint" : " eslint src && prettier --check src" ,
12- "build" : " tsup"
12+ "build" : " tsup && fix-tsup-cjs "
1313 },
1414 "author" : {
1515 "name" : " Matthew Savelev" ,
3535 "@octokit/types" : " ^9.2.2" ,
3636 "@types/lodash" : " ^4.14.194" ,
3737 "eslint" : " ^9.16.0" ,
38+ "fix-tsup-cjs" : " ^1.2.0" ,
3839 "mono-pub" : " workspace:^" ,
39- "tsup" : " ^ 8.3.5" ,
40+ "tsup" : " 8.3.5" ,
4041 "typescript" : " ^5.0.4"
4142 },
4243 "dependencies" : {
Original file line number Diff line number Diff line change 2424 "url" : " https://github.com/SavelevMatthew"
2525 },
2626 "scripts" : {
27- "build" : " tsup" ,
27+ "build" : " tsup && fix-tsup-cjs " ,
2828 "lint" : " eslint src && prettier --check src"
2929 },
3030 "license" : " MIT" ,
5959 "@types/lodash" : " ^4.14.194" ,
6060 "@types/signale" : " ^1.4.4" ,
6161 "eslint" : " ^9.16.0" ,
62+ "fix-tsup-cjs" : " ^1.2.0" ,
6263 "tmp" : " ^0.2.1" ,
6364 "tslib" : " ^2.5.0" ,
64- "tsup" : " ^ 8.3.5" ,
65+ "tsup" : " 8.3.5" ,
6566 "typescript" : " ^5.0.4"
6667 },
6768 "dependencies" : {
Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "lint" : " eslint src && prettier --check src" ,
12- "build" : " tsup"
12+ "build" : " tsup && fix-tsup-cjs "
1313 },
1414 "author" : {
1515 "name" : " Matthew Savelev" ,
3434 "@mono-pub/configs" : " workspace:^" ,
3535 "@types/tmp" : " ^0.2.3" ,
3636 "eslint" : " ^9.16.0" ,
37+ "fix-tsup-cjs" : " ^1.2.0" ,
3738 "mono-pub" : " workspace:^" ,
38- "tsup" : " ^ 8.3.5" ,
39+ "tsup" : " 8.3.5" ,
3940 "typescript" : " ^5.0.4"
4041 },
4142 "dependencies" : {
You can’t perform that action at this time.
0 commit comments