Skip to content
Closed
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
1 change: 1 addition & 0 deletions packages/cli/src/commands/auth-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,4 @@ export function getProviderTemplate(name: string): ProviderTemplate | null {
export function getAvailableProviders(): string[] {
return Object.keys(PROVIDER_TEMPLATES);
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,3 +465,4 @@ export async function runAuthAddProviderCommand(
console.log("=".repeat(60));
console.log(`\nDocs: ${template.docsUrl}\n`);
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/branch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,3 +384,4 @@ export async function runBranchCommand(
process.exit(1);
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,4 @@ export async function runDevCommand(projectRoot: string) {
await shutdown();
};
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/dev/error-formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ export function formatDiffForDev(
})
.join("\n");
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/dev/process-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@ export class ProcessManager {
pump();
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/dev/query-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@ export class QueryLog {

// Singleton instance for global access
export const queryLog = new QueryLog();

1 change: 1 addition & 0 deletions packages/cli/src/commands/dev/watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ export class DevWatcher {
this._debounce.set(key, setTimeout(fn, this._debounceMs));
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,4 @@ export async function stopAllFunctions(): Promise<void> {

runningFunctions.clear();
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,3 +406,4 @@ export async function runGenerateCrudCommand(
logger.warn(`Failed to regenerate GraphQL: ${(err as Error).message}`);
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,3 +456,4 @@ function toPascalCase(str: string): string {
.replace(/[-_](.)/g, (_match, c) => c.toUpperCase())
.replace(/^(.)/, (_match, c) => c.toUpperCase());
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/iac/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ function printTable(results: QueryAnalysis[]) {
`\nTotal: ${total} | High: ${high} | Medium: ${medium} | Low: ${total - high - medium}\n`,
);
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/iac/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ See docs/iac/13-data-portability.md for more information.

logger.success("Export command initialized");
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/iac/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ export async function runIacGenerate(projectRoot: string) {

success(`Generated betterbase/_generated/api.d.ts (${fns.length} functions)`);
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/iac/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ See docs/iac/13-data-portability.md for more information.

logger.success("Import command initialized");
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/iac/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ export async function runIacSync(
done(startTime, "Schema synced");
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1518,3 +1518,4 @@ export async function runInitCommand(rawOptions: InitCommandOptions): Promise<vo
throw error;
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ export async function isAuthenticated(): Promise<boolean> {
const creds = await getCredentials();
return creds !== null;
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/migrate-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,4 @@ CREATE INDEX IF NOT EXISTS idx_migrations_name
ON _betterbase_migrations(name);
`;
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,3 +759,4 @@ export async function runMigrateHistoryCommand(projectRoot: string): Promise<voi

console.log("");
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/migrate/from-convex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,4 @@ ${issuesSection}
${fileReviewSection}
`;
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/rls-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,4 @@ export async function runRLSTestCommand(projectRoot: string, tableName: string):
await sql.end();
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/rls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,4 @@ ${chalk.gray("Examples:")}
`);
}
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -921,3 +921,4 @@ function formatBytes(bytes: number): string {

return `${Number.parseFloat((bytes / k ** i).toFixed(2))} ${sizes[i]}`;
}

1 change: 1 addition & 0 deletions packages/cli/src/commands/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,3 +672,4 @@ export async function runWebhookCommand(args: string[], projectRoot: string): Pr
`);
}
}

Loading