You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,18 @@ CLI tool to run GitLab CI pipelines locally. Written in TypeScript, built with B
4
4
5
5
## Build & Runtime
6
6
7
-
-**Runtime**: Bun (not Node.js). All scripts use `bun`/`bun test`/`bun run`.
7
+
-**Runtime**: Bun (not Node.js). All scripts use `bun`/`bun run`. Tests use vitest.
8
8
-**npm publish**: Still uses `npm publish --provenance` because Bun doesn't support provenance.
9
9
-**`bin` field**: Points to `dist/index.js` (Node.js-compatible bundle built by `bun run build:node`), not `src/index.ts`. This keeps `npm install -g` working without Bun.
10
10
-**Standalone binaries**: Built with `bun build --compile` for linux-amd64, linux-arm64, macos-x64, macos-arm64, win.
11
11
-**Version**: Hardcoded as `0.0.0` in `package.json`. CI replaces it via `sed` before build/publish. At runtime, `src/index.ts` reads it from `package.json` import.
12
12
13
13
## Testing
14
14
15
-
-**Never run the full test suite** (`bun test`), it takes too long. Always run targeted tests: `bun test --timeout 60000 tests/test-cases/<name>/`
16
-
-**Timeout**: `bunfig.toml` timeout setting does not work. The `--timeout 60000` flag in package.json scripts is required.
15
+
-**Never run the full test suite** (`bun run test`), it takes too long. Always run targeted tests: `bunx vitest run tests/test-cases/<name>/`
16
+
-**Timeout**: Configured in `vitest.config.ts` (`testTimeout: 60_000`).
17
17
-**Docker tests**: Tests under `dind-*` require Docker and are slow.
0 commit comments