Skip to content

Commit

Permalink
chore: replace bangs with dots (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
maneike authored Nov 19, 2024
1 parent a41081a commit 02b7e4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
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

0 comments on commit 02b7e4e

Please sign in to comment.