Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
44 changes: 14 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,51 +11,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm fmt:check
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun lint
- run: bun fmt:check

typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck:ci
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun typecheck:ci

test-unit:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test:unit:ci
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun test:unit:ci

test-browser:
name: Browser Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm dlx playwright@1.58.2 install chromium --with-deps
- run: pnpm test:browser:ci
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bunx playwright@1.58.2 install chromium --with-deps
- run: bun test:browser:ci
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules/
node_modules/.vite/
node_modules/.bin/
visualiser/dist/
*.tsbuildinfo
20 changes: 10 additions & 10 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ TypeScript call graph slicer and HTML visualiser.
## Commands

```bash
pnpm install # Install deps
pnpm test # All tests, watch mode
pnpm test:unit # Unit tests only, watch mode
pnpm test:browser # Browser tests only, watch mode
pnpm test:ci # All tests, single run (CI)
pnpm test:unit:ci # Unit tests only, single run
pnpm test:browser:ci # Browser tests only, single run
pnpm typecheck # Type-check, watch mode
pnpm typecheck:ci # Type-check, single run
pnpm build:visualiser # Bundle the visualiser
bun install # Install deps
bun test # All tests, watch mode
bun test:unit # Unit tests only, watch mode
bun test:browser # Browser tests only, watch mode
bun test:ci # All tests, single run (CI)
bun test:unit:ci # Unit tests only, single run
bun test:browser:ci # Browser tests only, single run
bun typecheck # Type-check, watch mode
bun typecheck:ci # Type-check, single run
bun build:visualiser # Bundle the visualiser
```

## Module Structure
Expand Down
387 changes: 387 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

Loading