@infomaximum/package-cli 2.6.0 → 2.6.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,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
|
+
### [2.6.1](https://github.com/Infomaximum/package-cli/compare/v2.6.0...v2.6.1) (2024-09-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* убрано извлечение комментариев ([5564467](https://github.com/Infomaximum/package-cli/commit/556446794b1b4ba9a4c4df83a377e833f956e839))
|
|
11
|
+
|
|
5
12
|
## [2.6.0](https://github.com/Infomaximum/package-cli/compare/v2.5.0...v2.6.0) (2024-08-29)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -7,7 +7,7 @@ import { isExist, removeServiceFieldsForDevelopment, systemRequire, } from "../.
|
|
|
7
7
|
import { BUILD_ARCHIVE_EXT, DEV_POSTFIX, MANIFEST_REG_EXP, } from "../../../const.js";
|
|
8
8
|
import { assertSimple } from "@infomaximum/assert";
|
|
9
9
|
const packageFilename = "main.js";
|
|
10
|
-
export const getPackageBuildConfig = (
|
|
10
|
+
export const getPackageBuildConfig = ({ mode, PATHS, isBuildDevMode, entityArchivePath, }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
11
11
|
const entityVersion = systemRequire(PATHS.appPackageJson).version;
|
|
12
12
|
const manifestPackageName = systemRequire(PATHS.packageManifestPath).name;
|
|
13
13
|
let entityPackageName = `${manifestPackageName}_${entityVersion}`;
|
|
@@ -9,6 +9,12 @@ export const getMinimizer = () => {
|
|
|
9
9
|
new TerserWebpackPlugin({
|
|
10
10
|
minify: TerserWebpackPlugin.terserMinify,
|
|
11
11
|
parallel: true,
|
|
12
|
+
extractComments: false,
|
|
13
|
+
terserOptions: {
|
|
14
|
+
format: {
|
|
15
|
+
comments: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
12
18
|
}),
|
|
13
19
|
new CssMinimizerPlugin(),
|
|
14
20
|
],
|
package/dist/widget/utils.js
CHANGED
|
@@ -5,8 +5,8 @@ import { getLatestVersionOfLibrary, getLibraryVersionInProject, systemRequire, }
|
|
|
5
5
|
import { WIDGET_SDK_LIB_NAME } from "./const.js";
|
|
6
6
|
import { CUSTOM_PACKAGE_CLI_LIB_NAME } from "../const.js";
|
|
7
7
|
export function checkLatestVersion(libName) {
|
|
8
|
+
var _a, _b, _c;
|
|
8
9
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9
|
-
var _a, _b, _c;
|
|
10
10
|
const libVersionInProject = yield getLibraryVersionInProject(libName);
|
|
11
11
|
if (!libVersionInProject)
|
|
12
12
|
return;
|