Skip to content

Commit 2b6b6d0

Browse files
committed
chore: setup tsgo
1 parent 206405f commit 2b6b6d0

File tree

2 files changed

+90
-15
lines changed

2 files changed

+90
-15
lines changed

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@
2323
"webpack"
2424
],
2525
"exports": {
26-
".": "./dist/index.js",
27-
"./api": "./dist/api.js",
28-
"./esbuild": "./dist/esbuild.js",
29-
"./rolldown": "./dist/rolldown.js",
30-
"./rollup": "./dist/rollup.js",
31-
"./vite": "./dist/vite.js",
32-
"./webpack": "./dist/webpack.js",
26+
".": "./dist/index.mjs",
27+
"./api": "./dist/api.mjs",
28+
"./esbuild": "./dist/esbuild.mjs",
29+
"./rolldown": "./dist/rolldown.mjs",
30+
"./rollup": "./dist/rollup.mjs",
31+
"./vite": "./dist/vite.mjs",
32+
"./webpack": "./dist/webpack.mjs",
3333
"./package.json": "./package.json"
3434
},
35-
"main": "./dist/index.js",
36-
"module": "./dist/index.js",
37-
"types": "./dist/index.d.ts",
35+
"main": "./dist/index.mjs",
36+
"module": "./dist/index.mjs",
37+
"types": "./dist/index.d.mts",
3838
"typesVersions": {
3939
"*": {
4040
"*": [
@@ -58,7 +58,7 @@
5858
"build": "tsdown",
5959
"dev": "tsdown --watch",
6060
"test": "vitest",
61-
"typecheck": "tsc --noEmit",
61+
"typecheck": "tsgo --noEmit",
6262
"release": "bumpp",
6363
"prepublishOnly": "pnpm run build"
6464
},
@@ -77,6 +77,7 @@
7777
"@sxzz/test-utils": "^0.5.14",
7878
"@types/node": "^25.0.1",
7979
"@types/picomatch": "^4.0.2",
80+
"@typescript/native-preview": "7.0.0-dev.20251212.1",
8081
"bumpp": "^10.3.2",
8182
"esbuild": "^0.27.1",
8283
"eslint": "^9.39.2",

pnpm-lock.yaml

Lines changed: 78 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)