@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/scripts",
3
- "version": "11.85.0",
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.7.5",
34
- "cheerio": "1.0.0",
35
- "dayjs": "1.11.13",
36
- "fast-glob": "3.3.2",
37
- "got": "14.4.7",
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.0",
41
- "yargs": "17.7.2"
40
+ "yaml": "2.8.1",
41
+ "yargs": "18.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@types/node": "22"
44
+ "@types/node": "24"
45
45
  }
46
46
  }
@@ -1,7 +1,7 @@
1
1
  const { argv } = require("process");
2
2
 
3
3
  module.exports = async () => {
4
- const cli = require("yargs")
4
+ const cli = require("yargs")()
5
5
  .command("$0", "UXF Claude code sync", (yargs) => {
6
6
  yargs.demandCommand(0, 0).usage(`UXF Claude code sync
7
7
  Usage:
@@ -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
- (async () => {
9
- const YAML = await import("yaml");
7
+ async function parseLockFile() {
8
+ const YAML = await import("yaml");
10
9
 
11
- const content = fs.readFileSync(yarnLockPath, "utf8");
12
- return YAML.parse(content);
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);
@@ -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 i18n namespaces generator", (yargs) => {
6
6
  yargs.demandCommand(0, 0).usage(`
7
7
  Usage:
@@ -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 release helper", (yargs) => {
6
6
  yargs.demandCommand(0, 0).usage(`UXF lunch
7
7
  Usage:
@@ -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]
@@ -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 push notifier", (yargs) => {
6
6
  yargs.demandCommand(0, 0).usage(`Usage:
7
7
  uxf-push-notifier [options]
@@ -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 release helper", (yargs) => {
6
6
  yargs.demandCommand(0, 0).usage(`
7
7
  Usage:
@@ -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 checker", (yargs) => {
6
6
  yargs.demandCommand(0, 0).usage(`UXF sitemap checker
7
7
  Usage:
@@ -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:
@@ -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: