blitz-js / blitz-js/blitz

Move cli extension to `blitz-next`

Open
#3,214 0 comments 0 reactions 0 assignees View on GitHub
status/blocked toolkit
Dominant language
TypeScript
Stars
14.1k
Forks
803
PR merge metrics
No merged PRs in 30d

Description

- [ ] `blitz next CMD` will be special cased, such that all nextjs commands like `blitz dev`, `blitz lint`, etc will run `blitz next dev`, etc.
- [ ] `blitz dev`, `blitz build`, and `blitz start` all need to support custom server (see https://github.com/blitz-js/blitz/blob/canary/packages/server/src/dev.ts)
- [ ] `blitz codegen` for Routes manifest
- [ ] `blitz dev` should continue to automatically find next port

Contributor guide

Open the contributing guide

Research direction

Start by locating the current CLI extension and read packages/server/src/dev.ts for the custom-server behavior. Trace how blitz dev, build, start, codegen, and next commands are currently handled, including automatic Next port selection. Done means the listed commands work through blitz-next with custom servers, Routes manifest codegen, and preserved port discovery.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
backend, cli
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.