@alevnyacow/nzmt 0.41.0 → 0.41.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.
- package/bin/cli.js +4 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1463,9 +1463,10 @@ function generateWidget(name, rootPath) {
|
|
|
1463
1463
|
|
|
1464
1464
|
if (command === 'w') {
|
|
1465
1465
|
let rootPath = undefined
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1466
|
+
if (entityName.includes('/')) {
|
|
1467
|
+
const splitData = entityName.split('/')
|
|
1468
|
+
entityName = splitData.pop()
|
|
1469
|
+
rootPath = splitData.join('/')
|
|
1469
1470
|
}
|
|
1470
1471
|
generateWidget(entityName, rootPath)
|
|
1471
1472
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.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": {
|