Repository navigation
Description
Summary
ADR 0029 (#1089) retires cg init. The check, compile, and preview commands are unchanged.
Remove the init command from the CLI: lib/cli/src/commands/init/, its registration in lib/cli/src/index.ts, the unit tests under lib/cli/src/__tests__/commands/init/, the init command block in lib/cli/src/__tests__/integration/cli.test.ts, and the init sections of lib/cli/README.md.
This is the retirement release described in the ADR. Its publish date starts the 90-day compatibility bridge, so the release notes must announce the retirement, the replacement template repositories (common-grants/cg-api-template-express, common-grants/cg-api-template-hono, common-grants/cg-api-template-fastapi), the Getting Started quickstart, and the date the templates/template.json manifest will be deleted.
Depends on the bridge manifest being rewritten and verified first (see the [Templates] Rewrite template.json ticket) and on the docs no longer instructing readers to run cg init (quickstart and guide tickets).
Acceptance criteria
-
cg initandcg init --listare removed;cg check,cg compile, andcg previewbehave as before -
lib/cli/README.mdno longer documentsinit - The PR is a breaking change (
feat!/BREAKING CHANGE) so Release Please cuts@common-grants/cli0.5.0 - The release notes announce the retirement, link the replacement template repositories and the Getting Started quickstart, and state the manifest removal date (release date + 90 days)
- The removal date and named owner are recorded on the
[Monorepo] Delete template.jsonticket
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
docs(website): address review on the TypeScript guide
fix(fast-api): ship check_domain.sh with cg init (#1347)
docs(website): update the TypeScript guide for SDK 0.9 and v0.5 (#1345)