@uxf/scripts 11.85.0 → 11.88.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 +9 -9
- package/src/uxf-claude-sync/cli.js +1 -1
- package/src/uxf-dependencies-check/cli.js +1 -1
- package/src/uxf-dependencies-check/index.js +5 -7
- package/src/uxf-i18n-namespaces-gen/cli.js +1 -1
- package/src/uxf-lunch/cli.js +1 -1
- package/src/uxf-merge-requests-notifier/cli.js +1 -1
- package/src/uxf-push-notifier/cli.js +1 -1
- package/src/uxf-release/cli.js +1 -1
- package/src/uxf-sitemap-check/cli.js +1 -1
- package/src/uxf-sitemap-meta-export/cli.js +1 -1
- package/src/uxf-unused/cli.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/scripts",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.88.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"axios": "1.
|
|
34
|
-
"cheerio": "1.
|
|
35
|
-
"dayjs": "1.11.
|
|
36
|
-
"fast-glob": "3.3.
|
|
37
|
-
"got": "14.
|
|
33
|
+
"axios": "1.13.2",
|
|
34
|
+
"cheerio": "1.1.2",
|
|
35
|
+
"dayjs": "1.11.19",
|
|
36
|
+
"fast-glob": "3.3.3",
|
|
37
|
+
"got": "14.6.3",
|
|
38
38
|
"madge": "8.0.0",
|
|
39
39
|
"robots-txt-parser": "2.0.3",
|
|
40
|
-
"yaml": "2.8.
|
|
41
|
-
"yargs": "
|
|
40
|
+
"yaml": "2.8.1",
|
|
41
|
+
"yargs": "18.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@types/node": "
|
|
44
|
+
"@types/node": "24"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -2,7 +2,7 @@ const { checkUxfDependencies } = require("./index");
|
|
|
2
2
|
const { argv } = require("process");
|
|
3
3
|
|
|
4
4
|
module.exports = async () => {
|
|
5
|
-
const cli = require("yargs")
|
|
5
|
+
const cli = require("yargs")()
|
|
6
6
|
.command("$0", "UXF Dependencies Check", (yargs) => {
|
|
7
7
|
yargs.demandCommand(0, 0).usage(`
|
|
8
8
|
Usage:
|
|
@@ -4,13 +4,11 @@ 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
|
-
function parseLockFile() {
|
|
8
|
-
|
|
9
|
-
const YAML = await import("yaml");
|
|
7
|
+
async function parseLockFile() {
|
|
8
|
+
const YAML = await import("yaml");
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})();
|
|
10
|
+
const content = fs.readFileSync(yarnLockPath, "utf8");
|
|
11
|
+
return YAML.parse(content);
|
|
14
12
|
}
|
|
15
13
|
|
|
16
14
|
function parsePackageJson() {
|
|
@@ -80,7 +78,7 @@ function checkMultipleVersions(dependencyMap, excludedPackages = new Set()) {
|
|
|
80
78
|
}
|
|
81
79
|
|
|
82
80
|
async function checkUxfDependencies(excludedPackages = new Set()) {
|
|
83
|
-
const lockData = await parseLockFile;
|
|
81
|
+
const lockData = await parseLockFile();
|
|
84
82
|
const packageJson = parsePackageJson();
|
|
85
83
|
|
|
86
84
|
const uxfPackages = findUxfPackagesInDependencies(lockData, packageJson);
|
package/src/uxf-lunch/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ const { argv, env } = require("process");
|
|
|
3
3
|
const AVAILABLE_VARIANTS = ["CR", "STALE"];
|
|
4
4
|
|
|
5
5
|
module.exports = async () => {
|
|
6
|
-
const cli = require("yargs")
|
|
6
|
+
const cli = require("yargs")()
|
|
7
7
|
.command("$0", "UXF merge requests notifier", (yargs) => {
|
|
8
8
|
yargs.demandCommand(0, 0).usage(`Usage:
|
|
9
9
|
uxf-merge-requests-notifier [options]
|
package/src/uxf-release/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { argv, env } = require("process");
|
|
2
2
|
|
|
3
3
|
module.exports = async () => {
|
|
4
|
-
const cli = require("yargs")
|
|
4
|
+
const cli = require("yargs")()
|
|
5
5
|
.command("$0", "UXF sitemap meta exporter", (yargs) => {
|
|
6
6
|
yargs.demandCommand(0, 0).usage(`UXF sitemap meta exporter
|
|
7
7
|
Usage:
|
package/src/uxf-unused/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { argv, env } = require("process");
|
|
2
2
|
|
|
3
3
|
module.exports = async () => {
|
|
4
|
-
const cli = require("yargs")
|
|
4
|
+
const cli = require("yargs")()
|
|
5
5
|
.command("$0", "UXF find and remove unused files NextJS project", (yargs) => {
|
|
6
6
|
yargs.demandCommand(0, 0).usage(`
|
|
7
7
|
Usage:
|