(options: Options)
| 14 | } |
| 15 | |
| 16 | function createPersistedOptions(options: Options): PersistedOptions { |
| 17 | const { chosenAddOns, framework, targetDir: _targetDir, ...rest } = options |
| 18 | return { |
| 19 | ...rest, |
| 20 | version: 1, |
| 21 | framework: framework.id, |
| 22 | chosenAddOns: chosenAddOns.map((addOn) => addOn.id), |
| 23 | starter: options.starter?.id ?? undefined, |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | export async function writeConfigFileToEnvironment( |
| 28 | environment: Environment, |
no outgoing calls
no test coverage detected