vitepress 0.21.6 → 0.22.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/package.json +33 -42
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Vite & Vue powered static site generator",
|
|
5
5
|
"main": "dist/node/index.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -14,33 +14,6 @@
|
|
|
14
14
|
"client.d.ts",
|
|
15
15
|
"theme.d.ts"
|
|
16
16
|
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"dev": "run-s dev-shared dev-start",
|
|
19
|
-
"dev-start": "run-p dev-client dev-node dev-watch",
|
|
20
|
-
"dev-client": "tsc -w -p src/client",
|
|
21
|
-
"dev-node": "tsc -w -p src/node",
|
|
22
|
-
"dev-shared": "node scripts/copyShared",
|
|
23
|
-
"dev-watch": "node scripts/watchAndCopy",
|
|
24
|
-
"build": "run-s build-prepare build-client build-node build-types",
|
|
25
|
-
"build-prepare": "rimraf -rf dist && node scripts/copyShared",
|
|
26
|
-
"build-client": "tsc -p src/client && node scripts/copyClient",
|
|
27
|
-
"build-node": "rollup -c scripts/rollup.config.js",
|
|
28
|
-
"build-types": "run-s build-types-client build-types-node",
|
|
29
|
-
"build-types-client": "tsc -p src/client --declaration --emitDeclarationOnly --outDir dist/temp && api-extractor run -c api-extractor.client.json && rimraf dist/temp",
|
|
30
|
-
"build-types-node": "tsc -p src/node --declaration --emitDeclarationOnly --outDir dist/temp && api-extractor run -c api-extractor.node.json && rimraf dist/temp",
|
|
31
|
-
"lint": "run-s lint:js lint:ts",
|
|
32
|
-
"lint:js": "prettier --check --write \"{bin,docs,scripts,src}/**/*.js\"",
|
|
33
|
-
"lint:ts": "prettier --check --write --parser typescript \"{__tests__,src,docs,types}/**/*.ts\"",
|
|
34
|
-
"test": "vitest run __tests__ -c __tests__/vitest.config.js --global",
|
|
35
|
-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
36
|
-
"release": "node scripts/release.js",
|
|
37
|
-
"docs": "run-p dev docs-dev",
|
|
38
|
-
"docs-dev": "node ./bin/vitepress dev docs",
|
|
39
|
-
"docs-debug": "node --inspect-brk ./bin/vitepress dev docs",
|
|
40
|
-
"docs-build": "npm run build && node ./bin/vitepress build docs",
|
|
41
|
-
"docs-serve": "node ./bin/vitepress serve docs",
|
|
42
|
-
"ci-docs": "run-s build docs-build"
|
|
43
|
-
},
|
|
44
17
|
"engines": {
|
|
45
18
|
"node": ">=12.0.0"
|
|
46
19
|
},
|
|
@@ -73,10 +46,10 @@
|
|
|
73
46
|
"dependencies": {
|
|
74
47
|
"@docsearch/css": "^3.0.0-alpha.41",
|
|
75
48
|
"@docsearch/js": "^3.0.0-alpha.41",
|
|
76
|
-
"@vitejs/plugin-vue": "^2.
|
|
49
|
+
"@vitejs/plugin-vue": "^2.2.0",
|
|
77
50
|
"prismjs": "^1.25.0",
|
|
78
|
-
"vite": "^2.
|
|
79
|
-
"vue": "^3.2.
|
|
51
|
+
"vite": "^2.8.0",
|
|
52
|
+
"vue": "^3.2.30"
|
|
80
53
|
},
|
|
81
54
|
"devDependencies": {
|
|
82
55
|
"@microsoft/api-extractor": "^7.18.9",
|
|
@@ -131,14 +104,32 @@
|
|
|
131
104
|
"vitest": "^0.1.19",
|
|
132
105
|
"yorkie": "^2.0.0"
|
|
133
106
|
},
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
107
|
+
"scripts": {
|
|
108
|
+
"dev": "run-s dev-shared dev-start",
|
|
109
|
+
"dev-start": "run-p dev-client dev-node dev-watch",
|
|
110
|
+
"dev-client": "tsc -w -p src/client",
|
|
111
|
+
"dev-node": "tsc -w -p src/node",
|
|
112
|
+
"dev-shared": "node scripts/copyShared",
|
|
113
|
+
"dev-watch": "node scripts/watchAndCopy",
|
|
114
|
+
"build": "run-s build-prepare build-client build-node build-types",
|
|
115
|
+
"build-prepare": "rimraf -rf dist && node scripts/copyShared",
|
|
116
|
+
"build-client": "tsc -p src/client && node scripts/copyClient",
|
|
117
|
+
"build-node": "rollup -c scripts/rollup.config.js",
|
|
118
|
+
"build-types": "run-s build-types-client build-types-node",
|
|
119
|
+
"build-types-client": "tsc -p src/client --declaration --emitDeclarationOnly --outDir dist/temp && api-extractor run -c api-extractor.client.json && rimraf dist/temp",
|
|
120
|
+
"build-types-node": "tsc -p src/node --declaration --emitDeclarationOnly --outDir dist/temp && api-extractor run -c api-extractor.node.json && rimraf dist/temp",
|
|
121
|
+
"lint": "run-s lint:js lint:ts",
|
|
122
|
+
"lint:js": "prettier --check --write \"{bin,docs,scripts,src}/**/*.js\"",
|
|
123
|
+
"lint:ts": "prettier --check --write --parser typescript \"{__tests__,src,docs,types}/**/*.ts\"",
|
|
124
|
+
"test": "vitest run __tests__ -c __tests__/vitest.config.js --global",
|
|
125
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
126
|
+
"release": "node scripts/release.js",
|
|
127
|
+
"docs": "run-p dev docs-dev",
|
|
128
|
+
"docs-dev": "node ./bin/vitepress dev docs",
|
|
129
|
+
"docs-debug": "node --inspect-brk ./bin/vitepress dev docs",
|
|
130
|
+
"docs-build": "npm run build && node ./bin/vitepress build docs",
|
|
131
|
+
"docs-serve": "node ./bin/vitepress serve docs",
|
|
132
|
+
"ci-docs": "run-s build docs-build"
|
|
133
|
+
},
|
|
134
|
+
"readme": "# (WIP) VitePress 📝💨\n\n[](https://github.com/vuejs/vitepress/actions)\n[](https://www.npmjs.com/package/vitepress)\n\n---\n\nVitePress is [VuePress](http://vuepress.vuejs.org/)' spiritual successor, built on top of [vite](https://github.com/vuejs/vite).\n\n## Documentation\n\nTo check out docs, visit [vitepress.vuejs.org](https://vitepress.vuejs.org).\n\n## Changelog\n\nDetailed changes for each release are documented in the [CHANGELOG](https://github.com/vuejs/vitepress/blob/master/CHANGELOG.md).\n\n## Contribution\n\nPlease make sure to read the [Contributing Guide](./.github/contributing.md) before making a pull request.\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\nCopyright (c) 2019-present, Yuxi (Evan) You\n"
|
|
135
|
+
}
|