@alevnyacow/nzmt 0.21.2 → 0.21.3

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 +1 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -1134,7 +1134,7 @@ function generateAPIRoutes(lowerCase, upperCase, entity) {
1134
1134
  const controllerHandlersRootPath = path.resolve(projectRoot, config.coreFolder, 'app', 'api', `${requiredEntity}-controller`)
1135
1135
 
1136
1136
  if (fs.existsSync(controllerHandlersRootPath)) {
1137
- fs.rmdirSync(controllerHandlersRootPath)
1137
+ fs.rmSync(controllerHandlersRootPath, { force: true, recursive: true })
1138
1138
  }
1139
1139
 
1140
1140
  fs.mkdirSync(controllerHandlersRootPath, { recursive: true })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.21.2",
3
+ "version": "0.21.3",
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": {