Skip to content

Commit 37d8ac0

Browse files
committed
workflow: move to pnpm
1 parent 9ff095d commit 37d8ac0

File tree

4 files changed

+665
-662
lines changed

4 files changed

+665
-662
lines changed

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
# v3.vuejs.org
1+
# vuejs.org
2+
3+
This is the WIP branch of the brand new vuejs.org. **The content is under heavy updates and re-organization so please refrain from submitting PRs to this branch until we have removed this notice.**
4+
5+
## Dev Setup
26

37
This site is built with [VitePress](https://github.com/vuejs/vitepress) and [@vue/theme](https://github.com/vuejs/vue-theme). Site content is written in Markdown format located in `src`.
48

9+
Make sure to use [pnpm](https://pnpm.io/) as the package manager:
10+
11+
```sh
12+
pnpm i
13+
pnpm run dev
14+
```
15+
516
## Writing
617

718
See the [Vue Docs Writing Guide](https://v3.vuejs.org/guide/writing-guide.html) for our rules and recommendations on writing and maintaining documentation.
@@ -22,22 +33,18 @@ git clone [email protected]:vuejs/theme.git
2233
```bash
2334
# In ./theme
2435
# Install dependencies
25-
yarn
36+
pnpm i
2637
# Link workspace in ./theme
27-
yarn link
38+
pnpm link --global
2839

2940
# in ./docs
30-
yarn link @vue/theme
41+
pnpm link --global @vue/theme
3142
```
3243

3344
3. Install deps and start VitePress server
3445

3546
```bash
3647
# in ./docs
37-
yarn
38-
yarn serve
48+
pnpm i
49+
pnpm run dev
3950
```
40-
41-
## Deploying
42-
43-
The site is automatically deployed when commits land in `master`, via [Netlify](https://www.netlify.com/).

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"devDependencies": {
88
"@types/node": "^16.9.1",
99
"cheap-watch": "^1.0.3",
10-
"vitepress": "^0.19.1"
10+
"vitepress": "^0.20.0"
1111
},
1212
"dependencies": {
13-
"@vue/repl": "^0.4.0",
14-
"@vue/theme": "^0.1.12"
13+
"@vue/repl": "^0.4.3",
14+
"@vue/theme": "^0.1.13"
1515
}
1616
}

0 commit comments

Comments
 (0)