@infomaximum/package-cli 1.19.1 → 1.20.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,13 @@
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
+ ## [1.20.0](https://github.com/Infomaximum/package-cli/compare/v1.19.1...v1.20.0) (2024-02-22)
6
+
7
+
8
+ ### Features
9
+
10
+ * добавлен постфикс для имени пакета при разработке ([530fdd2](https://github.com/Infomaximum/package-cli/commit/530fdd24ecb12e31c2d22bd99b6bbec5c3edf13c))
11
+
5
12
  ### [1.19.1](https://github.com/Infomaximum/package-cli/compare/v1.19.0...v1.19.1) (2024-02-21)
6
13
 
7
14
 
@@ -72,6 +72,12 @@ export const getPackageConfig = (mode, PATHS, isBuildDevMode) => __awaiter(void
72
72
  matcher: MANIFEST_REG_EXP,
73
73
  action: (currentJsonContent) => {
74
74
  currentJsonContent.version = widgetVersion;
75
+ const packageName = currentJsonContent.name;
76
+ if (isBuildDevMode && typeof packageName === "string") {
77
+ Object.assign(currentJsonContent, {
78
+ name: packageName + DEV_POSTFIX,
79
+ });
80
+ }
75
81
  return currentJsonContent;
76
82
  },
77
83
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/package-cli",
3
- "version": "1.19.1",
3
+ "version": "1.20.0",
4
4
  "exports": "./dist/index.js",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",