@riboseinc/anafero-cli 0.0.20 → 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
@@ -31075,7 +31075,7 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31075
31075
  border-radius: 5px;
31076
31076
  box-shadow: 0 var(--spectrum-alias-dropshadow-offset-y) var(--spectrum-alias-dropshadow-blur) var(--spectrum-alias-dropshadow-color);
31077
31077
  background-color: var(--spectrum-alias-background-color-default);
31078
- color: var(--spectrum-body-text-color);
31078
+ color: var(--spectrum-alias-text-color);
31079
31079
  transition: margin-left .5s ease-in-out;
31080
31080
  &.style_withNav {
31081
31081
  margin-left: 330px !important;
@@ -31204,12 +31204,16 @@ 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-line;
31207
+ white-space: pre-wrap;
31208
31208
  }
31209
31209
  figure {
31210
31210
  margin: 0;
31211
- margin-right: 1em;
31212
31211
  padding: 0;
31212
+ > pre {
31213
+ padding: .5em;
31214
+ margin: 0;
31215
+ overflow: auto;
31216
+ }
31213
31217
  &:has(> img) {
31214
31218
  padding: .5em 1em;
31215
31219
  border-radius: 5px;
@@ -31235,6 +31239,10 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31235
31239
  width: 100%;
31236
31240
  border-collapse: collapse;
31237
31241
  border: var(--table-border);
31242
+ overflow: hidden;
31243
+ outline: 1px solid;
31244
+ outline-offset: -1px;
31245
+ outline-color: var(--spectrum-alias-border-color);
31238
31246
  font-size: 16px;
31239
31247
  tr {
31240
31248
  border-bottom: var(--table-border);
@@ -31269,7 +31277,7 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31269
31277
  display: flex;
31270
31278
  flex-flow: column nowrap;
31271
31279
  background-color: var(--spectrum-alias-background-color-disabled);
31272
- color: var(--spectrum-body-text-color);
31280
+ color: var(--spectrum-alias-text-color);
31273
31281
  z-index: 22;
31274
31282
  .style_browserBarTitle {
31275
31283
  flex: 1;
@@ -31317,7 +31325,7 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31317
31325
  z-index: 2;
31318
31326
  --spectrum-global-dimension-size-200: .5em;
31319
31327
  background-color: var(--spectrum-alias-background-color-default);
31320
- color: var(--spectrum-body-text-color);
31328
+ color: var(--spectrum-alias-text-color);
31321
31329
  overflow-y: auto;
31322
31330
  > .style_navStickyHeader {
31323
31331
  padding: var(--spectrum-global-dimension-size-160);
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.20",
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