Skip to content

chore: align dev tooling with stage monorepo#13

Merged
dastratakos merged 1 commit into
mainfrom
dastratakos/copy-lint-hooks
May 2, 2026
Merged

chore: align dev tooling with stage monorepo#13
dastratakos merged 1 commit into
mainfrom
dastratakos/copy-lint-hooks

Conversation

@dastratakos

@dastratakos dastratakos commented May 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Aligns this repo's dev tooling with the ~/Developer/stage monorepo for cross-repo consistency: same Biome config, same pre-commit hooks, same CI shape, same package manager.

Changes

  • Biome 1.9 → 2.4 with stricter rules (noExplicitAny: error, noFocusedTests, noConsole allowing error/warn, useExportType) and tab indentation. All source files reformatted.
  • Husky 9 + lint-staged pre-commit hook running biome check --write on staged files.
  • .github/workflows/ci.yml with drizzle drift check → lint → typecheck → test → build, plus PR template.
  • npm → pnpm@10.24.0 with packageManager field and onlyBuiltDependencies for better-sqlite3 and esbuild.
  • Slimmed .gitignore from ~150 lines to 26 — kept only what we actually generate.
  • Doc updates to AGENTS.md, TESTING.md, and agent files for new style and pnpm.

Testing

  • pnpm install
  • pnpm lint
  • pnpm typecheck
  • pnpm test ✓ (53 passed)
  • pnpm build and pnpm build:web
  • pnpm db:generate ✓ (no drift)

Open in Stage

- Upgrade Biome 1.9 -> 2.4 with stricter rules (noExplicitAny: error,
  noFocusedTests, noConsole allowing error/warn, useExportType) and
  tab indentation. Reformat all source files.
- Add husky 9 + lint-staged pre-commit hook running biome check --write
  on staged files.
- Add .github/workflows/ci.yml (drizzle drift, lint, typecheck, test,
  build) and PULL_REQUEST_TEMPLATE.md.
- Switch package manager from npm to pnpm@10.24.0 with packageManager
  field and onlyBuiltDependencies for native deps.
- Slim .gitignore from ~150 lines to 26 by removing patterns for
  frameworks/tools this repo does not use.
- Update AGENTS.md, TESTING.md, and agent docs to reflect new style
  and pnpm commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request transitions the project to pnpm, introduces pre-commit hooks via husky and lint-staged, and updates the Biome configuration to enforce stricter linting and tab-based indentation for JS/TS files. The changes involve a widespread reformatting of the codebase and updates to project documentation and scripts. Review feedback recommends using the ignore field in biome.json for directory exclusions to ensure more reliable behavior and suggests aligning the @biomejs/biome dependency version in package.json with the schema version used in the configuration.

Comment thread biome.json
Comment thread package.json
@dastratakos dastratakos marked this pull request as ready for review May 2, 2026 20:03
@dastratakos dastratakos merged commit 862dcaf into main May 2, 2026
4 checks passed
@dastratakos dastratakos deleted the dastratakos/copy-lint-hooks branch May 4, 2026 05:09
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