Commit 1ae1170
Migrate toolchain from npm/Node.js to Bun + NX (#78)
* Migrate toolchain from npm/Node.js to Bun + NX
Replace npm with Bun as package manager and backend runtime, add NX for
build caching and task orchestration. Switch from native bcrypt to
bcrypt-ts for cross-runtime compatibility. Fix Tailwind CSS v4 PostCSS
configuration.
- Bun as package manager and backend runtime (replaces npm + tsx)
- NX lightweight/inferred mode for cached build/lint/test/type-check
- bcrypt-ts (ESM-only) with Jest transform configuration
- Tailwind v4: @tailwindcss/postcss plugin, @import + @config directives
- Updated CI workflows, justfile, pre-commit hooks, and documentation
* Address PR review feedback from CodeRabbit and Copilot
- Fix nx.json type-check to depend on own build + dependency builds,
ensuring Next.js generates .next/types/routes.d.ts before type-check
- Fix bcrypt-ts description in tech.md (not truly cross-runtime)
* fix(deps): remove express-async-errors (incompatible with Express 5)
Express 5 has built-in support for async error handling, making the
express-async-errors package unnecessary. Additionally, express-async-errors
requires express@^4.16.2 which conflicts with express@^5.1.0.
This fixes the peer dependency conflict:
- express-async-errors@3.1.1 requires express@^4.16.2 (peer dependency)
- Project uses express@^5.1.0
Co-Authored-By: Warp <agent@warp.dev>
* Replace ESLint + Prettier with Biome for linting and formatting
Single Rust-based tool replaces 8+ ESLint plugins and Prettier. Removes
all eslint-disable comments (76 in source, converted 5 to biome-ignore
where justified). Adds biome.json overrides for test/example files.
* Update project guidance and steering docs for Bun + Hono + Drizzle stack
Revise architecture direction: Bun runtime with Hono framework,
PostgreSQL with Drizzle ORM, Turborepo with Bun workspaces, bun:test
for testing, and Biome for linting/formatting.
* Update migration specs and tasks for Bun + Hono + Drizzle architecture
Revise design doc, requirements, and task breakdown to reflect the new
stack direction with Hono framework, PostgreSQL/Drizzle ORM, and
Bun-native tooling.
* Add reference to @AGENTS.md in CLAUDE.md
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
* Revise AGENTS.md for Bun + Hono + PostgreSQL/Drizzle stack
Align AI agent guidance with updated steering docs and MERN_GUIDANCE.md.
Replaces all MERN/Express/MongoDB/Jest references with the new stack
direction: Hono, Drizzle ORM, bun:test, Biome, Turborepo, and Vite.
* Add .claude.local.md to .gitignore
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
* fix(biome): disable formatter for auto-generated next-env.d.ts
The pre-commit hook was failing because Biome's formatter flagged
next-env.d.ts (double quotes vs single quotes). This file is
auto-generated by Next.js and should not be formatted. The linter
was already disabled for it; this adds the formatter exclusion.
---------
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Co-authored-by: Warp Agent <agent@warp.dev>1 parent 074a5ab commit 1ae1170
90 files changed
Lines changed: 3887 additions & 19279 deletions
File tree
- .github/workflows
- .kiro
- specs/mern-migration
- steering
- backend
- src
- config
- db
- examples
- middleware
- models
- routes
- services
- utils
- tests
- helpers
- integration
- unit
- frontend
- app
- e2e
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | | - | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
0 commit comments