Skip to content

Commit 9716048

Browse files
committed
chore: upgrade vitepress
1 parent 57c3964 commit 9716048

40 files changed

Lines changed: 1819 additions & 2029 deletions

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"test:e2e": "cross-env PORT=4040 start-server-and-test dev:shell http://localhost:4040 test:e2e:run",
2929
"test:e2e:run": "cypress run --config baseUrl=http://localhost:4040",
3030
"test:open": "cypress open --config baseUrl=http://localhost:8100",
31-
"docs:dev": "vitepress dev docs",
32-
"docs:build": "vitepress build docs",
33-
"docs:serve": "vitepress serve docs"
31+
"docs:dev": "cd packages/docs && vitepress dev src",
32+
"docs:build": "cd packages/docs && vitepress build src",
33+
"docs:serve": "cd packages/docs && vitepress serve src"
3434
},
3535
"repository": {
3636
"type": "git",
@@ -70,7 +70,6 @@
7070
"semver": "^5.5.1",
7171
"start-server-and-test": "^1.7.1",
7272
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
73-
"vitepress": "^0.18.1",
7473
"vue-loader": "^15.9.0",
7574
"webpack-dev-server": "^4.0.0-beta.0"
7675
},

packages/docs/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "@vue-devtools/docs",
3+
"version": "0.0.0",
4+
"devDependencies": {
5+
"vitepress": "^0.22.3",
6+
"vue": "^3.2.0"
7+
}
8+
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
module.exports = {
1+
import { defineConfig } from 'vitepress'
2+
3+
export default defineConfig({
24
title: 'Vue Devtools',
35
description: 'Browser devtools extension for debugging Vue.js applications',
46

@@ -61,4 +63,4 @@ module.exports = {
6163
],
6264
},
6365
},
64-
}
66+
})
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)