@uxf/scripts 11.107.0 → 11.108.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/scripts",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.108.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"node": ">=24"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"axios": "1.13.4",
|
|
36
|
+
"axios": "^1.13.4",
|
|
37
37
|
"cheerio": "1.2.0",
|
|
38
|
-
"dayjs": "1.11.19",
|
|
38
|
+
"dayjs": "^1.11.19",
|
|
39
39
|
"fast-glob": "3.3.3",
|
|
40
40
|
"got": "14.6.6",
|
|
41
41
|
"madge": "8.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/node": "24",
|
|
48
48
|
"@types/react": "18.3.27",
|
|
49
49
|
"@types/react-dom": "18.3.7",
|
|
50
|
-
"@uxf/core": "11.
|
|
51
|
-
"@uxf/ui": "11.
|
|
50
|
+
"@uxf/core": "11.108.0",
|
|
51
|
+
"@uxf/ui": "11.108.0"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -4,6 +4,9 @@ const path = require("path");
|
|
|
4
4
|
const yarnLockPath = path.resolve(process.cwd(), "yarn.lock");
|
|
5
5
|
const packageJsonPath = path.resolve(process.cwd(), "package.json");
|
|
6
6
|
|
|
7
|
+
// Build-time / CLI-only dependencies that cannot cause runtime conflicts
|
|
8
|
+
const IGNORED_PACKAGES = new Set(["yargs", "fast-glob"]);
|
|
9
|
+
|
|
7
10
|
async function parseLockFile() {
|
|
8
11
|
const YAML = await import("yaml");
|
|
9
12
|
|
|
@@ -84,7 +87,8 @@ async function checkUxfDependencies(excludedPackages = new Set()) {
|
|
|
84
87
|
const uxfPackages = findUxfPackagesInDependencies(lockData, packageJson);
|
|
85
88
|
const dependencies = collectDirectDependencies(uxfPackages, lockData);
|
|
86
89
|
|
|
87
|
-
const
|
|
90
|
+
const allExcluded = new Set([...IGNORED_PACKAGES, ...excludedPackages]);
|
|
91
|
+
const conflicts = checkMultipleVersions(dependencies, allExcluded);
|
|
88
92
|
|
|
89
93
|
if (conflicts.length > 0) {
|
|
90
94
|
console.log("Následující balíčky mají více verzí v závislostech UXF balíčků:");
|