Skip to content

Commit 4ce9bd6

Browse files
committed
build: replace tsup with tsdown
1 parent d781934 commit 4ce9bd6

4 files changed

Lines changed: 420 additions & 621 deletions

File tree

package.json

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,34 @@
33
"version": "5.0.0",
44
"type": "module",
55
"description": "MUI theme used on Squonk products",
6-
"module": "./src/index.ts",
7-
"typings": "./src/index.ts",
8-
"publishConfig": {
9-
"main": "./dist/index.cjs",
10-
"module": "./dist/index.js",
11-
"typings": "./dist/index.d.ts"
12-
},
136
"sideEffects": false,
147
"repository": "github:InformaticsMatters/squonk-react-mui-theme",
158
"license": "Apache-2.0",
169
"private": false,
1710
"homepage": "https://github.com/InformaticsMatters/squonk-react-mui-theme/",
11+
"main": "./dist/index.cjs",
12+
"module": "./dist/index.js",
13+
"types": "./dist/index.d.cts",
14+
"exports": {
15+
".": "./src/index.ts",
16+
"./package.json": "./package.json"
17+
},
18+
"publishConfig": {
19+
"exports": {
20+
".": {
21+
"require": "./dist/index.cjs",
22+
"import": "./dist/index.js"
23+
},
24+
"./package.json": "./package.json"
25+
}
26+
},
1827
"scripts": {
1928
"prepare": "husky install",
20-
"build": "tsup",
21-
"start": "tsup --watch",
29+
"build": "tsdown",
30+
"start": "tsdown --watch",
2231
"tsc": "tsc --pretty --noEmit",
2332
"lint": "eslint --cache --max-warnings=0",
24-
"format": "eslint --fix --cache --max-warnings=0",
25-
"release": "semantic-release"
33+
"format": "eslint --fix --cache --max-warnings=0"
2634
},
2735
"peerDependencies": {
2836
"@mui/material": ">5"
@@ -39,7 +47,7 @@
3947
"lint-staged": "15.5.0",
4048
"semantic-release": "24.2.3",
4149
"tslib": "2.8.1",
42-
"tsup": "8.4.0",
50+
"tsdown": "0.18.3",
4351
"typescript": "5.8.2"
4452
},
4553
"lint-staged": {

0 commit comments

Comments
 (0)