@riboseinc/anafero-cli 0.0.21 → 0.0.22

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/build-site.css CHANGED
@@ -31204,11 +31204,10 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31204
31204
  margin-bottom: 1em;
31205
31205
  }
31206
31206
  pre {
31207
- white-space: pre;
31207
+ white-space: pre-wrap;
31208
31208
  }
31209
31209
  figure {
31210
31210
  margin: 0;
31211
- margin-right: 1em;
31212
31211
  padding: 0;
31213
31212
  > pre {
31214
31213
  padding: .5em;
@@ -31240,6 +31239,10 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31240
31239
  width: 100%;
31241
31240
  border-collapse: collapse;
31242
31241
  border: var(--table-border);
31242
+ overflow: hidden;
31243
+ outline: 1px solid;
31244
+ outline-offset: -1px;
31245
+ outline-color: var(--spectrum-alias-border-color);
31243
31246
  font-size: 16px;
31244
31247
  tr {
31245
31248
  border-bottom: var(--table-border);
package/build-site.mjs CHANGED
@@ -316991,6 +316991,9 @@ var makeContentReader = async function(entryPointURI, storeAdapters, contentAdap
316991
316991
  while (queue.length > 0) {
316992
316992
  const currentResource = queue.pop();
316993
316993
  if (!cache3.has(`edges-from/${currentResource}`)) {
316994
+ if (entryPointURI === currentResource) {
316995
+ throw new Error(`No resource graph found for ${currentResource}`);
316996
+ }
316994
316997
  } else {
316995
316998
  const relations = cache3.list(`edges-from/${currentResource}`);
316996
316999
  cache3.add(
@@ -317010,13 +317013,20 @@ var makeContentReader = async function(entryPointURI, storeAdapters, contentAdap
317010
317013
  }
317011
317014
  return cache3.list(`graphs/${resourceURI}`);
317012
317015
  }
317013
- function processResourceContents(resourceURI, containingResourcePath) {
317016
+ function processResourceContents(resourceURI, containingResourcePath, _seen) {
317017
+ const seen = _seen ?? /* @__PURE__ */ new Set();
317014
317018
  cache3.set({
317015
317019
  [`path-for/${resourceURI}`]: `${containingResourcePath}#${resourceURI}`
317016
317020
  });
317017
317021
  for (const rel of generateRelations(resourceURI)) {
317018
317022
  if (isURIString(rel.target) && !contentAdapter.crossReferences?.(rel)) {
317019
- processResourceContents(rel.target, containingResourcePath);
317023
+ const key = JSON.stringify({ rel, resourceURI, containingResourcePath });
317024
+ if (seen.has(key)) {
317025
+ throw new Error(`Duplicate ${rel.predicate} to ${rel.target} from ${resourceURI} at ${containingResourcePath}`);
317026
+ } else {
317027
+ seen.add(key);
317028
+ processResourceContents(rel.target, containingResourcePath, seen);
317029
+ }
317020
317030
  }
317021
317031
  }
317022
317032
  }
@@ -317185,7 +317195,7 @@ function* generateResourceAssets(resourceURI, relations, parentChain, directDesc
317185
317195
  <head>
317186
317196
  <meta charset="utf-8">
317187
317197
  <!-- devtools
317188
- <script src="http://192.168.0.179:8097"></script> -->
317198
+ <script src="http://localhost:8097"></script> -->
317189
317199
  ${helmet2.title.toString()}
317190
317200
  ${helmet2.meta.toString()}
317191
317201
  ${helmet2.link.toString()}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riboseinc/anafero-cli",
3
3
  "type": "module",
4
- "version": "0.0.21",
4
+ "version": "0.0.22",
5
5
  "packageManager": "yarn@4.5.0",
6
6
  "bin": {
7
7
  "build-site": "build-site.mjs"
Binary file
Binary file