MCPcopy
hub / github.com/google/gts / generateTsConfig

Function generateTsConfig

src/init.ts:243–250  ·  view source on GitHub ↗
(options: Options)

Source from the content-addressed store, hash-verified

241}
242
243async function generateTsConfig(options: Options): Promise<void> {
244 const config = formatJson({
245 extends: './node_modules/gts/tsconfig-google.json',
246 compilerOptions: {rootDir: '.', outDir: 'build'},
247 include: ['src/**/*.ts', 'test/**/*.ts'],
248 });
249 return generateConfigFile(options, './tsconfig.json', config);
250}
251
252async function generatePrettierConfig(options: Options): Promise<void> {
253 const style = `module.exports = {

Callers 1

initFunction · 0.85

Calls 2

formatJsonFunction · 0.85
generateConfigFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…