create-nextblock 0.2.0 → 0.2.1
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.
package/bin/create-nextblock.js
CHANGED
|
@@ -185,7 +185,7 @@ async function runSetupWizard(projectDir, projectName) {
|
|
|
185
185
|
|
|
186
186
|
clack.intro('🚀 Welcome to the NextBlock setup wizard!');
|
|
187
187
|
|
|
188
|
-
clack.
|
|
188
|
+
clack.note('Connecting to Supabase...');
|
|
189
189
|
clack.note('I will now open your browser to log into Supabase.');
|
|
190
190
|
await execa('npx', ['supabase', 'login'], { stdio: 'inherit', cwd: projectPath });
|
|
191
191
|
|
|
@@ -225,7 +225,7 @@ async function runSetupWizard(projectDir, projectName) {
|
|
|
225
225
|
{ onCancel: () => handleWizardCancel('Setup cancelled.') },
|
|
226
226
|
);
|
|
227
227
|
|
|
228
|
-
clack.
|
|
228
|
+
clack.note('Generating local secrets...');
|
|
229
229
|
const revalidationToken = crypto.randomBytes(32).toString('hex');
|
|
230
230
|
const supabaseUrl = `https://${projectId}.supabase.co`;
|
|
231
231
|
|
|
@@ -273,7 +273,7 @@ async function runSetupWizard(projectDir, projectName) {
|
|
|
273
273
|
clack.success('Supabase configuration saved to .env');
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
clack.
|
|
276
|
+
clack.note('Setting up your database...');
|
|
277
277
|
const dbPushSpinner = clack.spinner();
|
|
278
278
|
dbPushSpinner.start('Pushing database schema... (This may take a minute)');
|
|
279
279
|
try {
|
package/package.json
CHANGED