Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: detect bun package manager #2874

Merged
merged 3 commits into from
Aug 30, 2023
Merged

feat: detect bun package manager #2874

merged 3 commits into from
Aug 30, 2023

Conversation

colinhacks
Copy link
Contributor

@colinhacks colinhacks commented Aug 30, 2023

Detects usage of bun via npm_config_user_agent and prints the appropriate commands

Successful local run:

$ npm_config_user_agent=bun/1.0 bin/vitepress.js init
┌   Welcome to VitePress! 
│
◇  Where should VitePress initialize the config?
│  ./
│
◇  Site title:
│  My Awesome Project
│
◇  Site description:
│  A VitePress Site
│
◇  Theme:
│  Default Theme
│
◇  Use TypeScript for config and theme files?
│  Yes
│
◇  Add VitePress npm scripts to package.json?
│  Yes
│
└  Done! Now run bun run docs:dev and start writing.

Tips:
- Make sure to add .vitepress/dist and .vitepress/cache to your .gitignore file.

@brc-dd brc-dd merged commit 83270fe into vuejs:main Aug 30, 2023
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants