@lakutata/cli 2.14.3 → 2.15.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/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
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.15.0](https://github.com/lakutata/lakutata-packages/compare/@lakutata/cli@2.14.4...@lakutata/cli@2.15.0) (2025-07-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **dbus:** add DBus SDK package with client provider and test setup ([0bc9cd9](https://github.com/lakutata/lakutata-packages/commit/0bc9cd9f99374a57f3250ee9f540ace18be67f9c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.14.4](https://github.com/lakutata/lakutata-packages/compare/@lakutata/cli@2.14.3...@lakutata/cli@2.14.4) (2025-07-11)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **cli:** filter empty enum values in DTO conversion ([2cece51](https://github.com/lakutata/lakutata-packages/commit/2cece5156b0b6eea4524a888e1bc89d1abc8c16b))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [2.14.3](https://github.com/lakutata/lakutata-packages/compare/@lakutata/cli@2.14.2...@lakutata/cli@2.14.3) (2025-07-11)
7
29
 
8
30
 
@@ -26,7 +26,7 @@ async function ConvertDTO2Inquirer(dto) {
26
26
  case 'string':
27
27
  default: {
28
28
  if (propertyInfo.enum) {
29
- const enums = propertyInfo.enum;
29
+ const enums = propertyInfo.enum.filter(value => !!value);
30
30
  prompts.push({
31
31
  name: propertyName,
32
32
  type: 'list',
@@ -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;AAK5B;;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"}
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(...(0, ListTemplateNames_1.ListTemplateNames)())
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",
3
+ "version": "2.15.0",
4
4
  "description": "Lakutata CLI tool",
5
5
  "keywords": [
6
6
  "lakutata",
@@ -40,7 +40,7 @@
40
40
  "degit": "^2.8.4",
41
41
  "execa": "^8.0.1",
42
42
  "inquirer": "^12.7.0",
43
- "lakutata": "^2.0.13",
43
+ "lakutata": "^2.0.53",
44
44
  "latest-version": "^9.0.0",
45
45
  "log-update": "^6.1.0",
46
46
  "node-fetch-native": "^1.6.4",
@@ -50,5 +50,5 @@
50
50
  "devDependencies": {
51
51
  "@types/degit": "^2.8.6"
52
52
  },
53
- "gitHead": "6d0aa3b45b0697725f11eac9115b4e567b875f2a"
53
+ "gitHead": "4ab1f85513872334dd45de0fdeff71cf0d58fe36"
54
54
  }