@infomaximum/package-cli 2.3.0 → 2.5.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,21 @@
|
|
|
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.5.0](https://github.com/Infomaximum/package-cli/compare/v2.3.0...v2.5.0) (2024-08-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* добавлен флаг noUncheckedIndexedAccess в шаблон tsconfig виджета ([fee3828](https://github.com/Infomaximum/package-cli/commit/fee38283120e9fe9e187f0ff434a1a4d2ac8e150))
|
|
11
|
+
* добавлено поле min_version_platform в манифест пакета ([ff562f3](https://github.com/Infomaximum/package-cli/commit/ff562f35d94345e1a80e4ee86adebbf79b38eb00))
|
|
12
|
+
|
|
13
|
+
## [2.4.0](https://github.com/Infomaximum/package-cli/compare/v2.3.0...v2.4.0) (2024-07-31)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* добавлено поле min_version_platform в манифест пакета ([ff562f3](https://github.com/Infomaximum/package-cli/commit/ff562f35d94345e1a80e4ee86adebbf79b38eb00))
|
|
19
|
+
|
|
5
20
|
## [2.3.0](https://github.com/Infomaximum/package-cli/compare/v2.2.1...v2.3.0) (2024-03-25)
|
|
6
21
|
|
|
7
22
|
|
|
@@ -5,6 +5,7 @@ export const PACKAGE_MANIFEST_TEMPLATE = `\
|
|
|
5
5
|
{
|
|
6
6
|
"$schema": "../node_modules/${CUSTOM_PACKAGE_CLI_LIB_NAME}/schemas/packageManifestSchema.json",
|
|
7
7
|
"manifest_version": "1",
|
|
8
|
+
"min_version_platform": "1.0.0.0",
|
|
8
9
|
"author": "{{author}}",
|
|
9
10
|
"guid": "${randomUUID()}",
|
|
10
11
|
"type": "{{packageType}}",
|
|
@@ -16,7 +16,7 @@ import { Definition } from "./definition/definition";
|
|
|
16
16
|
class CustomWidget implements IWidget<WidgetSettings> {
|
|
17
17
|
public static definition = new Definition();
|
|
18
18
|
|
|
19
|
-
root: ReactDOM.Root | null = null;
|
|
19
|
+
private root: ReactDOM.Root | null = null;
|
|
20
20
|
|
|
21
21
|
public initialize(container: HTMLElement) {
|
|
22
22
|
this.root = ReactDOM.createRoot(container);
|
|
@@ -8,6 +8,7 @@ export const WIDGET_TSCONFIG_JSON = `\
|
|
|
8
8
|
"esModuleInterop": true,
|
|
9
9
|
"allowSyntheticDefaultImports": true,
|
|
10
10
|
"strict": true,
|
|
11
|
+
"noUncheckedIndexedAccess": true,
|
|
11
12
|
"forceConsistentCasingInFileNames": true,
|
|
12
13
|
"noFallthroughCasesInSwitch": true,
|
|
13
14
|
"incremental": true,
|
package/package.json
CHANGED
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"min_version_platform": {
|
|
31
31
|
"type": "string",
|
|
32
|
-
"title": "Минимальная версия платформы (модуля
|
|
32
|
+
"title": "Минимальная версия платформы (модуля subsystems) с которой совместим пакет"
|
|
33
33
|
},
|
|
34
34
|
"max_version_platform": {
|
|
35
35
|
"type": "string",
|
|
36
|
-
"title": "Максимальная версия платформы (модуля
|
|
36
|
+
"title": "Максимальная версия платформы (модуля subsystems) с которой совместим пакет"
|
|
37
37
|
},
|
|
38
38
|
"systems": {
|
|
39
39
|
"type": "array",
|