Skip to content

Commit 9716048

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

40 files changed

+1819
-2029
lines changed

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+
}
File renamed without changes.

docs/.vitepress/config.js renamed to packages/docs/src/.vitepress/config.js

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+
})

docs/devtools-vue3.md renamed to packages/docs/src/devtools-vue3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ yarn build:watch
2222
yarn dev:shell-vue3
2323
```
2424

25-
Once everything is setup, you should be able to visit http://localhost:8090/
25+
Once everything is setup, you should be able to visit `http://localhost:8090/`

docs/guide/contributing.md renamed to packages/docs/src/guide/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The repository is a monorepo with several nested packages:
2727
1. Clone this repo
2828
2. run `yarn install`
2929
3. then run `yarn run build:watch` and `yarn run dev:vue3` in parallel
30-
4. A plain shell with a test app will be available at [localhost:8090](http://localhost:8090/).
30+
4. A plain shell with a test app will be available at `localhost:8090`.
3131

3232
## Pull Request Guidelines
3333

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

yarn.lock

Lines changed: 1802 additions & 2021 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)