Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -1,6 +1,7 @@
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { createRequire } from "node:module";
import assert from "node:assert/strict";
import { execFileSync } from "node:child_process";
import { afterEach, describe, it } from "vitest";
@@ -31,9 +32,9 @@ afterEach(() => {
describe("docs-link-check", () => {
it("passes for valid local Markdown links and anchors", () => {
const rootDir = createFixture({
"README.md": "# Root\nSee [plugins](docs/plugins.md#plugin-boundaries).",
"docs/plugins.md": "# Plugin Boundaries\nSee [feature inventory](feature-inventory.md).",
"docs/feature-inventory.md": "# Feature Inventory\n",
"README.md": "# Root\nSee [plugins](docs/plugins.md#plugin-runtime).",
"docs/plugins.md": "# Plugin Runtime\nSee [runtime](features/plugins.md).",
"docs/features/plugins.md": "# Plugin Feature\n",
});
const result = checkDocsLinks(rootDir, ["README.md", "docs"]);
@@ -104,15 +105,13 @@ describe("docs-link-check", () => {
"README.md": "# Root\nSee [missing](docs/missing.md).",
"AGENTS.md": "# Agents\n",
"SECURITY.md": "# Security\n",
"CHANGELOG.md": "# Changelog\n",
"docs/index.md": "# Docs\n",
"guides/index.md": "# Guides\n",
});
let output = "";
assert.throws(() => {
try {
execFileSync("pnpm", ["exec", "tsx", path.resolve("scripts/docs-link-check.ts"), rootDir], { encoding: "utf8", stdio: "pipe" });
execFileSync(process.execPath, [createRequire(import.meta.url).resolve("tsx/cli"), path.resolve("scripts/docs-link-check.ts"), rootDir], { encoding: "utf8", stdio: "pipe" });
} catch (error) {
if (error && typeof error === "object") {
const failure = error as { stderr?: Buffer | string; stdout?: Buffer | string };