Versions
- prismic-cli-poc: v1.13.0
- node: v24.x
Reproduction
Additional Details
repo create sends framework: "other" when run outside a supported framework project (src/commands/repo-create.ts:49). The backend then provisions the repository with quotas.sliceMachineEnabled: false, and init rejects it via checkIsTypeBuilderEnabled (src/project.ts:226-235) with:
This command requires the Type Builder in your repository.
Verified against a live repository: framework: "other" → sliceMachineEnabled: false; the same flow through init in a Next.js project → framework: "next", sliceMachineEnabled: true.
Steps to reproduce
- In an empty directory, run
prismic repo create --name my-repo.
- Run
prismic init --repo <domain> (in any directory, or add a framework later).
What is expected?
A repository created by the CLI is usable by the CLI: init and model commands work without manually turning off Legacy Builder in repository settings.
What is actually happening?
The new repository has the Legacy Builder enabled (quotas.sliceMachineEnabled: false), so init fails with TypeBuilderRequired until the user flips the setting in the repository settings UI.
🤖 Generated with Claude Code
Versions
Reproduction
Additional Details
repo createsendsframework: "other"when run outside a supported framework project (src/commands/repo-create.ts:49). The backend then provisions the repository withquotas.sliceMachineEnabled: false, andinitrejects it viacheckIsTypeBuilderEnabled(src/project.ts:226-235) with:Verified against a live repository:
framework: "other"→sliceMachineEnabled: false; the same flow throughinitin a Next.js project →framework: "next",sliceMachineEnabled: true.Steps to reproduce
prismic repo create --name my-repo.prismic init --repo <domain>(in any directory, or add a framework later).What is expected?
A repository created by the CLI is usable by the CLI:
initand model commands work without manually turning off Legacy Builder in repository settings.What is actually happening?
The new repository has the Legacy Builder enabled (
quotas.sliceMachineEnabled: false), soinitfails withTypeBuilderRequireduntil the user flips the setting in the repository settings UI.🤖 Generated with Claude Code