Skip to content

fix: point typescript scaffold back at the v1 service template (launch blocker B4)#99

Open
cultron wants to merge 1 commit into
mainfrom
fix/v1-template-revert
Open

fix: point typescript scaffold back at the v1 service template (launch blocker B4)#99
cultron wants to merge 1 commit into
mainfrom
fix/v1-template-revert

Conversation

@cultron

@cultron cultron commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Why

Published @apso/cli (0.19.0) clones service-template-ts, whose package.json declares @apso/crud, @apso/crud-core, @apso/crud-request, @apso/crud-typeorm as file:../ monorepo paths. None of those are published to npm (verified E404 today), so a new user's scaffolded TypeScript service cannot npm install, build, or deploy. This is launch-readiness blocker B4.

What

  • typescript template target reverted to the v1 service-template repo (published @nestjsx/crud deps, installs clean; matches what the generators still emit).
  • Test imports TEMPLATE_REPOS from src so URL drift fails CI, with a comment documenting the three conditions for switching back (publish @apso/crud*, convert template deps to npm refs, port generators).

Verification

  • npm run build clean, 206/206 tests pass.
  • service-template-ts on GitHub still has the file: refs; npm view @apso/crud → E404 (checked 2026-07-19).

Note for merger

Merging to main auto-publishes to npm (version bump + tag + publish + homebrew tarballs via onPushToMain). Merge when you want the fixed CLI live.

🤖 Generated with Claude Code

Published @apso/cli clones service-template-ts, whose package.json
declares @apso/crud* as file:../ monorepo paths. Those packages are not
on npm (E404), so a real user's scaffolded service cannot npm install,
build, or deploy — the core new-user flow is broken (launch blocker B4).

Revert the typescript target to the v1 service-template (published
@nestjsx/crud deps, installs clean), which is also what the generators
still emit imports for. The test now imports TEMPLATE_REPOS from src so
any future URL drift fails CI. Switch back to service-template-ts only
after @apso/crud* are published and the template's deps are converted to
npm version refs (documented V2 migration).

Merging to main auto-publishes via the onPushToMain workflow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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