Skip to content

Commit 71b060e

Browse files
committed
docs: add using package managers
1 parent 0499fae commit 71b060e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ steps:
110110
cache: true
111111
```
112112

113+
### Use Package Managers Directly
114+
115+
Vite+ has built-in managed `npm`, `pnpm`, `yarn`, and `bun` commands.
116+
By default, setup-vp enables these commands automatically in CI.
117+
If your project uses an older Vite+ version, upgrade Vite+ to v0.3.1 or later.
118+
119+
```yaml
120+
steps:
121+
- uses: actions/checkout@v7
122+
- uses: voidzero-dev/setup-vp@v1.19.0
123+
- run: pnpm --version
124+
```
125+
113126
### Version from `package.json` / Catalog
114127

115128
Keep a single source of truth for the Vite+ version by resolving it from the

0 commit comments

Comments
 (0)