@alevnyacow/nzmt 0.22.9 → 0.23.0
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.
- package/bin/cli.js +3 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -788,10 +788,10 @@ function generateProvider(lowerCase, upperCase) {
|
|
|
788
788
|
|
|
789
789
|
// Base
|
|
790
790
|
fs.writeFileSync(path.resolve(folder, `${entityName}.provider.ts`), [
|
|
791
|
-
`import { Module } from '@alevnyacow/nzmt'
|
|
791
|
+
`import { Module } from '@alevnyacow/nzmt',`,
|
|
792
792
|
'',
|
|
793
793
|
`export const ${lowerCase}ProviderMetadata = {`,
|
|
794
|
-
`\tname: '${upperCase}Provider'
|
|
794
|
+
`\tname: '${upperCase}Provider',`,
|
|
795
795
|
`\tschemas: {}`,
|
|
796
796
|
`} satisfies Module.Metadata`,
|
|
797
797
|
``,
|
|
@@ -816,7 +816,7 @@ function generateProvider(lowerCase, upperCase) {
|
|
|
816
816
|
`import { ${upperCase}Provider } from './${entityName}.provider'`,
|
|
817
817
|
'',
|
|
818
818
|
`export class ${upperCase}${providerType}Provider extends ${upperCase}Provider {`,
|
|
819
|
-
`\
|
|
819
|
+
`\t`,
|
|
820
820
|
`}`
|
|
821
821
|
].join('\n'))
|
|
822
822
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
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": {
|