Skip to content

Commit 1918c8c

Browse files
author
Ondrej Machala
committed
chore: migrate from tsup to tsdown (#46)
1 parent 5e7306b commit 1918c8c

File tree

4 files changed

+399
-276
lines changed

4 files changed

+399
-276
lines changed

knip.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"ignoreDependencies": ["tailwindcss", "heroshot", "lefthook"],
3-
"ignoreBinaries": ["lefthook"],
2+
"ignoreDependencies": ["tailwindcss", "heroshot", "postcss"],
43
"ignore": [
54
"editor/**",
65
"src/capture.ts",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"packageManager": "[email protected]",
7272
"scripts": {
7373
"dev": "tsx src/cli/cli.ts",
74-
"build": "tsup",
74+
"build": "tsdown",
7575
"build:binary": "bun run scripts/build-binary.ts",
7676
"build:binary:single": "bun run scripts/build-binary.ts --single",
7777
"build:editor": "vite build --config editor/vite.config.ts",
@@ -138,15 +138,15 @@
138138
"eslint-plugin-unused-imports": "^4.3.0",
139139
"jsdom": "^26.0.0",
140140
"knip": "^5.80.0",
141+
"lefthook": "^2.0.16",
141142
"pixelmatch": "^7.1.0",
142143
"pngjs": "^7.0.0",
143144
"postcss": "^8.5.6",
144-
"lefthook": "^2.0.16",
145145
"prettier": "^3.7.4",
146146
"svelte": "^5.46.1",
147147
"svelte-eslint-parser": "^1.4.1",
148148
"tailwindcss": "^4.1.18",
149-
"tsup": "^8.3.0",
149+
"tsdown": "^0.20.1",
150150
"tsx": "^4.19.0",
151151
"typescript": "^5.7.0",
152152
"typescript-eslint": "^8.17.0",

0 commit comments

Comments
 (0)