Commit 89bddcd
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
0 commit comments