@alevnyacow/nzmt 0.17.3 → 0.17.4
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 +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1115,7 +1115,7 @@ function generateQueries(lowerCase, upperCase) {
|
|
|
1115
1115
|
return acc
|
|
1116
1116
|
}, {})
|
|
1117
1117
|
|
|
1118
|
-
const controllerQueriesPath = path.resolve(projectRoot, `${config.coreFolder}${config.paths.queries}`, `${entityName}`, '
|
|
1118
|
+
const controllerQueriesPath = path.resolve(projectRoot, `${config.coreFolder}${config.paths.queries}`, `${entityName}`, 'endpoints')
|
|
1119
1119
|
let scaffoldedMethods = []
|
|
1120
1120
|
|
|
1121
1121
|
fs.mkdirSync(controllerQueriesPath, { recursive: true })
|
|
@@ -1214,7 +1214,7 @@ function generateQueries(lowerCase, upperCase) {
|
|
|
1214
1214
|
fs.writeFileSync(path.resolve(controllerQueriesPath, 'index.ts'), scaffoldedMethods.map(x => `export * from './${x}'`).join('\n'))
|
|
1215
1215
|
|
|
1216
1216
|
const indexPath = path.resolve(projectRoot, `${config.coreFolder}${config.paths.queries}`, `${entityName}`)
|
|
1217
|
-
fs.writeFileSync(path.resolve(indexPath, 'index.ts'), `export * as ${upperCase}Queries from './
|
|
1217
|
+
fs.writeFileSync(path.resolve(indexPath, 'index.ts'), `export * as ${upperCase}Queries from './endpoints'`)
|
|
1218
1218
|
|
|
1219
1219
|
}
|
|
1220
1220
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.4",
|
|
4
4
|
"description": "Next Zod Modules Toolkit",
|
|
5
5
|
"keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolder", "zod", "rest", "contract programming", "react-query", "ddd", "domain-driven"],
|
|
6
6
|
"repository": {
|