Skip to content

Commit 273bf63

Browse files
committed
chore: setup tsgo
1 parent d41a682 commit 273bf63

File tree

6 files changed

+661
-687
lines changed

6 files changed

+661
-687
lines changed

package.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
{
22
"name": "unplugin-quansync",
3+
"type": "module",
34
"version": "0.4.5",
4-
"packageManager": "pnpm@10.22.0",
5+
"packageManager": "pnpm@10.24.0",
56
"description": "Write async functions, get both async and sync functions",
6-
"type": "module",
7+
"author": "Kevin Deng <sxzz@sxzz.moe>",
8+
"license": "MIT",
9+
"funding": "https://github.com/sponsors/sxzz",
10+
"homepage": "https://github.com/quansync-dev/unplugin-quansync#readme",
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/quansync-dev/unplugin-quansync.git"
14+
},
15+
"bugs": {
16+
"url": "https://github.com/quansync-dev/unplugin-quansync/issues"
17+
},
718
"keywords": [
819
"async",
920
"sync",
@@ -18,23 +29,7 @@
1829
"esbuild",
1930
"farm"
2031
],
21-
"license": "MIT",
22-
"homepage": "https://github.com/quansync-dev/unplugin-quansync#readme",
23-
"bugs": {
24-
"url": "https://github.com/quansync-dev/unplugin-quansync/issues"
25-
},
26-
"repository": {
27-
"type": "git",
28-
"url": "git+https://github.com/quansync-dev/unplugin-quansync.git"
29-
},
30-
"author": "Kevin Deng <sxzz@sxzz.moe>",
31-
"funding": "https://github.com/sponsors/sxzz",
32-
"files": [
33-
"dist"
34-
],
35-
"main": "./dist/index.mjs",
36-
"module": "./dist/index.mjs",
37-
"types": "./dist/index.d.mts",
32+
"sideEffects": false,
3833
"exports": {
3934
".": "./dist/index.mjs",
4035
"./api": "./dist/api.mjs",
@@ -47,6 +42,9 @@
4742
"./webpack": "./dist/webpack.mjs",
4843
"./package.json": "./package.json"
4944
},
45+
"main": "./dist/index.mjs",
46+
"module": "./dist/index.mjs",
47+
"types": "./dist/index.d.mts",
5048
"typesVersions": {
5149
"*": {
5250
"*": [
@@ -55,17 +53,22 @@
5553
]
5654
}
5755
},
58-
"sideEffects": false,
56+
"files": [
57+
"dist"
58+
],
5959
"publishConfig": {
6060
"access": "public"
6161
},
62+
"engines": {
63+
"node": ">=20.19.0"
64+
},
6265
"scripts": {
6366
"lint": "eslint --cache .",
6467
"lint:fix": "pnpm run lint --fix",
6568
"build": "tsdown",
6669
"dev": "tsdown --watch",
6770
"test": "vitest",
68-
"typecheck": "tsc --noEmit",
71+
"typecheck": "tsgo --noEmit",
6972
"release": "bumpp",
7073
"prepublishOnly": "pnpm run build"
7174
},
@@ -75,25 +78,23 @@
7578
"dependencies": {
7679
"ast-kit": "^2.2.0",
7780
"magic-string-ast": "^1.0.3",
78-
"unplugin": "^2.3.10"
81+
"unplugin": "^2.3.11"
7982
},
8083
"devDependencies": {
8184
"@babel/types": "^7.28.5",
82-
"@sxzz/eslint-config": "^7.2.10",
83-
"@sxzz/prettier-config": "^2.2.4",
84-
"@sxzz/test-utils": "^0.5.12",
85+
"@sxzz/eslint-config": "^7.4.1",
86+
"@sxzz/prettier-config": "^2.2.6",
87+
"@sxzz/test-utils": "^0.5.13",
8588
"@types/node": "^24.10.1",
86-
"bumpp": "^10.3.1",
89+
"@typescript/native-preview": "7.0.0-dev.20251202.1",
90+
"bumpp": "^10.3.2",
8791
"eslint": "^9.39.1",
88-
"prettier": "^3.6.2",
92+
"prettier": "^3.7.3",
8993
"quansync": "^0.2.11",
90-
"tsdown": "^0.16.4",
94+
"tsdown": "^0.17.0-beta.5",
9195
"typescript": "^5.9.3",
92-
"vite": "^7.2.2",
93-
"vitest": "^4.0.8"
94-
},
95-
"engines": {
96-
"node": ">=20.19.0"
96+
"vite": "^7.2.6",
97+
"vitest": "^4.0.15"
9798
},
9899
"prettier": "@sxzz/prettier-config"
99100
}

0 commit comments

Comments
 (0)