Skip to content

Commit c6554b8

Browse files
committed
feat: add createVueProgram
1 parent e336a67 commit c6554b8

File tree

5 files changed

+722
-482
lines changed

5 files changed

+722
-482
lines changed

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"files": [
1919
"dist"
2020
],
21-
"main": "./dist/index.js",
22-
"module": "./dist/index.js",
23-
"types": "./dist/index.d.ts",
21+
"main": "./dist/index.mjs",
22+
"module": "./dist/index.mjs",
23+
"types": "./dist/index.d.mts",
2424
"exports": {
25-
".": "./dist/index.js",
25+
".": "./dist/index.mjs",
2626
"./package.json": "./package.json"
2727
},
2828
"publishConfig": {
@@ -42,6 +42,7 @@
4242
"peerDependencies": {
4343
"@ts-macro/language-plugin": "*",
4444
"@volar/typescript": "*",
45+
"@vue/language-core": "^3.1.0",
4546
"esbuild": ">=0.20.0",
4647
"rolldown": "*",
4748
"rollup": "^4.1.0",
@@ -55,6 +56,9 @@
5556
"@volar/typescript": {
5657
"optional": true
5758
},
59+
"@vue/language-core": {
60+
"optional": true
61+
},
5862
"esbuild": {
5963
"optional": true
6064
},
@@ -78,6 +82,7 @@
7882
"@ts-macro/language-plugin": "^0.3.6",
7983
"@types/node": "^24.10.1",
8084
"@volar/typescript": "^2.4.23",
85+
"@vue/language-core": "^3.1.4",
8186
"bumpp": "^10.3.1",
8287
"esbuild": "^0.27.0",
8388
"eslint": "^9.39.1",
@@ -92,5 +97,8 @@
9297
"engines": {
9398
"node": ">=20.19.0"
9499
},
95-
"prettier": "@sxzz/prettier-config"
100+
"prettier": "@sxzz/prettier-config",
101+
"tsdown": {
102+
"exports": true
103+
}
96104
}

0 commit comments

Comments
 (0)