Skip to content

Commit

Permalink
chore(justfile): add pnpm install to init (#7297)
Browse files Browse the repository at this point in the history
Recently, due to some issues, I had to re-clone the oxc project multiple
times. After running `just init`, I always had to run `pnpm install`
separately. We could include `pnpm install` to init command to
streamline the process. In addition, I propose to include
`cargo-binstall` in the init command.

I'm not sure if we should include the `submodules` command in the init
command, as it is generally unnecessary for most users unless they are
working on specific projects like the minifier.
  • Loading branch information
shulaoda authored and Dunqing committed Nov 17, 2024
1 parent d4b24d5 commit 3cbc170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ alias new-typescript-rule := new-ts-rule
# or install via `cargo install cargo-binstall`
# Initialize the project by installing all the necessary tools.
init:
# Rust related init
cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear dprint -y
# Node.js related init
pnpm install

# When ready, run the same CI commands
ready:
Expand Down

0 comments on commit 3cbc170

Please sign in to comment.