@alevnyacow/nzmt 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +3 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -412,7 +412,7 @@ function generateInfrastructure(upperCase, lowerCase) {
412
412
  `export class ${upperCase} {`,
413
413
  `\t`,
414
414
  `}`
415
- ])
415
+ ].join('\n'))
416
416
 
417
417
  fs.writeFileSync(path.resolve(folder, `${entityName}.mock.ts`), [
418
418
  `import { ${upperCase} } from './${entityName}'`,
@@ -420,12 +420,12 @@ function generateInfrastructure(upperCase, lowerCase) {
420
420
  `export class Mock${upperCase} implements ${upperCase} {`,
421
421
  `\t`,
422
422
  `}`
423
- ])
423
+ ].join('\n'))
424
424
 
425
425
  fs.writeFileSync(path.resolve(folder, `index.ts`), [
426
426
  `export * from './${entityName}'`,
427
427
  `export * from './${entityName}.mock'`
428
- ])
428
+ ].join('\n'))
429
429
 
430
430
  // Update DI
431
431
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Next Zod Modules Toolkit",
5
5
  "keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolding", "zod", "rest", "contract programming", "contract-first", "react-query", "ddd", "domain-driven"],
6
6
  "repository": {