Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ updates:
# Family pins move with the resync, never with Dependabot: conventions/PINS.md, Dependabot.
ignore:
- dependency-name: "@robertblust/design"
- dependency-name: "companygraph-mcp-server"
- dependency-name: "companygraph-meta-model"
- dependency-name: "@companygraph/mcp-server"
- dependency-name: "@companygraph/meta-model"
schedule:
interval: "weekly"
# Zero, stated, because Dependabot applies three days when the key is absent. The cooldown
Expand Down Expand Up @@ -53,16 +53,16 @@ updates:
# Same reason as design above, and the same requirement to be read: a meta-model
# release can change how `build/model.mjs` reads the model, so the pull request that
# bumps it is the one that has to be checked against the page it draws. It also comes
# by tag rather than by version range, which Dependabot reads only because the pin is
# a tag — a commit SHA here would be invisible to it entirely.
# from npm at an exact version rather than a range, which Dependabot reads — a commit
# SHA here would be invisible to it entirely.
#
# A pull request from this group proposing a LOWER version is closed, never merged. That
# happened three times on 2026-09-02 — v0.5.0 down to v0.4.1, a commit predating the
# instance parser, so it has no lib/ and the import fails. CI caught it every time. The
# cooldown block above says why one appears and what stops it.
meta-model:
patterns:
- "companygraph-meta-model"
- "@companygraph/meta-model"
minor-and-patch:
update-types:
- "minor"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
run: npm run og:check
# Whether the artifact is still what the pinned commit parses to. This cannot sit beside
# the step above, because it is the one part of the build that imports the parser from
# companygraph-meta-model, and that is not on disk until npm ci has run. Left up there it
# @companygraph/meta-model, and that is not on disk until npm ci has run. Left up there it
# fails every push with ERR_MODULE_NOT_FOUND, and a local run cannot catch that, because
# node_modules is already on the machine.
- name: model.json still matches the pinned commit
Expand Down
4 changes: 2 additions & 2 deletions build/model.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
// re-pin then shows which experience gained a field and which tagline was reworded, rather than
// one changed line of 300KB. The pages inline it minified, so their bytes do not move.
//
// The parser comes from `companygraph-meta-model`, pinned by tag. It implements the
// The parser comes from `@companygraph/meta-model`, pinned at a version. It implements the
// CompanyGraph conventions and lives in the repository that defines them, so a rule and its
// implementation cannot drift apart unseen. If the model gains a type or a section shape, the
// fix belongs there and arrives here as a version bump.
import fs from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";
import { parseInstance, imagesOf } from "companygraph-meta-model/instance";
import { parseInstance, imagesOf } from "@companygraph/meta-model/instance";
import { syncImages } from "@robertblust/design/images";
import { readInstance } from "./read.mjs";
import { readSchemas } from "./schemas.mjs";
Expand Down
2 changes: 1 addition & 1 deletion build/pages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import path from "node:path";
import { fileURLToPath } from "node:url";
import { writePrinciples } from "@robertblust/design/render/principles";
import { writeProcesses } from "@robertblust/design/render/processes";
import { processDiagram } from "companygraph-mcp-server/diagram";
import { processDiagram } from "@companygraph/mcp-server/diagram";
import { writeSurfaces } from "@robertblust/design/render/surfaces";
import { writePrivacy } from "@robertblust/design/render/privacy";
import { writeHome } from "@robertblust/design/render/home";
Expand Down
2 changes: 1 addition & 1 deletion build/read.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import fs from "node:fs";
import path from "node:path";
import { execFileSync } from "node:child_process";
import { IMAGE_FILE } from "companygraph-meta-model/instance";
import { IMAGE_FILE } from "@companygraph/meta-model/instance";

function readLocal(dir, commit, sub) {
const head = execFileSync("git", ["-C", dir, "rev-parse", "HEAD"], { encoding: "utf8" }).trim();
Expand Down
61 changes: 24 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"pin:check": "node pin-check.mjs"
},
"devDependencies": {
"@companygraph/mcp-server": "0.76.0",
"@robertblust/design": "github:robertblust/design#v0.165.0",
"companygraph-mcp-server": "github:companygraph/mcp-server#v0.76.0",
"pdf-lib": "^1.17.1",
"playwright": "^1.65.0"
},
"dependencies": {
"companygraph-meta-model": "github:companygraph/meta-model#v0.98.0"
"@companygraph/meta-model": "0.98.0"
}
}
4 changes: 2 additions & 2 deletions pins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"pins": [
{ "kind": "conventions", "file": "conventions.json", "repo": "robertblust/conventions" },
{ "kind": "npm-tag", "file": "package.json", "repo": "robertblust/design", "after": ["npm run design", "npm run pages", "npm run pictures", "npm run pages", "npm run og", "npm run sitemap"] },
{ "kind": "npm-tag", "file": "package.json", "repo": "companygraph/meta-model", "after": ["npm run model", "npm run pages", "npm run pictures", "npm run pages", "npm run og", "npm run sitemap"] },
{ "kind": "npm-tag", "file": "package.json", "repo": "companygraph/mcp-server", "after": ["npm run pages", "npm run pictures", "npm run pages", "npm run og", "npm run sitemap"] },
{ "kind": "npm-version", "file": "package.json", "repo": "companygraph/meta-model", "after": ["npm run model", "npm run pages", "npm run pictures", "npm run pages", "npm run og", "npm run sitemap"] },
{ "kind": "npm-version", "file": "package.json", "repo": "companygraph/mcp-server", "after": ["npm run pages", "npm run pictures", "npm run pages", "npm run og", "npm run sitemap"] },
{ "kind": "source-commit", "file": "source.json", "repo": "robertblust/mental-model", "after": ["npm run model", "npm run pages", "npm run pictures", "npm run pages", "npm run og", "npm run sitemap"] }
],
"verify": [
Expand Down