From fd4d5f0e3a00b4a75b9efc033040e297ed11cb57 Mon Sep 17 00:00:00 2001 From: lgandecki Date: Fri, 18 Aug 2023 14:16:18 +0200 Subject: [PATCH] fix: remove unnecessary file --- src/generate/generate-module.ts | 10 ---------- src/generate/templates/getCodegenConfig.js | 3 --- 2 files changed, 13 deletions(-) delete mode 100644 src/generate/templates/getCodegenConfig.js diff --git a/src/generate/generate-module.ts b/src/generate/generate-module.ts index e41dc1c2..9f84234c 100755 --- a/src/generate/generate-module.ts +++ b/src/generate/generate-module.ts @@ -63,16 +63,6 @@ export const executeGeneration = async (appPrefix = '~app', generatedPrefix = '~ debug('createGenericDataModelSchema'); createGenericDataModelSchema(); - const createGetCodegenConfig = () => { - const templateName = './templates/getCodegenConfig.js'; - const filePath = `${projectMainPath}/generated/graphql/`; - const fileName = 'getCodegenConfig.js'; - - saveRenderedTemplate(templateName, { appPrefix }, filePath, fileName); - }; - - debug('createGetCodegenConfig'); - createGetCodegenConfig(); const modulesResolvedPath = path.join(projectMainPath, modulesPath); const graphqlPaths = shelljs.ls(path.join(modulesResolvedPath, '**/*.graphql')); diff --git a/src/generate/templates/getCodegenConfig.js b/src/generate/templates/getCodegenConfig.js deleted file mode 100644 index d95253a7..00000000 --- a/src/generate/templates/getCodegenConfig.js +++ /dev/null @@ -1,3 +0,0 @@ -const getCodegenConfig = require('chimp/lib/generate/runtime-config-helpers/getCodegenConfig'); - -module.exports = getCodegenConfig;