Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace bangs with dots #35

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export const updatePackages = async () => {
async (spinner) => {
try {
await execAsync(`pnpm up next@rc react@rc react-dom@rc eslint-config-next@rc --reporter silent`);
spinner.succeed('Updated Next and React to their respective release candidates!');
spinner.succeed('Updated Next and React to their respective release candidates.');
} catch (error) {
spinner.fail('Failed to update Next and React to their respective release candidates!');
spinner.fail('Failed to update Next and React to their respective release candidates.');
console.error(error);
}
},
Expand All @@ -19,9 +19,9 @@ export const updatePackages = async () => {
await logger.withSpinner('payload', 'Installing necessary packages...', async (spinner) => {
try {
await execAsync(`pnpm i pg sharp --reporter silent`);
spinner.succeed('Installed necessary packages!');
spinner.succeed('Installed necessary packages.');
} catch (error) {
spinner.fail('Failed to install necessary packages!');
spinner.fail('Failed to install necessary packages.');
console.error(error);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const connectSupabaseProject = async (projectName: string, currentDir: st
);
}

spinner.succeed('Project found!');
spinner.succeed('Project found.');
return project;
});

Expand All @@ -42,7 +42,7 @@ export const connectSupabaseProject = async (projectName: string, currentDir: st
throw new Error('Failed to retrieve Supabase API keys. Please check your project configuration.');
}

spinner.succeed('API keys retrieved!');
spinner.succeed('API keys retrieved.');
return keys;
},
);
Expand Down Expand Up @@ -84,7 +84,7 @@ export const connectSupabaseProject = async (projectName: string, currentDir: st

spinner.text = 'Opening dashboard in your browser...';
await execAsync(`open https://supabase.com/dashboard/project/${newProject.refId}/settings/integrations`);
spinner.succeed('Dashboard opened!');
spinner.succeed('Dashboard opened.');

// Check Vercel integration
await logger.withSpinner('vercel', 'Checking integration...', async (spinner) => {
Expand All @@ -106,7 +106,7 @@ export const connectSupabaseProject = async (projectName: string, currentDir: st
const supabaseUrl = envVarsSet.envs.find((env: { key: string }) => env.key === 'SUPABASE_URL')?.value;

if (supabaseUrl) {
spinner.succeed('Integration complete!');
spinner.succeed('Integration complete.');
return true;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/core/installMachine/installSteps/turbo/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export const createTurboRepo = async (name: string) => {
await checkPnpmVersion();
// Run the command to create a turbo repo
await execAsync(`npx create-turbo@latest ${name} -m pnpm`);
spinner.succeed('Initialized!');
spinner.succeed('Initialized.');
} catch (error) {
spinner.fail('Failed to initialize!');
spinner.fail('Failed to initialize.');
console.error(error);
}
});
Expand Down
Loading