@nuucognition/flint-cli 0.5.6-dev.4 → 0.5.6-dev.6

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  readFlintToml
3
- } from "./chunk-CBGQBE6C.js";
3
+ } from "./chunk-LLLVBA4Q.js";
4
4
 
5
- // ../../packages/flint/dist/chunk-WMDJDFRK.js
5
+ // ../../packages/flint/dist/chunk-NRALZ6JV.js
6
6
  import { readdir, readFile, mkdir, writeFile, rm, stat, copyFile } from "fs/promises";
7
7
  import { join, basename, dirname, resolve, relative, sep, extname } from "path";
8
8
  async function exists(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-Q3ZCQOCZ.js");
221
+ const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-BZ2GO3JY.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-Q3ZCQOCZ.js");
248
+ const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-BZ2GO3JY.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())
@@ -1,4 +1,4 @@
1
- // ../../packages/flint/dist/chunk-53NZQOGM.js
1
+ // ../../packages/flint/dist/chunk-MAL7MTPY.js
2
2
  import { mkdir, readFile, writeFile } from "fs/promises";
3
3
  import { homedir } from "os";
4
4
  import { join, resolve } from "path";
@@ -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-Q3ZCQOCZ.js");
185
+ const { readFlintToml, hasFlintToml } = await import("./mesh-config-NTGFUNZL-BZ2GO3JY.js");
186
186
  const isFlint = await hasFlintToml(path);
187
187
  if (!isFlint) {
188
188
  throw new Error(`Not a valid flint: ${path}