vite-plugin-dts 4.3.0 → 4.5.0
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/LICENSE +21 -21
- package/README.md +417 -417
- package/README.zh-CN.md +417 -417
- package/dist/index.cjs +89 -50
- package/dist/index.mjs +88 -49
- package/package.json +39 -43
package/package.json
CHANGED
|
@@ -1,28 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-dts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"packageManager": "pnpm@9.9.0",
|
|
6
5
|
"license": "MIT",
|
|
7
6
|
"author": "qmhc",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsx scripts/build.ts",
|
|
10
|
-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path .",
|
|
11
|
-
"dev": "unbuild --stub",
|
|
12
|
-
"_postinstall": "is-ci || husky install",
|
|
13
|
-
"lint": "eslint --ext .js,.jsx,.ts,.tsx \"{src,tests}/**\"",
|
|
14
|
-
"precommit": "lint-staged -c ./.husky/.lintstagedrc -q --allow-empty",
|
|
15
|
-
"prepublishOnly": "pinst --disable",
|
|
16
|
-
"prettier": "pretty-quick --staged && pnpm run lint",
|
|
17
|
-
"postpublish": "pinst --enable",
|
|
18
|
-
"release": "tsx scripts/release.ts",
|
|
19
|
-
"test": "vitest run",
|
|
20
|
-
"test:dev": "vitest",
|
|
21
|
-
"test:react": "pnpm -C examples/react build",
|
|
22
|
-
"test:svelte": "pnpm -C examples/svelte build",
|
|
23
|
-
"test:ts": "pnpm -C examples/ts build",
|
|
24
|
-
"test:vue": "pnpm -C examples/vue build"
|
|
25
|
-
},
|
|
26
7
|
"main": "dist/index.cjs",
|
|
27
8
|
"module": "dist/index.mjs",
|
|
28
9
|
"types": "dist/index.d.ts",
|
|
@@ -36,9 +17,6 @@
|
|
|
36
17
|
"files": [
|
|
37
18
|
"dist"
|
|
38
19
|
],
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": "^14.18.0 || >=16.0.0"
|
|
41
|
-
},
|
|
42
20
|
"keywords": [
|
|
43
21
|
"vite",
|
|
44
22
|
"vite-plugin",
|
|
@@ -58,46 +36,47 @@
|
|
|
58
36
|
"url": "https://github.com/qmhc/vite-plugin-dts/issues"
|
|
59
37
|
},
|
|
60
38
|
"dependencies": {
|
|
61
|
-
"@microsoft/api-extractor": "^7.
|
|
62
|
-
"@rollup/pluginutils": "^5.1.
|
|
63
|
-
"@volar/typescript": "^2.4.
|
|
64
|
-
"@vue/language-core": "2.
|
|
39
|
+
"@microsoft/api-extractor": "^7.49.1",
|
|
40
|
+
"@rollup/pluginutils": "^5.1.4",
|
|
41
|
+
"@volar/typescript": "^2.4.11",
|
|
42
|
+
"@vue/language-core": "2.2.0",
|
|
65
43
|
"compare-versions": "^6.1.1",
|
|
66
|
-
"debug": "^4.
|
|
44
|
+
"debug": "^4.4.0",
|
|
67
45
|
"kolorist": "^1.8.0",
|
|
68
|
-
"local-pkg": "^0.5.
|
|
69
|
-
"magic-string": "^0.30.
|
|
46
|
+
"local-pkg": "^0.5.1",
|
|
47
|
+
"magic-string": "^0.30.17"
|
|
70
48
|
},
|
|
71
49
|
"devDependencies": {
|
|
72
|
-
"@commitlint/cli": "^19.
|
|
50
|
+
"@commitlint/cli": "^19.6.1",
|
|
73
51
|
"@types/debug": "^4.1.12",
|
|
74
52
|
"@types/minimist": "^1.2.5",
|
|
75
|
-
"@types/node": "^
|
|
53
|
+
"@types/node": "^22.10.5",
|
|
76
54
|
"@types/prompts": "^2.4.9",
|
|
77
55
|
"@types/semver": "^7.5.8",
|
|
78
56
|
"@vexip-ui/commitlint-config": "^0.5.0",
|
|
79
57
|
"@vexip-ui/eslint-config": "^0.12.1",
|
|
80
58
|
"@vexip-ui/prettier-config": "^1.0.0",
|
|
59
|
+
"@vexip-ui/scripts": "^1.1.4",
|
|
81
60
|
"@vue/eslint-config-standard": "^8.0.1",
|
|
82
61
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
83
62
|
"conventional-changelog-cli": "^5.0.0",
|
|
84
63
|
"eslint": "^8.57.0",
|
|
85
|
-
"execa": "^
|
|
86
|
-
"husky": "^
|
|
87
|
-
"is-ci": "^
|
|
88
|
-
"lint-staged": "^15.
|
|
64
|
+
"execa": "^9.5.2",
|
|
65
|
+
"husky": "^9.1.7",
|
|
66
|
+
"is-ci": "^4.1.0",
|
|
67
|
+
"lint-staged": "^15.3.0",
|
|
89
68
|
"minimist": "^1.2.8",
|
|
90
69
|
"pinst": "^3.0.0",
|
|
91
|
-
"prettier": "^3.
|
|
70
|
+
"prettier": "^3.4.2",
|
|
92
71
|
"pretty-quick": "^4.0.0",
|
|
93
72
|
"prompts": "^2.4.2",
|
|
94
73
|
"rimraf": "^6.0.1",
|
|
95
74
|
"semver": "^7.6.3",
|
|
96
|
-
"tsx": "^4.
|
|
97
|
-
"typescript": "5.
|
|
98
|
-
"unbuild": "^2.0
|
|
99
|
-
"vite": "^
|
|
100
|
-
"vitest": "^2.
|
|
75
|
+
"tsx": "^4.19.2",
|
|
76
|
+
"typescript": "5.7.3",
|
|
77
|
+
"unbuild": "^3.2.0",
|
|
78
|
+
"vite": "^6.0.7",
|
|
79
|
+
"vitest": "^2.1.8"
|
|
101
80
|
},
|
|
102
81
|
"peerDependencies": {
|
|
103
82
|
"typescript": "*",
|
|
@@ -107,5 +86,22 @@
|
|
|
107
86
|
"vite": {
|
|
108
87
|
"optional": true
|
|
109
88
|
}
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"build": "tsx scripts/build.ts",
|
|
92
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path .",
|
|
93
|
+
"dev": "unbuild --stub",
|
|
94
|
+
"_postinstall": "is-ci || husky install",
|
|
95
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx \"{src,tests}/**\"",
|
|
96
|
+
"precommit": "lint-staged -c ./.husky/.lintstagedrc -q --allow-empty",
|
|
97
|
+
"prettier": "pretty-quick --staged && pnpm run lint",
|
|
98
|
+
"publish:ci": "tsx scripts/publish.ts",
|
|
99
|
+
"release": "tsx scripts/release.ts",
|
|
100
|
+
"test": "vitest run",
|
|
101
|
+
"test:dev": "vitest",
|
|
102
|
+
"test:react": "pnpm -C examples/react build",
|
|
103
|
+
"test:svelte": "pnpm -C examples/svelte build",
|
|
104
|
+
"test:ts": "pnpm -C examples/ts build",
|
|
105
|
+
"test:vue": "pnpm -C examples/vue build"
|
|
110
106
|
}
|
|
111
|
-
}
|
|
107
|
+
}
|