create-alta-app 3.1.0 → 3.2.0
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/index.mjs +4 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -467,11 +467,11 @@ async function main() {
|
|
|
467
467
|
if (credentials) {
|
|
468
468
|
const spinnerLink = ora({ text: 'Linking Supabase project...', indent: 2 }).start();
|
|
469
469
|
try {
|
|
470
|
-
// Use
|
|
470
|
+
// Use pnpm dlx to download+run supabase CLI (npx doesn't work in pnpm workspaces)
|
|
471
471
|
spinnerLink.text = 'Logging in to Supabase...';
|
|
472
|
-
runVerbose(`
|
|
472
|
+
runVerbose(`pnpm dlx supabase login --token ${credentials.supabaseToken}`, targetDir);
|
|
473
473
|
spinnerLink.text = `Linking Supabase project: ${credentials.supabaseProjectRef}...`;
|
|
474
|
-
runVerbose(`
|
|
474
|
+
runVerbose(`pnpm dlx supabase link --project-ref ${credentials.supabaseProjectRef}`, targetDir);
|
|
475
475
|
spinnerLink.succeed(pc.green('Supabase project linked'));
|
|
476
476
|
} catch (err) {
|
|
477
477
|
spinnerLink.warn(pc.yellow('Could not link Supabase project'));
|
|
@@ -611,7 +611,7 @@ async function main() {
|
|
|
611
611
|
|
|
612
612
|
// Push to GitHub — triggers Vercel auto-deploy
|
|
613
613
|
spinnerDeploy.text = 'Pushing to GitHub...';
|
|
614
|
-
runVerbose('git push', monorepoRoot);
|
|
614
|
+
runVerbose('git push origin HEAD', monorepoRoot);
|
|
615
615
|
spinnerDeploy.succeed(pc.green('Pushed to GitHub'));
|
|
616
616
|
|
|
617
617
|
const deployUrl = credentials.vercelUrl || `https://${projectName}.vercel.app`;
|