@riboseinc/anafero-cli 0.0.48 → 0.0.50
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/bootstrap.js +1 -1
- package/bootstrap.js.map +2 -2
- package/build-site.mjs +6 -7
- package/dependencies.mts +1 -2
- package/package.json +1 -1
- package/riboseinc-anafero-cli-0.0.50.tgz +0 -0
- package/riboseinc-anafero-cli-0.0.48.tgz +0 -0
package/build-site.mjs
CHANGED
|
@@ -316305,7 +316305,7 @@ var Resource = import_react127.default.forwardRef(function({
|
|
|
316305
316305
|
processGeneratedDOM(domEl, locateResource, () => "", (msg) => console.warn(msg));
|
|
316306
316306
|
return domEl.innerHTML;
|
|
316307
316307
|
} else {
|
|
316308
|
-
console.warn("ProseMirror content DOM is not an Element; possibly
|
|
316308
|
+
console.warn("ProseMirror content DOM is not an Element; possibly some other type of Node", domNode);
|
|
316309
316309
|
return void 0;
|
|
316310
316310
|
}
|
|
316311
316311
|
} else {
|
|
@@ -316600,7 +316600,7 @@ var makeContentReader = async function(entryPointURI, storeAdapters, findContent
|
|
|
316600
316600
|
expanded = normalizedFileURI;
|
|
316601
316601
|
}
|
|
316602
316602
|
} else {
|
|
316603
|
-
expanded =
|
|
316603
|
+
expanded = uri;
|
|
316604
316604
|
}
|
|
316605
316605
|
return expanded;
|
|
316606
316606
|
}
|
|
@@ -317027,9 +317027,9 @@ async function* generateVersion(cfg, fetchBlobAtThisVersion, {
|
|
|
317027
317027
|
const layouts = layoutModules[cfg.resourceLayouts[0]].layouts;
|
|
317028
317028
|
const defaultLayout = layouts[0].layout;
|
|
317029
317029
|
dependencyNotice(`Building with:
|
|
317030
|
-
Store adapters: ${Object.values(storeAdapters).map((m2) => m2.name).join(", ")}
|
|
317031
|
-
Content adapters: ${Object.values(contentAdapters).map((m2) => m2.name).join(", ")}
|
|
317032
|
-
Layouts: ${Object.values(layoutModules).map((m2) => m2.name).join(", ")}
|
|
317030
|
+
Store adapters: ${Object.values(storeAdapters).map((m2) => `${m2.name}:${m2.version}`).join(", ")}
|
|
317031
|
+
Content adapters: ${Object.values(contentAdapters).map((m2) => `${m2.name}:${m2.version}`).join(", ")}
|
|
317032
|
+
Layouts: ${Object.values(layoutModules).map((m2) => `${m2.name}:${m2.version}`).join(", ")}
|
|
317033
317033
|
`, "info");
|
|
317034
317034
|
if (!defaultLayout || cfg.storeAdapters.length < 1 || cfg.contentAdapters.length < 1) {
|
|
317035
317035
|
throw new Error("Missing configuration: need at least one each module: layout, store adapter, content adapter");
|
|
@@ -321710,7 +321710,7 @@ async function readPreBuiltJSBundle(sourceDirPath) {
|
|
|
321710
321710
|
);
|
|
321711
321711
|
const bundleStat = await stat4(bundlePath);
|
|
321712
321712
|
if (bundleStat.isFile()) {
|
|
321713
|
-
return readFile3(bundlePath);
|
|
321713
|
+
return await readFile3(bundlePath);
|
|
321714
321714
|
} else {
|
|
321715
321715
|
throw new Error("Pre-built entry point is not a file");
|
|
321716
321716
|
}
|
|
@@ -321740,7 +321740,6 @@ async function isPreBuilt(sourceDirPath) {
|
|
|
321740
321740
|
await readPreBuiltAssets(sourceDirPath);
|
|
321741
321741
|
return true;
|
|
321742
321742
|
} catch (e3) {
|
|
321743
|
-
console.error(e3);
|
|
321744
321743
|
return false;
|
|
321745
321744
|
}
|
|
321746
321745
|
}
|
package/dependencies.mts
CHANGED
|
@@ -331,7 +331,7 @@ Promise<Uint8Array> {
|
|
|
331
331
|
PRE_BUILT_JS_BUNDLE_FILENAME);
|
|
332
332
|
const bundleStat = await stat(bundlePath);
|
|
333
333
|
if (bundleStat.isFile()) {
|
|
334
|
-
return readFile(bundlePath);
|
|
334
|
+
return await readFile(bundlePath);
|
|
335
335
|
} else {
|
|
336
336
|
throw new Error("Pre-built entry point is not a file");
|
|
337
337
|
}
|
|
@@ -380,7 +380,6 @@ async function isPreBuilt(sourceDirPath: string): Promise<boolean> {
|
|
|
380
380
|
await readPreBuiltAssets(sourceDirPath);
|
|
381
381
|
return true;
|
|
382
382
|
} catch (e) {
|
|
383
|
-
console.error(e);
|
|
384
383
|
return false;
|
|
385
384
|
}
|
|
386
385
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|