Skip to content

Commit

Permalink
feat: add bun as package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
linux-china committed Sep 9, 2023
1 parent 15b7e2a commit ea90548
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ pub fn get_npm_command(package_json: &PackageJson) -> &'static str {
"yarn"
} else if package_manager.starts_with("pnpm") {
"pnpm"
} else {
} else if package_manager.starts_with("bun") {
"bun"
}else {
"npm"
};
} else {
Expand Down

0 comments on commit ea90548

Please sign in to comment.