Skip to content

Commit 89bddcd

Browse files
authored
fix: remove no longer relevant bootstrap-cli command from init task (#261)
## Description Was trying to set up the repo by following the instructions in `CONTRIBUTING.md`, but encountered an error ```sh ➜ vite-task git:(main) just init cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear@1.11.1 taplo-cli -y INFO resolve: Resolving package: 'typos-cli' # Omitted ... Finished [`release` profile [optimized]](https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles) target(s) in 47.13s Installing /Users/yangshun/.cargo/bin/taplo Installed package `taplo-cli v0.10.0` (executable `taplo`) INFO Cargo finished successfully INFO Done in 53.617422084s pnpm run bootstrap-cli  ERR_PNPM_NO_SCRIPT  Missing script: bootstrap-cli ``` ## Issue `justfile` references `pnpm run bootstrap-cli` under `init`, but there's no longer such a script in the `package.json`. 1. This line was originally added to the root `package.json` in f082903 2. The root `package.json` was removed in dda69c7, but the setup instructions in `justinit` weren't updated. The new `package.json` doesn't contain the script `bootstrap-cli`. ## Test plan 1. Removed that line from `justfile` 2. Ran `just init` 3. Command completed successfully Signed-off-by: Yangshun Tay <tay.yang.shun@gmail.com>
1 parent 63f0733 commit 89bddcd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

justfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ alias r := ready
1010

1111
init:
1212
cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear@1.11.1 taplo-cli -y
13-
pnpm run bootstrap-cli
1413

1514
ready:
1615
git diff --exit-code --quiet

0 commit comments

Comments
 (0)