@ariestools/toolchain 8.7.19 → 8.7.21
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/dist/actions/analyze.d.ts +28 -1
- package/dist/actions/analyze.d.ts.map +1 -1
- package/dist/actions/work/github.d.ts +60 -0
- package/dist/actions/work/github.d.ts.map +1 -0
- package/dist/actions/work/index.d.ts +21 -19
- package/dist/actions/work/index.d.ts.map +1 -1
- package/dist/actions/work/render.d.ts +5 -0
- package/dist/actions/work/render.d.ts.map +1 -0
- package/dist/actions/work/result.d.ts +12 -0
- package/dist/actions/work/result.d.ts.map +1 -0
- package/dist/actions/work/schema.d.ts.map +1 -1
- package/dist/actions/work/sync.d.ts +34 -0
- package/dist/actions/work/sync.d.ts.map +1 -0
- package/dist/bin/package/build.mjs +1256 -699
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/clean.mjs +633 -432
- package/dist/bin/package/clean.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +632 -431
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/copy-assets-cjs.mjs +1 -1
- package/dist/bin/package/copy-assets-esm.mjs +1 -1
- package/dist/bin/package/fix.mjs +17 -12
- package/dist/bin/package/fix.mjs.map +1 -1
- package/dist/bin/package/lint-verbose.mjs +17 -12
- package/dist/bin/package/lint-verbose.mjs.map +1 -1
- package/dist/bin/package/lint.mjs +17 -12
- package/dist/bin/package/lint.mjs.map +1 -1
- package/dist/bin/package/publint.mjs +1161 -609
- package/dist/bin/package/publint.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +632 -431
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/package/relint.mjs +17 -12
- package/dist/bin/package/relint.mjs.map +1 -1
- package/dist/bin/package/sync-layout.mjs +615 -419
- package/dist/bin/package/sync-layout.mjs.map +1 -1
- package/dist/bin/xy.mjs +2067 -737
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/xy/common/work/index.d.ts.map +1 -1
- package/dist/xy/common/work/listCommand.d.ts.map +1 -1
- package/dist/xy/common/work/syncCommand.d.ts +3 -0
- package/dist/xy/common/work/syncCommand.d.ts.map +1 -0
- package/dist/xy/react/analyzeCommand.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/bin/source-map-explorer.mjs +0 -27268
- package/dist/bin/source-map-explorer.mjs.map +0 -1
|
@@ -5,8 +5,8 @@ import tty from "node:tty";
|
|
|
5
5
|
import * as xi from "node:fs";
|
|
6
6
|
import { copyFileSync, mkdirSync, readFileSync } from "node:fs";
|
|
7
7
|
import PATH, { posix, win32 } from "node:path";
|
|
8
|
-
import path from "node:path/posix";
|
|
9
8
|
import { fileURLToPath } from "node:url";
|
|
9
|
+
import path from "node:path/posix";
|
|
10
10
|
import { lstatSync, readdir, readdirSync, readlinkSync, realpathSync } from "fs";
|
|
11
11
|
import { lstat, readdir as readdir$1, readlink, realpath } from "node:fs/promises";
|
|
12
12
|
import { EventEmitter } from "node:events";
|
|
@@ -5,8 +5,8 @@ import tty from "node:tty";
|
|
|
5
5
|
import * as xi from "node:fs";
|
|
6
6
|
import { copyFileSync, mkdirSync, readFileSync } from "node:fs";
|
|
7
7
|
import PATH, { posix, win32 } from "node:path";
|
|
8
|
-
import path from "node:path/posix";
|
|
9
8
|
import { fileURLToPath } from "node:url";
|
|
9
|
+
import path from "node:path/posix";
|
|
10
10
|
import { lstatSync, readdir, readdirSync, readlinkSync, realpathSync } from "fs";
|
|
11
11
|
import { lstat, readdir as readdir$1, readlink, realpath } from "node:fs/promises";
|
|
12
12
|
import { EventEmitter } from "node:events";
|
package/dist/bin/package/fix.mjs
CHANGED
|
@@ -463,7 +463,7 @@ const range = (a, b, str) => {
|
|
|
463
463
|
return result;
|
|
464
464
|
};
|
|
465
465
|
//#endregion
|
|
466
|
-
//#region ../../node_modules/.pnpm/brace-expansion@5.0.
|
|
466
|
+
//#region ../../node_modules/.pnpm/brace-expansion@5.0.7/node_modules/brace-expansion/dist/esm/index.js
|
|
467
467
|
const escSlash = "\0SLASH" + Math.random() + "\0";
|
|
468
468
|
const escOpen = "\0OPEN" + Math.random() + "\0";
|
|
469
469
|
const escClose = "\0CLOSE" + Math.random() + "\0";
|
|
@@ -531,15 +531,18 @@ function gte(i, y) {
|
|
|
531
531
|
function expand_(str, max, isTop) {
|
|
532
532
|
/** @type {string[]} */
|
|
533
533
|
const expansions = [];
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
534
|
+
for (;;) {
|
|
535
|
+
const m = balanced("{", "}", str);
|
|
536
|
+
if (!m) return [str];
|
|
537
|
+
const pre = m.pre;
|
|
538
|
+
if (/\$$/.test(m.pre)) {
|
|
539
|
+
const post = m.post.length ? expand_(m.post, max, false) : [""];
|
|
540
|
+
for (let k = 0; k < post.length && k < max; k++) {
|
|
541
|
+
const expansion = pre + "{" + m.body + "}" + post[k];
|
|
542
|
+
expansions.push(expansion);
|
|
543
|
+
}
|
|
544
|
+
return expansions;
|
|
545
|
+
}
|
|
543
546
|
const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
544
547
|
const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
545
548
|
const isSequence = isNumericSequence || isAlphaSequence;
|
|
@@ -547,10 +550,12 @@ function expand_(str, max, isTop) {
|
|
|
547
550
|
if (!isSequence && !isOptions) {
|
|
548
551
|
if (m.post.match(/,(?!,).*\}/)) {
|
|
549
552
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
550
|
-
|
|
553
|
+
isTop = true;
|
|
554
|
+
continue;
|
|
551
555
|
}
|
|
552
556
|
return [str];
|
|
553
557
|
}
|
|
558
|
+
const post = m.post.length ? expand_(m.post, max, false) : [""];
|
|
554
559
|
let n;
|
|
555
560
|
if (isSequence) n = m.body.split(/\.\./);
|
|
556
561
|
else {
|
|
@@ -600,8 +605,8 @@ function expand_(str, max, isTop) {
|
|
|
600
605
|
const expansion = pre + N[j] + post[k];
|
|
601
606
|
if (!isTop || isSequence || expansion) expansions.push(expansion);
|
|
602
607
|
}
|
|
608
|
+
return expansions;
|
|
603
609
|
}
|
|
604
|
-
return expansions;
|
|
605
610
|
}
|
|
606
611
|
//#endregion
|
|
607
612
|
//#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|