Skip to content

Commit cc7e8be

Browse files
authored
Merge pull request #15 from forge-42/tsdown
Migrate to tsdown
2 parents b82d84d + 447e8ed commit cc7e8be

File tree

6 files changed

+719
-212
lines changed

6 files changed

+719
-212
lines changed

.changeset/eager-lamps-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"open-source-stack": patch
3+
---
4+
5+
Updated dependencies, fixed a bug with staging script

.changeset/spotty-crabs-clap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"open-source-stack": patch
3+
---
4+
5+
Migrated to tsdown from tsup

packages/open-source-stack/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"test": "vitest run",
2626
"test:cov": "vitest run --coverage",
2727
"postbuild": "pnpm run check:exports",
28-
"build": "tsup src/index.ts --config tsup.config.ts",
29-
"dev": "tsup src/index.ts --config tsup.dev.config.ts --watch",
28+
"build": "tsdown src/index.ts --config tsdown.config.ts --clean",
29+
"dev": "tsdown src/index.ts --config tsdown.config.ts --watch",
3030
"prepublishOnly": "pnpm run build",
3131
"typecheck": "tsc",
3232
"validate": "pnpm run check && pnpm run typecheck && pnpm run test",
@@ -52,7 +52,7 @@
5252
"@types/node": "^20.17.30",
5353
"@vitest/coverage-v8": "^3.1.1",
5454
"happy-dom": "^17.4.4",
55-
"tsup": "^8.4.0",
55+
"tsdown": "^0.9.1",
5656
"typescript": "^5.8.3",
5757
"vitest": "^3.1.1"
5858
}

packages/open-source-stack/tsup.dev.config.ts renamed to packages/open-source-stack/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from "tsup"
1+
import { defineConfig } from "tsdown"
22

33
export default defineConfig({
44
entry: ["src/index.ts"],

packages/open-source-stack/tsup.config.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)