diff --git a/cli/src/helpers/createProject.ts b/cli/src/helpers/createProject.ts index 81b385485f..85c75aeecd 100644 --- a/cli/src/helpers/createProject.ts +++ b/cli/src/helpers/createProject.ts @@ -24,6 +24,7 @@ interface CreateProjectOptions { importAlias: string; appRouter: boolean; databaseProvider: DatabaseProvider; + drizzleDatabaseProvider: DatabaseProvider; } export const createProject = async ({ @@ -33,6 +34,7 @@ export const createProject = async ({ noInstall, appRouter, databaseProvider, + drizzleDatabaseProvider, }: CreateProjectOptions) => { const pkgManager = getUserPkgManager(); const projectDir = path.resolve(process.cwd(), projectName); @@ -46,6 +48,7 @@ export const createProject = async ({ noInstall, appRouter, databaseProvider, + drizzleDatabaseProvider, }); // Install the selected packages @@ -58,6 +61,7 @@ export const createProject = async ({ noInstall, appRouter, databaseProvider, + drizzleDatabaseProvider, }); // Select necessary _app,index / layout,page files diff --git a/cli/src/index.ts b/cli/src/index.ts index 0394f25180..ead9a69115 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -40,6 +40,7 @@ const main = async () => { packages, flags: { noGit, noInstall, importAlias, appRouter }, databaseProvider, + drizzleDatabaseProvider, } = await runCli(); const usePackages = buildPkgInstallerMap(packages, databaseProvider); @@ -52,6 +53,7 @@ const main = async () => { scopedAppName, packages: usePackages, databaseProvider, + drizzleDatabaseProvider, importAlias, noInstall, appRouter,