MCPcopy Index your code
hub / github.com/code-pushup/cli / writeStandaloneConfig

Function writeStandaloneConfig

packages/create-cli/src/lib/setup/wizard.ts:113–118  ·  view source on GitHub ↗
(
  { tree, format, configFilename }: WriteContext,
  results: PluginCodegenResult[],
)

Source from the content-addressed store, hash-verified

111}
112
113async function writeStandaloneConfig(
114 { tree, format, configFilename }: WriteContext,
115 results: PluginCodegenResult[],
116): Promise<void> {
117 await tree.write(configFilename, generateConfigSource(results, format));
118}
119
120async function writeMonorepoConfigs(
121 { tree, format, configFilename, isEsm }: WriteContext,

Callers 1

runSetupWizardFunction · 0.85

Calls 1

generateConfigSourceFunction · 0.85

Tested by

no test coverage detected