diff --git a/src/schematics/rucken-lib-nestjs/index.ts b/src/schematics/rucken-lib-nestjs/index.ts index 324447e..01f1781 100644 --- a/src/schematics/rucken-lib-nestjs/index.ts +++ b/src/schematics/rucken-lib-nestjs/index.ts @@ -84,8 +84,13 @@ function updateSourceFiles( options.name ).toUpperCase()}_SERVICES = []`; } + if (path === `/src/entities/index.ts`) { + return `export const ${underscore( + options.name + ).toUpperCase()}_ENTITIES = []`; + } if (path === `/src/index.ts`) { - return `export * from './i18n/ru.i18n';` + return `export * from './i18n/ru.i18n';`; } if (path === `/package.json`) { const original = JSON.parse(content);