@nuucognition/flint-cli 0.5.6-dev.10 → 0.5.6-dev.11
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/chunk-4LAWFN2H.js +6821 -0
- package/dist/{chunk-JSBRDJBE.js → chunk-4VNS5WPM.js} +13 -1
- package/dist/{chunk-JNIJ5JV6.js → chunk-5P56DC5O.js} +1 -1
- package/dist/chunk-DSRNHRUX.js +768 -0
- package/dist/{chunk-E35UCJ2H.js → chunk-EFW5J46R.js} +3 -3
- package/dist/{chunk-RD3WIRZN.js → chunk-FZW47K7J.js} +1 -1
- package/dist/chunk-SCBMBMSG.js +12 -0
- package/dist/{chunk-CMEX7263.js → chunk-WW4R5MWW.js} +1 -1
- package/dist/{chunk-4TNIFXOI.js → chunk-YFUMEQRR.js} +14 -12
- package/dist/{chunk-LLLVBA4Q.js → chunk-YQMGDALR.js} +1 -761
- package/dist/dist-33SYCV6R.js +28 -0
- package/dist/{dist-OOF7XLTD.js → dist-3ZZYLR45.js} +8 -7
- package/dist/{exports-OZQUMYQI-NXQCDWW6.js → exports-OZQUMYQI-RIZGDBFL.js} +4 -3
- package/dist/index.js +8004 -11340
- package/dist/marked-terminal-G6SMT3U3.js +58815 -0
- package/dist/marked.esm-T6BYMIDL.js +2158 -0
- package/dist/{mesh-config-NTGFUNZL-BZ2GO3JY.js → mesh-config-NTGFUNZL-T5YSX3S3.js} +3 -2
- package/dist/{metadata-FASTWX6A-ITKM6C62.js → metadata-FASTWX6A-MAAQ2YNF.js} +4 -3
- package/dist/{plates-4TK56CGM-DZB24SP6.js → plates-4TK56CGM-6ACY6ZX6.js} +4 -3
- package/dist/{registry-5CNUVQN3-PCQZRXLB.js → registry-5CNUVQN3-MXXC35UE.js} +2 -2
- package/dist/{utils-BBA2XQZO-ETTV2PHU.js → utils-BBA2XQZO-Q2LR5RQU.js} +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readFlintToml
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSRNHRUX.js";
|
|
4
4
|
|
|
5
5
|
// ../../packages/flint/dist/chunk-V7QRWUHU.js
|
|
6
6
|
import { readdir, readFile, mkdir, writeFile, rm, stat, copyFile } from "fs/promises";
|
|
@@ -218,7 +218,7 @@ function getDisambiguatedExportName(flintPath, sourcePath, baseName) {
|
|
|
218
218
|
return `${baseName} (${dirLabel})`;
|
|
219
219
|
}
|
|
220
220
|
async function scanExports(flintPath) {
|
|
221
|
-
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-
|
|
221
|
+
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-T5YSX3S3.js");
|
|
222
222
|
const config = await readFlintToml2(flintPath);
|
|
223
223
|
const declarations = config?.exports?.required;
|
|
224
224
|
if (!declarations || declarations.length === 0) {
|
|
@@ -245,7 +245,7 @@ async function scanExportsFromConfig(flintPath, declarations) {
|
|
|
245
245
|
async function scanExportEligible(flintPath) {
|
|
246
246
|
const meshDir = join(flintPath, "Mesh");
|
|
247
247
|
if (!await exists(meshDir)) return [];
|
|
248
|
-
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-
|
|
248
|
+
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-T5YSX3S3.js");
|
|
249
249
|
const config = await readFlintToml2(flintPath);
|
|
250
250
|
const declared = new Set(
|
|
251
251
|
(config?.exports?.required || []).map((d) => d.file.replace(/\.md$/, "").toLowerCase())
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getMeshExportSources,
|
|
3
3
|
getSourceRepositories,
|
|
4
4
|
nameFormats
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DSRNHRUX.js";
|
|
6
6
|
|
|
7
7
|
// ../../packages/flint/dist/chunk-7JTCEXQV.js
|
|
8
8
|
import { readFile, writeFile, mkdir, stat, readdir, unlink } from "fs/promises";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
2
|
+
function ansiRegex({ onlyFirst = false } = {}) {
|
|
3
|
+
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
4
|
+
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
5
|
+
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
6
|
+
const pattern = `${osc}|${csi}`;
|
|
7
|
+
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ansiRegex
|
|
12
|
+
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
registerFlint,
|
|
8
8
|
registerFlintByPath,
|
|
9
9
|
updateFlintEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5P56DC5O.js";
|
|
11
11
|
import {
|
|
12
12
|
exists,
|
|
13
13
|
runConcurrent
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
ensureMetadataDirs,
|
|
17
17
|
syncSourceRepoMetadata
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FZW47K7J.js";
|
|
19
19
|
import {
|
|
20
20
|
syncPlateRepos
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WW4R5MWW.js";
|
|
22
22
|
import {
|
|
23
23
|
addShardToConfig,
|
|
24
24
|
createFlintJson,
|
|
@@ -32,7 +32,6 @@ import {
|
|
|
32
32
|
hasFlintToml,
|
|
33
33
|
migrateShardConfig,
|
|
34
34
|
nameFormats,
|
|
35
|
-
parse,
|
|
36
35
|
readFlintToml,
|
|
37
36
|
removeShardFromConfig,
|
|
38
37
|
resolveShardMode,
|
|
@@ -40,7 +39,10 @@ import {
|
|
|
40
39
|
toKebabCase,
|
|
41
40
|
writeFlintJson,
|
|
42
41
|
writeFlintToml
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DSRNHRUX.js";
|
|
43
|
+
import {
|
|
44
|
+
parse
|
|
45
|
+
} from "./chunk-YQMGDALR.js";
|
|
44
46
|
|
|
45
47
|
// ../../packages/flint/dist/index.js
|
|
46
48
|
import { mkdir as mkdir2, stat as stat9 } from "fs/promises";
|
|
@@ -4721,7 +4723,7 @@ async function moveFlint(nameOrPath, destination, options = {}) {
|
|
|
4721
4723
|
async function removeTinderboxFlint(flint) {
|
|
4722
4724
|
const entry = await findFlintByPath(flint.path);
|
|
4723
4725
|
if (entry) {
|
|
4724
|
-
const { unregisterFlint: unregisterFlint2 } = await import("./registry-5CNUVQN3-
|
|
4726
|
+
const { unregisterFlint: unregisterFlint2 } = await import("./registry-5CNUVQN3-MXXC35UE.js");
|
|
4725
4727
|
await unregisterFlint2(entry.path);
|
|
4726
4728
|
}
|
|
4727
4729
|
await rm42(flint.path, { recursive: true, force: true });
|
|
@@ -5297,7 +5299,7 @@ async function updateShards(flintPath, options = {}) {
|
|
|
5297
5299
|
}
|
|
5298
5300
|
}
|
|
5299
5301
|
}));
|
|
5300
|
-
const { runConcurrent: runConcurrent2 } = await import("./utils-BBA2XQZO-
|
|
5302
|
+
const { runConcurrent: runConcurrent2 } = await import("./utils-BBA2XQZO-Q2LR5RQU.js");
|
|
5301
5303
|
const concurrentResults = await runConcurrent2(updateTasks, {
|
|
5302
5304
|
concurrency: 5,
|
|
5303
5305
|
onStart: options.onStart,
|
|
@@ -6794,9 +6796,9 @@ async function syncFlint(flintPath, progress) {
|
|
|
6794
6796
|
}
|
|
6795
6797
|
}
|
|
6796
6798
|
const requiredMeshExports = config.sources?.meshexports || [];
|
|
6797
|
-
const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-5CNUVQN3-
|
|
6799
|
+
const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-5CNUVQN3-MXXC35UE.js");
|
|
6798
6800
|
const { readdir: readdir9, readFile: fsReadFile, rm: rm7, stat: fsStat, mkdir: fsMkdir, copyFile: fsCopyFile } = await import("fs/promises");
|
|
6799
|
-
const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-FASTWX6A-
|
|
6801
|
+
const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-FASTWX6A-MAAQ2YNF.js");
|
|
6800
6802
|
const requiredMeshExportSet = new Set(requiredMeshExports);
|
|
6801
6803
|
const sourcesFlintDir = join16(flintPath, "Sources", "Flints");
|
|
6802
6804
|
try {
|
|
@@ -6838,7 +6840,7 @@ async function syncFlint(flintPath, progress) {
|
|
|
6838
6840
|
}
|
|
6839
6841
|
if (requiredMeshExports.length > 0) {
|
|
6840
6842
|
const registry = await getFlintRegistry2();
|
|
6841
|
-
const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-OZQUMYQI-
|
|
6843
|
+
const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-OZQUMYQI-RIZGDBFL.js");
|
|
6842
6844
|
for (const ref of requiredMeshExports) {
|
|
6843
6845
|
const parts = ref.split("/");
|
|
6844
6846
|
if (parts.length !== 2) {
|
|
@@ -6982,12 +6984,12 @@ async function syncFlint(flintPath, progress) {
|
|
|
6982
6984
|
error: `Failed to sync source repo metadata: ${err instanceof Error ? err.message : String(err)}`
|
|
6983
6985
|
});
|
|
6984
6986
|
}
|
|
6985
|
-
const { getPlateDeclarationsFromConfig } = await import("./mesh-config-NTGFUNZL-
|
|
6987
|
+
const { getPlateDeclarationsFromConfig } = await import("./mesh-config-NTGFUNZL-T5YSX3S3.js");
|
|
6986
6988
|
const plateDeclarations = getPlateDeclarationsFromConfig(config);
|
|
6987
6989
|
const hasSourcePlates = Object.values(plateDeclarations).some((d) => d.source);
|
|
6988
6990
|
const hasRepoPlates = Object.values(plateDeclarations).some((d) => d.repo);
|
|
6989
6991
|
if (hasSourcePlates) {
|
|
6990
|
-
const { syncDeclaredPlates: syncDeclaredPlates2 } = await import("./plates-4TK56CGM-
|
|
6992
|
+
const { syncDeclaredPlates: syncDeclaredPlates2 } = await import("./plates-4TK56CGM-6ACY6ZX6.js");
|
|
6991
6993
|
const plateResults = await syncDeclaredPlates2(flintPath, plateDeclarations);
|
|
6992
6994
|
result.plates = plateResults;
|
|
6993
6995
|
for (const pr of plateResults) {
|