Skip to content

Commit bcca902

Browse files
committed
feat: switch to tsdown
1 parent 8a2f902 commit bcca902

File tree

6 files changed

+1413
-2270
lines changed

6 files changed

+1413
-2270
lines changed

.npmrc

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

build.config.ts

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

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pkg-placeholder",
33
"type": "module",
44
"version": "0.0.0",
5-
"packageManager": "pnpm@10.6.2",
5+
"packageManager": "pnpm@10.17.1",
66
"description": "_description_",
77
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
88
"license": "MIT",
@@ -16,18 +16,18 @@
1616
"keywords": [],
1717
"sideEffects": false,
1818
"exports": {
19-
".": "./dist/index.mjs",
19+
".": "./dist/index.js",
2020
"./package.json": "./package.json"
2121
},
22-
"main": "./dist/index.mjs",
23-
"module": "./dist/index.mjs",
24-
"types": "./dist/index.d.mts",
22+
"main": "./dist/index.js",
23+
"module": "./dist/index.js",
24+
"types": "./dist/index.d.ts",
2525
"files": [
2626
"dist"
2727
],
2828
"scripts": {
29-
"build": "unbuild",
30-
"dev": "unbuild --stub",
29+
"build": "tsdown",
30+
"dev": "tsdown watch",
3131
"lint": "eslint",
3232
"prepublishOnly": "nr build",
3333
"release": "bumpp",
@@ -45,10 +45,10 @@
4545
"eslint": "catalog:cli",
4646
"lint-staged": "catalog:cli",
4747
"simple-git-hooks": "catalog:cli",
48-
"tinyexec": "catalog:utils",
48+
"tinyexec": "catalog:testing",
49+
"tsdown": "catalog:cli",
4950
"tsx": "catalog:cli",
5051
"typescript": "catalog:cli",
51-
"unbuild": "catalog:cli",
5252
"vite": "catalog:cli",
5353
"vitest": "catalog:testing",
5454
"vitest-package-exports": "catalog:testing",

0 commit comments

Comments
 (0)