@@ -14,7 +14,6 @@ import { z } from 'zod';
1414import { resolveMode , resolveAuthSecret , resolveBaseUrl } from './boot-env.js' ;
1515import type { BootMode } from './boot-env.js' ;
1616import { createRuntimeStack , RuntimeStackConfigSchema } from './runtime-stack.js' ;
17- import { createStandaloneStack , StandaloneStackConfigSchema } from './standalone-stack.js' ;
1817import { createCloudStack } from './cloud-stack.js' ;
1918import type { CloudStackConfig } from './cloud-stack.js' ;
2019import type { ProjectTemplate } from './multi-project-plugin.js' ;
@@ -35,7 +34,7 @@ const CloudStackConfigSchema = z.object({
3534
3635export const BootStackConfigSchema = z . object ( {
3736 /** Explicit mode override. When unset, resolves from env. */
38- mode : z . enum ( [ 'runtime' , 'cloud' , 'standalone' , ' project'] ) . optional ( ) ,
37+ mode : z . enum ( [ 'runtime' , 'cloud' , 'project' ] ) . optional ( ) ,
3938 /** Runtime-mode options (used when mode resolves to `runtime`). */
4039 runtime : RuntimeStackConfigSchema . optional ( ) ,
4140 /**
@@ -45,8 +44,6 @@ export const BootStackConfigSchema = z.object({
4544 project : RuntimeStackConfigSchema . optional ( ) ,
4645 /** Cloud-mode options (used when mode resolves to `cloud`). */
4746 cloud : CloudStackConfigSchema . optional ( ) ,
48- /** Standalone-mode options (used when mode resolves to `standalone`). */
49- standalone : StandaloneStackConfigSchema . optional ( ) ,
5047} ) ;
5148
5249export type BootStackConfig = z . input < typeof BootStackConfigSchema > ;
@@ -92,10 +89,6 @@ export async function createBootStack(config?: BootStackConfig): Promise<BootSta
9289 return createCloudStack ( merged ) ;
9390 }
9491
95- if ( mode === 'standalone' ) {
96- return createStandaloneStack ( cfg . standalone ) ;
97- }
98-
9992 // runtime (also reached via deprecated `mode: 'project'`)
10093 return createRuntimeStack ( cfg . runtime ?? cfg . project ) ;
10194}
0 commit comments