File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ export type EnvironmentLookupOptions = LookupOptions & {
5454 customizeNamespace ?: ( ns ?: string ) => string | undefined ;
5555} ;
5656
57- export type EnvironmentOptions = BaseEnvironmentOptions &
57+ export type EnvironmentOptions = ConflicterOptions &
58+ BaseEnvironmentOptions &
5859 Omit < TerminalAdapterOptions , 'promptModule' > & {
5960 adapter ?: InputOutputAdapter ;
6061 logCwd ?: string ;
@@ -145,14 +146,15 @@ export default class EnvironmentBase extends EventEmitter implements BaseEnviron
145146 sharedFs : MemFs < MemFsEditorFile > ;
146147 conflicterOptions ?: ConflicterOptions ;
147148
148- protected readonly options : EnvironmentOptions ;
149+ readonly sharedOptions : Record < string , any > ;
150+ readonly options : EnvironmentOptions ;
151+
149152 protected readonly aliases : Array < { match : RegExp ; value : string } > = [ ] ;
150153 protected store : Store ;
151154 protected command ?: YeomanCommand ;
152155 protected runLoop : GroupedQueue ;
153156 protected composedStore : ComposedStore ;
154157 protected lookups : string [ ] ;
155- protected sharedOptions : Record < string , any > ;
156158 protected repository : FlyRepository ;
157159 protected experimental : boolean ;
158160 protected _rootGenerator ?: BaseGenerator ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { type EnvironmentOptions } from './environment-base.ts';
22import Environment from './environment-full.ts' ;
33
44export { default } from './environment-full.ts' ;
5- export { default as EnvironmentBase } from './environment-base.ts' ;
5+ export { default as EnvironmentBase , type EnvironmentOptions } from './environment-base.ts' ;
66
77export const createEnv = ( options ?: EnvironmentOptions ) => new Environment ( options ) ;
88
You can’t perform that action at this time.
0 commit comments