Skip to content

Commit 19d0f9c

Browse files
docs: add info about bun as pkg manager (#1294)
1 parent f1f6016 commit 19d0f9c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

docs/.vitepress/theme/components/home/CoreFeature3Col.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import StackedBlock from './StackedBlock.vue';
2626
<code>pnpm</code>
2727
<code>npm</code>
2828
<code>yarn</code>
29+
<code>bun</code>
2930
</div>
3031
</div>
3132
</div>

docs/guide/install.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Overview
66

7-
Use Vite+ to manage dependencies across pnpm, npm, and Yarn. Instead of switching between `pnpm install`, `npm install`, and `yarn install`, you can keep using `vp install`, `vp add`, `vp remove`, and the rest of the Vite+ package-management commands.
7+
Use Vite+ to manage dependencies across pnpm, npm, Yarn, and Bun. Instead of switching between `pnpm install`, `npm install`, `yarn install`, and `bun install`, you can keep using `vp install`, `vp add`, `vp remove`, and the rest of the Vite+ package-management commands.
88

99
Vite+ detects the package manager from the workspace root in this order:
1010

@@ -13,8 +13,10 @@ Vite+ detects the package manager from the workspace root in this order:
1313
3. `pnpm-lock.yaml`
1414
4. `yarn.lock` or `.yarnrc.yml`
1515
5. `package-lock.json`
16-
6. `.pnpmfile.cjs` or `pnpmfile.cjs`
17-
7. `yarn.config.cjs`
16+
6. `bun.lock` or `bun.lockb`
17+
7. `.pnpmfile.cjs` or `pnpmfile.cjs`
18+
8. `bunfig.toml`
19+
9. `yarn.config.cjs`
1820

1921
If none of those files are present, `vp` falls back to `pnpm` by default. Vite+ automatically downloads the matching package manager and uses it for the command you ran.
2022

@@ -34,7 +36,7 @@ vp install --filter web
3436
vp install -w
3537
```
3638

37-
`vp install` maps to the correct underlying install behavior for the detected package manager, including the right lockfile flags for pnpm, npm, and Yarn.
39+
`vp install` maps to the correct underlying install behavior for the detected package manager, including the right lockfile flags for pnpm, npm, Yarn, and Bun.
3840

3941
## Global Packages
4042

docs/guide/why.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ Unifying the toolchain has performance benefits beyond just using faster tools o
3434

3535
## Fully Open Source
3636

37-
Vite+ is fully open source and not a new framework or locked-down platform. Vite+ integrates with the existing Vite ecosystem and the frameworks built on top of it, including React, Vue, Svelte, and others. It can use pnpm, npm, or Yarn, and manages the Node.js runtime for you.
37+
Vite+ is fully open source and not a new framework or locked-down platform. Vite+ integrates with the existing Vite ecosystem and the frameworks built on top of it, including React, Vue, Svelte, and others. It can use pnpm, npm, yarn, or Bun as package manager, and manages the Node.js runtime for you.
3838

3939
We always welcome contributions from the community. See our [Contributing Guidelines](https://github.com/voidzero-dev/vite-plus/blob/main/CONTRIBUTING.md) to get involved.

0 commit comments

Comments
 (0)