@majordigital/create-acorn 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -178,7 +178,16 @@ async function setupPrismic() {
178
178
  }
179
179
  console.log('');
180
180
 
181
- await runCommand('npx', ['@slicemachine/init@latest', '--repository', repo]);
181
+ try {
182
+ await runCommand('npx', ['@slicemachine/init@latest', '--repository', repo]);
183
+ } catch {
184
+ console.log('');
185
+ console.log('⚠ Prismic Slice Machine init did not complete successfully.');
186
+ console.log(' This usually means the browser login was not completed.');
187
+ console.log(' You can retry later by running:');
188
+ console.log(` npx @slicemachine/init@latest --repository ${repo}`);
189
+ console.log('');
190
+ }
182
191
 
183
192
  // Ensure slicemachine script exists in package.json
184
193
  const pkgPath = join(process.cwd(), 'package.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majordigital/create-acorn",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Interactive scaffold for Acorn with Storyblok/Prismic/DatoCMS, TypeScript, and Tailwind.",
5
5
  "bin": {
6
6
  "create-acorn": "bin/create-acorn.mjs",