Skip to content

BETA:RC-27:04:2026 - V4 Major release#12

Merged
CODE-Y02 merged 1 commit into
nextfrom
major/v4-update
Apr 27, 2026
Merged

BETA:RC-27:04:2026 - V4 Major release#12
CODE-Y02 merged 1 commit into
nextfrom
major/v4-update

Conversation

@CODE-Y02
Copy link
Copy Markdown
Owner

Description

This PR represents a total "2026-Ready" modernization of the create-express-forge CLI and its monorepo infrastructure. We have moved away from legacy tooling (ESLint/Prettier) in favor of a high-performance unified stack, while simultaneously hardening the core scaffolding logic and templates.

Key Changes:

  • Biome Integration: Migrated the entire monorepo and all generated templates to Biome 2.4. This delivers sub-100ms linting/formatting and simplifies the dependency tree.
  • Generator Architecture: Re-architected the monolithic generator into modular components (Base, Structure, Features), making the codebase significantly easier to maintain and extend.
  • Framework Upgrades: Updated core templates to Express 5 (utilizing native async error handling) and Prisma 6.
  • Professional Testing:
    • Separated internal codebase logic tests (main.test.ts) from CLI integration tests (smoke.integration.test.ts).
    • Logic tests now skip the "polishing" step to run in ~2 seconds.
    • Disabled Turborepo test caching to ensure 100% reliable smoke validation.
  • Production Hardening: Implemented graceful shutdown handlers (SIGTERM/SIGINT) and fail-fast database connection checks on server startup.
  • Docker Pro Pattern: Implemented a best-practice multi-stage Dockerfile that prunes devDependencies while preserving the generated Prisma client.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactor / chore

Checklist

  • I have run pnpm run check-types with no errors
  • I have run pnpm run test and all tests pass
  • I have run pnpm run build successfully
  • I have added a changeset (pnpm changeset) if this affects a published package
  • I have updated relevant documentation

@CODE-Y02 CODE-Y02 merged commit d9eeb6e into next Apr 27, 2026
1 check passed
@CODE-Y02 CODE-Y02 deleted the major/v4-update branch April 27, 2026 17:23
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