@infomaximum/package-cli 2.1.1 → 2.2.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/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.2.1](https://github.com/Infomaximum/package-cli/compare/v2.2.0...v2.2.1) (2024-03-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * удалены объявления модулей из шаблона ([d38b5fa](https://github.com/Infomaximum/package-cli/commit/d38b5fa1a0ea756e5c734dd15cbcda0b657ddba8))
11
+
12
+ ## [2.2.0](https://github.com/Infomaximum/package-cli/compare/v2.1.1...v2.2.0) (2024-03-15)
13
+
14
+
15
+ ### Features
16
+
17
+ * добавлено поле icon в манифест виджета ([3f135f8](https://github.com/Infomaximum/package-cli/commit/3f135f8379c84973114cb86cb65df0e6ca071899))
18
+
5
19
  ### [2.1.1](https://github.com/Infomaximum/package-cli/compare/v2.1.0...v2.1.1) (2024-03-07)
6
20
 
7
21
 
@@ -29,21 +29,6 @@ declare module "*.webp" {
29
29
  export default src;
30
30
  }
31
31
 
32
- declare module "*.svg" {
33
- import * as React from "react";
34
-
35
- export const ReactComponent: React.FunctionComponent<
36
- React.SVGProps<SVGSVGElement> & { title?: string }
37
- >;
38
-
39
- export default ReactComponent;
40
- }
41
-
42
- declare module "*.svg?url" {
43
- const src: string;
44
- export default src;
45
- }
46
-
47
32
  declare module "*.module.css" {
48
33
  const classes: { readonly [key: string]: string };
49
34
  export default classes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/package-cli",
3
- "version": "2.1.1",
3
+ "version": "2.2.1",
4
4
  "exports": "./dist/index.js",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -29,6 +29,12 @@
29
29
  }
30
30
  }
31
31
  },
32
+ "icon": {
33
+ "type": "string",
34
+ "description": "Иконка виджета которая будет отображаться в системе формата .svg или .png",
35
+ "pattern": ".(svg|png)$",
36
+ "examples": ["_resources/icon.svg"]
37
+ },
32
38
  "default_size_percentage": {
33
39
  "type": "object",
34
40
  "title": "Размеры виджета по умолчанию при переносе его на холст",