Skip to content

Commit 2c16db0

Browse files
committed
chore: setup tsgo
1 parent 5d682b3 commit 2c16db0

4 files changed

Lines changed: 1040 additions & 1298 deletions

File tree

build.config.ts

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

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "quansync",
33
"type": "module",
44
"version": "0.2.11",
5-
"packageManager": "pnpm@10.22.0",
5+
"packageManager": "pnpm@10.24.0",
66
"description": "Create sync/async APIs with usable logic",
77
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
88
"contributors": [
@@ -46,15 +46,16 @@
4646
"./types": {
4747
"import": "./dist/types.mjs",
4848
"require": "./dist/types.cjs"
49-
}
49+
},
50+
"./package.json": "./package.json"
5051
},
51-
"main": "./dist/index.mjs",
52+
"main": "./dist/index.cjs",
5253
"module": "./dist/index.mjs",
53-
"types": "./dist/index.d.mts",
54+
"types": "./dist/index.d.cts",
5455
"typesVersions": {
5556
"*": {
5657
"*": [
57-
"./dist/*",
58+
"./dist/*.d.mts",
5859
"./*"
5960
]
6061
}
@@ -63,31 +64,30 @@
6364
"dist"
6465
],
6566
"scripts": {
66-
"build": "unbuild",
67-
"dev": "unbuild --stub",
67+
"build": "tsdown",
68+
"dev": "tsdown -w",
6869
"lint": "eslint .",
6970
"prepublishOnly": "pnpm run build",
7071
"release": "bumpp",
71-
"start": "tsx src/index.ts",
7272
"benchmark": "node scripts/benchmark.js",
7373
"test": "vitest",
74-
"typecheck": "tsc --noEmit",
74+
"typecheck": "tsgo --noEmit",
7575
"prepare": "simple-git-hooks"
7676
},
7777
"devDependencies": {
7878
"@antfu/eslint-config": "^6.2.0",
7979
"@types/node": "^24.10.1",
80-
"bumpp": "^10.3.1",
80+
"@typescript/native-preview": "7.0.0-dev.20251202.1",
81+
"bumpp": "^10.3.2",
8182
"eslint": "^9.39.1",
8283
"gensync": "1.0.0-beta.2",
83-
"lint-staged": "^16.2.6",
84+
"lint-staged": "^16.2.7",
8485
"mitata": "^1.0.34",
8586
"simple-git-hooks": "^2.13.1",
86-
"tsx": "^4.20.6",
87+
"tsdown": "^0.17.0-beta.5",
8788
"typescript": "^5.9.3",
88-
"unbuild": "^3.6.1",
89-
"vite": "^7.2.2",
90-
"vitest": "^4.0.8"
89+
"vite": "^7.2.6",
90+
"vitest": "^4.0.15"
9191
},
9292
"simple-git-hooks": {
9393
"pre-commit": "pnpm lint-staged"

0 commit comments

Comments
 (0)