Skip to content

Conversation

@sreya
Copy link
Contributor

@sreya sreya commented Nov 13, 2025

  • Add GitHub Actions workflow (.github/workflows/ci.yml)

    • 5 parallel jobs: fmt, lint, typecheck, test, build
    • Triggers on push to main, all PRs, and manual dispatch
    • Uses Bun for fast dependency installation
    • Total runtime: ~5 seconds
  • Add Prettier for code formatting

    • Config: 2 spaces, single quotes, 100 char width
    • Format all TypeScript, JSON, Markdown, HTML files
    • New scripts: fmt, fmt:fix
  • Add Biome for fast linting

    • Rust-based linter (100x faster than ESLint)
    • Custom rules for terminal emulator code
    • Allows escape sequences, non-null assertions
    • New scripts: lint, lint:fix
  • Update dependencies

    • Add @biomejs/biome@^1.9.4
    • Add prettier@^3.3.3
  • Format entire codebase with Prettier

    • Consistent style across all files
    • All CI checks passing locally

All jobs validated:
✅ Format check: All files formatted
✅ Lint: No errors
✅ Type check: No TypeScript errors
✅ Tests: 88/88 passing
✅ Build: Successfully generates bundles

- Add GitHub Actions workflow (.github/workflows/ci.yml)
  - 5 parallel jobs: fmt, lint, typecheck, test, build
  - Triggers on push to main, all PRs, and manual dispatch
  - Uses Bun for fast dependency installation
  - Total runtime: ~5 seconds

- Add Prettier for code formatting
  - Config: 2 spaces, single quotes, 100 char width
  - Format all TypeScript, JSON, Markdown, HTML files
  - New scripts: fmt, fmt:fix

- Add Biome for fast linting
  - Rust-based linter (100x faster than ESLint)
  - Custom rules for terminal emulator code
  - Allows escape sequences, non-null assertions
  - New scripts: lint, lint:fix

- Update dependencies
  - Add @biomejs/biome@^1.9.4
  - Add prettier@^3.3.3

- Format entire codebase with Prettier
  - Consistent style across all files
  - All CI checks passing locally

All jobs validated:
✅ Format check: All files formatted
✅ Lint: No errors
✅ Type check: No TypeScript errors
✅ Tests: 88/88 passing
✅ Build: Successfully generates bundles
- Replace --apply with --write in lint:fix script
- Fix implicit any type in demo/server/file-browser-server.ts
@sreya sreya merged commit 3dd6d79 into main Nov 13, 2025
5 checks passed
sreya added a commit that referenced this pull request Nov 13, 2025
…#16)

* feat: add CI pipeline with fmt, lint, typecheck, test, and build jobs

- Add GitHub Actions workflow (.github/workflows/ci.yml)
  - 5 parallel jobs: fmt, lint, typecheck, test, build
  - Triggers on push to main, all PRs, and manual dispatch
  - Uses Bun for fast dependency installation
  - Total runtime: ~5 seconds

- Add Prettier for code formatting
  - Config: 2 spaces, single quotes, 100 char width
  - Format all TypeScript, JSON, Markdown, HTML files
  - New scripts: fmt, fmt:fix

- Add Biome for fast linting
  - Rust-based linter (100x faster than ESLint)
  - Custom rules for terminal emulator code
  - Allows escape sequences, non-null assertions
  - New scripts: lint, lint:fix

- Update dependencies
  - Add @biomejs/biome@^1.9.4
  - Add prettier@^3.3.3

- Format entire codebase with Prettier
  - Consistent style across all files
  - All CI checks passing locally

All jobs validated:
✅ Format check: All files formatted
✅ Lint: No errors
✅ Type check: No TypeScript errors
✅ Tests: 88/88 passing
✅ Build: Successfully generates bundles

* update ci names

* fix: update biome lint:fix to use --write instead of deprecated --apply

- Replace --apply with --write in lint:fix script
- Fix implicit any type in demo/server/file-browser-server.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant