From 1d64b9ac9dad8ec0ce925a7ac326b1a5dc824838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereira?= <7235666+jomifepe@users.noreply.github.com> Date: Mon, 17 Aug 2026 10:10:19 +0100 Subject: [PATCH 1/3] feat(init): show starter-specific success message after handoff Print next-step guidance for Instant Start starter projects instead of the generic type-create and pull instructions. Co-authored-by: Cursor --- src/commands/init.ts | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index 4cb7ad3..0c099c9 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -143,7 +143,10 @@ export default createCommand(config, async ({ values }) => { ); } - const isTypeBuilderEnabled = await checkIsTypeBuilderEnabled(repo, { token, host }); + const isTypeBuilderEnabled = await checkIsTypeBuilderEnabled(repo, { + token, + host, + }); if (!isTypeBuilderEnabled) { throw new TypeBuilderRequiredError(repo, host); } @@ -285,12 +288,23 @@ export default createCommand(config, async ({ values }) => { } if (isExistingProjectHandoff && connectedRepository?.starter) { - await completeStarterHandoff(adapter, connectedRepository.starter, { repo, token, host }); + await completeStarterHandoff(adapter, connectedRepository.starter, { + repo, + token, + host, + }); + console.info("\n---"); + console.info("\nYour project is ready!"); + console.info("\nHere's what you can do next:"); + console.info("• Start the development server: `npm run dev`"); + console.info(`• Preview your pages live at https://${repo}.${host}/builder`); + console.info("\nStart building 🚀"); + } else { + console.info("\n---"); + console.info(`\nInitialized Prismic for repository "${repo}".`); + console.info("Run `prismic type create ` to create a content type."); + console.info("Run `prismic pull` to pull models from Prismic."); } - - console.info(`\nInitialized Prismic for repository "${repo}".`); - console.info("Run `prismic type create ` to create a content type."); - console.info("Run `prismic pull` to pull models from Prismic."); }); async function isStarterPackage(starter: NonNullable): Promise { From 93eb9db8f768a7b0f6517aff89ded2897e110e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereira?= <7235666+jomifepe@users.noreply.github.com> Date: Mon, 17 Aug 2026 10:21:43 +0100 Subject: [PATCH 2/3] fix: hasStarterModelChanges --- src/commands/init.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index 0c099c9..2833a79 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -293,12 +293,15 @@ export default createCommand(config, async ({ values }) => { token, host, }); - console.info("\n---"); - console.info("\nYour project is ready!"); - console.info("\nHere's what you can do next:"); - console.info("• Start the development server: `npm run dev`"); - console.info(`• Preview your pages live at https://${repo}.${host}/builder`); - console.info("\nStart building 🚀"); + + if (!hasStarterModelChanges) { + console.info("\n---"); + console.info("\nYour project is ready!"); + console.info("\nHere's what you can do next:"); + console.info("• Start the development server: `npm run dev`"); + console.info(`• Preview your pages live at https://${repo}.${host}/builder`); + console.info("\nStart building 🚀"); + } } else { console.info("\n---"); console.info(`\nInitialized Prismic for repository "${repo}".`); From 65d7f4f2879ea9edd9a1ecb38b0d2b93d353aaae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereira?= <7235666+jomifepe@users.noreply.github.com> Date: Mon, 17 Aug 2026 10:24:33 +0100 Subject: [PATCH 3/3] Update src/commands/init.ts Co-authored-by: Lucie <25330882+lihbr@users.noreply.github.com> --- src/commands/init.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index 2833a79..2ca96e8 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -296,10 +296,9 @@ export default createCommand(config, async ({ values }) => { if (!hasStarterModelChanges) { console.info("\n---"); - console.info("\nYour project is ready!"); - console.info("\nHere's what you can do next:"); - console.info("• Start the development server: `npm run dev`"); - console.info(`• Preview your pages live at https://${repo}.${host}/builder`); + console.info("\nYour project is ready! Here's what you can do next:"); + console.info("- Run `npm run dev` to start the development server"); + console.info(`- Open https://${repo}.${host}/builder to preview pages live`); console.info("\nStart building 🚀"); } } else {