@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
24 lines (17 loc) • 731 B
JavaScript
//#region src/errors/keySetupGuidance.ts
const existingAppSteps = `To use an existing Clerk app, run:
npx clerk@latest link
npx clerk@latest env pull
For production keys, run:
npx clerk@latest env pull --instance prod`;
const dashboardFallback = `Or copy keys from https://dashboard.clerk.com/~/api-keys into your .env file.`;
const keySetupGuidance = `To create a new Clerk app, run:
npx clerk@latest init
'npx clerk@latest init' does not need a Clerk account and writes temporary dev keys.
${existingAppSteps}
${dashboardFallback}`;
const existingAppKeyGuidance = `${existingAppSteps}
${dashboardFallback}`;
//#endregion
exports.existingAppKeyGuidance = existingAppKeyGuidance;
exports.keySetupGuidance = keySetupGuidance;