Skip to content

feat(instant-start): remove Starter Preview on init handoff - #257

Merged
jomifepe merged 7 commits into
mainfrom
jp/instant-start-preview
Aug 13, 2026
Merged

feat(instant-start): remove Starter Preview on init handoff#257
jomifepe merged 7 commits into
mainfrom
jp/instant-start-preview

Conversation

@jomifepe

@jomifepe jomifepe commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes the managed hosted preview named "Starter Preview" during prismic init handoff
  • Drops URL-format-specific matching in favor of stable preview label identification
  • Updates init tests and related test helpers

Related

  • next-instant-start: multi-tenant hosted preview deployment patch: next-instant-start#1
  • API: provisions preview as "Starter Preview" with /api/preview/{repositoryId}

Made with Cursor

jomifepe and others added 7 commits August 7, 2026 16:05
Remove path-based preview URLs and delete deployment/hosted-preview
when users run prismic init to take over the starter locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
Align CLI cleanup with renamed instant preview deployment folder.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Remove deployment path constant and delete documents with .deployment
together during starter handoff when the local package matches.

Co-authored-by: Cursor <cursoragent@cursor.com>
…cleanup

Hosted preview URLs now include a prismicHost query param; compare origin
and pathname only so init still removes the starter handoff entry.

Co-authored-by: Cursor <cursoragent@cursor.com>
Delete Starter Preview configurations during handoff without coupling the CLI to hosted preview URL formats.
@jomifepe
jomifepe merged commit 600dcd3 into main Aug 13, 2026
16 checks passed
@jomifepe
jomifepe deleted the jp/instant-start-preview branch August 13, 2026 12: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.

2 participants