vite-plugin-dts 2.3.0 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +302 -326
- package/README.zh-CN.md +35 -59
- package/dist/index.cjs +312 -670
- package/dist/index.d.ts +148 -174
- package/dist/index.mjs +310 -673
- package/package.json +41 -47
package/package.json
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-dts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "qmhc",
|
|
7
7
|
"packageManager": "pnpm@7.1.0",
|
|
8
|
-
"main": "dist/index.cjs",
|
|
9
|
-
"module": "dist/index.mjs",
|
|
10
|
-
"types": "dist/index.d.ts",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"require": "./dist/index.cjs",
|
|
15
|
-
"import": "./dist/index.mjs"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
8
|
"scripts": {
|
|
19
9
|
"build": "tsx scripts/build.ts",
|
|
20
10
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path .",
|
|
@@ -33,6 +23,19 @@
|
|
|
33
23
|
"test:ts": "pnpm -C examples/ts build",
|
|
34
24
|
"test:vue": "pnpm -C examples/vue build"
|
|
35
25
|
},
|
|
26
|
+
"main": "dist/index.cjs",
|
|
27
|
+
"module": "dist/index.mjs",
|
|
28
|
+
"types": "dist/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"require": "./dist/index.cjs",
|
|
33
|
+
"import": "./dist/index.mjs"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
36
39
|
"engines": {
|
|
37
40
|
"node": "^14.18.0 || >=16.0.0"
|
|
38
41
|
},
|
|
@@ -43,9 +46,6 @@
|
|
|
43
46
|
"bugs": {
|
|
44
47
|
"url": "https://github.com/qmhc/vite-plugin-dts/issues"
|
|
45
48
|
},
|
|
46
|
-
"files": [
|
|
47
|
-
"dist"
|
|
48
|
-
],
|
|
49
49
|
"keywords": [
|
|
50
50
|
"vite",
|
|
51
51
|
"vite-plugin",
|
|
@@ -54,57 +54,51 @@
|
|
|
54
54
|
"typescript"
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@
|
|
58
|
-
"@microsoft/api-extractor": "^7.34.4",
|
|
57
|
+
"@microsoft/api-extractor": "^7.36.0",
|
|
59
58
|
"@rollup/pluginutils": "^5.0.2",
|
|
60
|
-
"@rushstack/node-core-library": "^3.
|
|
59
|
+
"@rushstack/node-core-library": "^3.59.4",
|
|
60
|
+
"@vue/language-core": "^1.8.1",
|
|
61
61
|
"debug": "^4.3.4",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"kolorist": "^1.7.0",
|
|
65
|
-
"magic-string": "^0.29.0",
|
|
66
|
-
"ts-morph": "18.0.0"
|
|
62
|
+
"kolorist": "^1.8.0",
|
|
63
|
+
"vue-tsc": "^1.8.1"
|
|
67
64
|
},
|
|
68
65
|
"devDependencies": {
|
|
69
|
-
"@
|
|
70
|
-
"@commitlint/
|
|
71
|
-
"@
|
|
72
|
-
"@types/debug": "^4.1.7",
|
|
73
|
-
"@types/fs-extra": "^9.0.13",
|
|
66
|
+
"@commitlint/cli": "^17.6.6",
|
|
67
|
+
"@commitlint/config-conventional": "^17.6.6",
|
|
68
|
+
"@types/debug": "^4.1.8",
|
|
74
69
|
"@types/minimist": "^1.2.2",
|
|
75
|
-
"@types/node": "^
|
|
70
|
+
"@types/node": "^20.3.1",
|
|
76
71
|
"@types/prompts": "^2.4.4",
|
|
77
|
-
"@types/semver": "^7.
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
79
|
-
"@typescript-eslint/parser": "^5.
|
|
72
|
+
"@types/semver": "^7.5.0",
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
74
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
80
75
|
"@vue/eslint-config-standard": "^8.0.1",
|
|
81
|
-
"@vue/eslint-config-typescript": "^11.0.
|
|
82
|
-
"conventional-changelog-cli": "^
|
|
76
|
+
"@vue/eslint-config-typescript": "^11.0.3",
|
|
77
|
+
"conventional-changelog-cli": "^3.0.0",
|
|
83
78
|
"cross-env": "^7.0.3",
|
|
84
|
-
"eslint": "^8.
|
|
79
|
+
"eslint": "^8.43.0",
|
|
85
80
|
"eslint-plugin-import": "^2.27.5",
|
|
86
81
|
"eslint-plugin-node": "^11.1.0",
|
|
87
82
|
"eslint-plugin-promise": "^6.1.1",
|
|
88
|
-
"eslint-plugin-vue": "^9.
|
|
89
|
-
"execa": "^
|
|
83
|
+
"eslint-plugin-vue": "^9.15.1",
|
|
84
|
+
"execa": "^7.1.1",
|
|
90
85
|
"husky": "^8.0.3",
|
|
91
86
|
"is-ci": "^3.0.1",
|
|
92
|
-
"lint-staged": "^13.2.
|
|
87
|
+
"lint-staged": "^13.2.2",
|
|
93
88
|
"minimist": "^1.2.8",
|
|
94
89
|
"pinst": "^3.0.0",
|
|
95
|
-
"prettier": "^2.8.
|
|
90
|
+
"prettier": "^2.8.8",
|
|
96
91
|
"pretty-quick": "^3.1.3",
|
|
97
92
|
"prompts": "^2.4.2",
|
|
98
|
-
"rimraf": "^
|
|
99
|
-
"semver": "^7.
|
|
100
|
-
"tsx": "^3.12.
|
|
101
|
-
"typescript": "^5.
|
|
102
|
-
"unbuild": "^
|
|
103
|
-
"vite": "^3.
|
|
104
|
-
"vitest": "^0.
|
|
105
|
-
"vue": "3.2.41"
|
|
93
|
+
"rimraf": "^5.0.1",
|
|
94
|
+
"semver": "^7.5.3",
|
|
95
|
+
"tsx": "^3.12.7",
|
|
96
|
+
"typescript": "^5.1.3",
|
|
97
|
+
"unbuild": "^1.2.1",
|
|
98
|
+
"vite": "^4.3.9",
|
|
99
|
+
"vitest": "^0.32.2"
|
|
106
100
|
},
|
|
107
101
|
"peerDependencies": {
|
|
108
|
-
"
|
|
102
|
+
"typescript": "*"
|
|
109
103
|
}
|
|
110
104
|
}
|