@lakutata/cli 2.14.3 → 2.14.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.14.4](https://github.com/lakutata/lakutata-packages/compare/@lakutata/cli@2.14.3...@lakutata/cli@2.14.4) (2025-07-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **cli:** filter empty enum values in DTO conversion ([2cece51](https://github.com/lakutata/lakutata-packages/commit/2cece5156b0b6eea4524a888e1bc89d1abc8c16b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.14.3](https://github.com/lakutata/lakutata-packages/compare/@lakutata/cli@2.14.2...@lakutata/cli@2.14.3) (2025-07-11)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateProjectOptions.d.ts","sourceRoot":"","sources":["../../src/options/CreateProjectOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"CreateProjectOptions.d.ts","sourceRoot":"","sources":["../../src/options/CreateProjectOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,UAAU,CAAA;AAQ5B;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,GAAG;IAQlC,IAAI,EAAE,MAAM,CAAA;IASZ,EAAE,EAAE,MAAM,CAAA;IAUV,QAAQ,EAAE,MAAM,CAAA;IAShB,IAAI,EAAE,MAAM,CAAA;IAUZ,SAAS,EAAE,OAAO,CAAA;IASlB,WAAW,EAAE,MAAM,CAAA;IASnB,MAAM,EAAE,MAAM,CAAA;IASd,OAAO,EAAE,MAAM,CAAA;CACzB"}
|
|
@@ -17,6 +17,9 @@ const lakutata_1 = require("lakutata");
|
|
|
17
17
|
const dto_1 = require("lakutata/decorator/dto");
|
|
18
18
|
const node_process_1 = __importDefault(require("node:process"));
|
|
19
19
|
const ListTemplateNames_1 = require("../lib/ListTemplateNames");
|
|
20
|
+
const templateNames = (0, ListTemplateNames_1.ListTemplateNames)();
|
|
21
|
+
if (!templateNames.length)
|
|
22
|
+
templateNames.push('');
|
|
20
23
|
/**
|
|
21
24
|
* Create project options
|
|
22
25
|
*/
|
|
@@ -43,7 +46,7 @@ __decorate([
|
|
|
43
46
|
(0, dto_1.Expect)(lakutata_1.DTO
|
|
44
47
|
.String()
|
|
45
48
|
.required()
|
|
46
|
-
.allow(...
|
|
49
|
+
.allow(...templateNames)
|
|
47
50
|
.only()
|
|
48
51
|
.description('Choose a template for this project')),
|
|
49
52
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lakutata/cli",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.4",
|
|
4
4
|
"description": "Lakutata CLI tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lakutata",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/degit": "^2.8.6"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "7cf390eda3b7af5711485cd66472a3b8a5289509"
|
|
54
54
|
}
|