File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,24 +15,30 @@ Output format is documented in [API.md](./API.md).
1515
1616## Install
1717
18- Global install from GitHub (short-term distribution) :
18+ For now, install from a local checkout :
1919
2020``` bash
21- npm install -g github:PSPDFKit-labs/buildkite-cli#v0.0.6
21+ git clone https://github.com/PSPDFKit-labs/buildkite-cli ~ /Work/buildkite-cli
22+ cd ~ /Work/buildkite-cli
23+ pnpm install
24+ pnpm run build
25+ npm link
2226bkci --help
2327```
2428
25- You can also pin to a commit SHA if needed.
29+ After pulling new changes, rebuild:
30+
31+ ``` bash
32+ pnpm run build
33+ ```
2634
2735Local development:
2836
2937``` bash
30- pnpm install
31- pnpm run build
3238pnpm run test
3339```
3440
35- Run from source :
41+ Run directly without linking :
3642
3743``` bash
3844node dist/index.js < command>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 "private" : true ,
66 "type" : " module" ,
77 "bin" : {
8- "bkci" : " ./bin/bkci .js"
8+ "bkci" : " ./dist/index .js"
99 },
1010 "scripts" : {
1111 "build" : " tsc -p tsconfig.json" ,
12- "dev" : " ts-node-esm src/index.ts" ,
12+ "dev" : " tsx src/index.ts" ,
1313 "check" : " tsc --noEmit -p tsconfig.json" ,
1414 "test" : " pnpm run build && node --test dist/**/*.test.js"
1515 },
1616 "engines" : {
1717 "node" : " >=20.0.0"
1818 },
1919 "packageManager" : " pnpm@9.15.9" ,
20- "dependencies" : {
21- "ts-node" : " ^10.9.2" ,
22- "typescript" : " ^5.9.0"
23- },
2420 "devDependencies" : {
25- "@types/node" : " ^24.0.0"
21+ "@types/node" : " ^24.0.0" ,
22+ "tsx" : " ^4.20.0" ,
23+ "typescript" : " ^5.9.0"
2624 }
2725}
You can’t perform that action at this time.
0 commit comments