@infomaximum/package-cli 2.10.3 → 2.11.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
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.11.0](https://github.com/Infomaximum/package-cli/compare/v2.10.4...v2.11.0) (2024-10-24)
6
+
7
+
8
+ ### Features
9
+
10
+ * добавлено поле is_beta в схему манифеста ([543be3e](https://github.com/Infomaximum/package-cli/commit/543be3e75d9adec62587d6de19d167dd9c5904a9))
11
+
12
+ ### [2.10.4](https://github.com/Infomaximum/package-cli/compare/v2.10.3...v2.10.4) (2024-10-04)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * имя иконки пакета с виджетом переименовано ([d7a90cf](https://github.com/Infomaximum/package-cli/commit/d7a90cf0629e39b0ea4c26f91e156c30eacfb0ec))
18
+
5
19
  ### [2.10.3](https://github.com/Infomaximum/package-cli/compare/v2.10.2...v2.10.3) (2024-10-04)
6
20
 
7
21
 
@@ -17,7 +17,7 @@ import { WIDGET_SDK_LIB_NAME } from "../../const.js";
17
17
  import { WIDGET_RC_CONFIG } from "../../templates/widgetRCConfig.js";
18
18
  const addInitActions = (basePath, plop) => { };
19
19
  const actions = ({ widgetSDKVersion, packageCliVersion }) => {
20
- const packageIconName = "Package";
20
+ const packageIconName = "Widget";
21
21
  return [
22
22
  {
23
23
  type: "add",
@@ -10,11 +10,10 @@ export const WIDGET_MANIFEST_TEMPLATE = `\
10
10
  "en": "{{${capitalizeHelperName} packageName}}",
11
11
  "ru": "{{${capitalizeHelperName} packageName}}"
12
12
  },
13
- "default_size_percentage": {
14
- "width": 60,
15
- "height": 20,
16
- "min_width": 8,
17
- "min_height": 4
13
+ "is_beta": false,
14
+ "default_size": {
15
+ "min_width": 120,
16
+ "min_height": 120
18
17
  }
19
18
  }
20
19
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/package-cli",
3
- "version": "2.10.3",
3
+ "version": "2.11.0",
4
4
  "exports": "./dist/index.js",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,10 @@
36
36
  "pattern": ".(svg|png)$",
37
37
  "examples": ["_resources/icon.svg"]
38
38
  },
39
- "default_size_percentage": {
39
+ "is_beta": {
40
+ "type": "boolean"
41
+ },
42
+ "default_size": {
40
43
  "type": "object",
41
44
  "title": "Размеры виджета по умолчанию",
42
45
  "required": ["min_width", "min_height"],
@@ -50,5 +53,5 @@
50
53
  }
51
54
  }
52
55
  },
53
- "required": ["uuid", "name", "min_system_version"]
56
+ "required": ["uuid", "name"]
54
57
  }