@nuucognition/flint-cli 0.5.4 → 0.5.5
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-XCJCDTYH.js → chunk-C66KJDI7.js} +1 -1
- package/dist/{chunk-TEH7V4CG.js → chunk-VAJMJ47E.js} +2 -2
- package/dist/{chunk-35T5EICE.js → chunk-XWUP7WHQ.js} +7 -7
- package/dist/{dist-O2XR75RX.js → dist-RGQKIZQW.js} +3 -4
- package/dist/{exports-FO5IMLM7-CCQ4YIBU.js → exports-FO5IMLM7-EN6H3N2A.js} +1 -2
- package/dist/index.js +8774 -16246
- package/dist/{mesh-config-BAIYF4KD-W2EMFIZA.js → mesh-config-BAIYF4KD-W2RGZQ2V.js} +0 -1
- package/dist/{metadata-SJT4H53O-M3MBWMSN.js → metadata-SJT4H53O-7W2752ZT.js} +0 -1
- package/dist/{registry-YN5W7EY7-YQ425X47.js → registry-YN5W7EY7-SZNXPBV5.js} +1 -2
- package/dist/{utils-BBA2XQZO-Z7WSHI2K.js → utils-BBA2XQZO-YU5SL3JY.js} +0 -1
- package/package.json +3 -3
- package/dist/chunk-EAQYK3U2.js +0 -41
- package/dist/fsevents-X6WP4TKM.node +0 -0
- package/dist/index.d.ts +0 -2
|
@@ -182,7 +182,7 @@ async function cleanRegistryFile() {
|
|
|
182
182
|
return result;
|
|
183
183
|
}
|
|
184
184
|
async function registerFlintByPath(path, options) {
|
|
185
|
-
const { readFlintToml, hasFlintToml } = await import("./mesh-config-BAIYF4KD-
|
|
185
|
+
const { readFlintToml, hasFlintToml } = await import("./mesh-config-BAIYF4KD-W2RGZQ2V.js");
|
|
186
186
|
const isFlint = await hasFlintToml(path);
|
|
187
187
|
if (!isFlint) {
|
|
188
188
|
throw new Error(`Not a valid flint: ${path}
|
|
@@ -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-BAIYF4KD-
|
|
221
|
+
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-BAIYF4KD-W2RGZQ2V.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-BAIYF4KD-
|
|
248
|
+
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-BAIYF4KD-W2RGZQ2V.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())
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
registerFlint,
|
|
8
8
|
registerFlintByPath,
|
|
9
9
|
updateFlintEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C66KJDI7.js";
|
|
11
11
|
import {
|
|
12
12
|
exists,
|
|
13
13
|
runConcurrent
|
|
@@ -5165,7 +5165,7 @@ async function moveFlint(nameOrPath, destination, options = {}) {
|
|
|
5165
5165
|
async function removeTinderboxFlint(flint) {
|
|
5166
5166
|
const entry = await findFlintByPath(flint.path);
|
|
5167
5167
|
if (entry) {
|
|
5168
|
-
const { unregisterFlint: unregisterFlint2 } = await import("./registry-YN5W7EY7-
|
|
5168
|
+
const { unregisterFlint: unregisterFlint2 } = await import("./registry-YN5W7EY7-SZNXPBV5.js");
|
|
5169
5169
|
await unregisterFlint2(entry.path);
|
|
5170
5170
|
}
|
|
5171
5171
|
await rm52(flint.path, { recursive: true, force: true });
|
|
@@ -5741,7 +5741,7 @@ async function updateShards(flintPath, options = {}) {
|
|
|
5741
5741
|
}
|
|
5742
5742
|
}
|
|
5743
5743
|
}));
|
|
5744
|
-
const { runConcurrent: runConcurrent2 } = await import("./utils-BBA2XQZO-
|
|
5744
|
+
const { runConcurrent: runConcurrent2 } = await import("./utils-BBA2XQZO-YU5SL3JY.js");
|
|
5745
5745
|
const concurrentResults = await runConcurrent2(updateTasks, {
|
|
5746
5746
|
concurrency: 5,
|
|
5747
5747
|
onStart: options.onStart,
|
|
@@ -7236,9 +7236,9 @@ async function syncFlint(flintPath, progress) {
|
|
|
7236
7236
|
}
|
|
7237
7237
|
}
|
|
7238
7238
|
const requiredMeshExports = config.sources?.meshexports || [];
|
|
7239
|
-
const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-YN5W7EY7-
|
|
7239
|
+
const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-YN5W7EY7-SZNXPBV5.js");
|
|
7240
7240
|
const { readdir: readdir10, readFile: fsReadFile, rm: rm8, stat: fsStat, mkdir: fsMkdir, copyFile: fsCopyFile } = await import("fs/promises");
|
|
7241
|
-
const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-SJT4H53O-
|
|
7241
|
+
const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-SJT4H53O-7W2752ZT.js");
|
|
7242
7242
|
const requiredMeshExportSet = new Set(requiredMeshExports);
|
|
7243
7243
|
const sourcesFlintDir = join17(flintPath, "Sources", "Flints");
|
|
7244
7244
|
try {
|
|
@@ -7280,7 +7280,7 @@ async function syncFlint(flintPath, progress) {
|
|
|
7280
7280
|
}
|
|
7281
7281
|
if (requiredMeshExports.length > 0) {
|
|
7282
7282
|
const registry = await getFlintRegistry2();
|
|
7283
|
-
const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-FO5IMLM7-
|
|
7283
|
+
const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-FO5IMLM7-EN6H3N2A.js");
|
|
7284
7284
|
for (const ref of requiredMeshExports) {
|
|
7285
7285
|
const parts = ref.split("/");
|
|
7286
7286
|
if (parts.length !== 2) {
|
|
@@ -7424,7 +7424,7 @@ async function syncFlint(flintPath, progress) {
|
|
|
7424
7424
|
error: `Failed to sync source repo metadata: ${err instanceof Error ? err.message : String(err)}`
|
|
7425
7425
|
});
|
|
7426
7426
|
}
|
|
7427
|
-
const { getPlateDeclarationsFromConfig } = await import("./mesh-config-BAIYF4KD-
|
|
7427
|
+
const { getPlateDeclarationsFromConfig } = await import("./mesh-config-BAIYF4KD-W2RGZQ2V.js");
|
|
7428
7428
|
const plateDeclarations = getPlateDeclarationsFromConfig(config);
|
|
7429
7429
|
const hasRepoPlates = Object.values(plateDeclarations).some((d) => d.repo);
|
|
7430
7430
|
if (hasRepoPlates) {
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
writeReferencesState,
|
|
192
192
|
writeSession,
|
|
193
193
|
writeTinderboxToml
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-XWUP7WHQ.js";
|
|
195
195
|
import {
|
|
196
196
|
cleanRegistryFile,
|
|
197
197
|
findFlintByName,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
unregisterFlint,
|
|
207
207
|
updateFlintEntry,
|
|
208
208
|
upsertFlintEntry
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-C66KJDI7.js";
|
|
210
210
|
import {
|
|
211
211
|
runConcurrent
|
|
212
212
|
} from "./chunk-V7YA5RXL.js";
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
resolveDocument,
|
|
233
233
|
scanExportEligible,
|
|
234
234
|
scanExports
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-VAJMJ47E.js";
|
|
236
236
|
import {
|
|
237
237
|
FLINT_CONFIG_FILENAME,
|
|
238
238
|
FLINT_JSON_FILENAME,
|
|
@@ -295,7 +295,6 @@ import {
|
|
|
295
295
|
writeFlintJson,
|
|
296
296
|
writeFlintToml
|
|
297
297
|
} from "./chunk-CBGQBE6C.js";
|
|
298
|
-
import "./chunk-EAQYK3U2.js";
|
|
299
298
|
export {
|
|
300
299
|
FLINT_CONFIG_FILENAME,
|
|
301
300
|
FLINT_JSON_FILENAME,
|