diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e72be82b..7bb5a7b1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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 @@ -53,8 +53,8 @@ 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 @@ -62,7 +62,7 @@ updates: # 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" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 146eef22..3be9cfb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/build/model.mjs b/build/model.mjs index 370e427e..76f05af0 100644 --- a/build/model.mjs +++ b/build/model.mjs @@ -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"; diff --git a/build/pages.mjs b/build/pages.mjs index 1ef0e5a2..5d1b3b14 100644 --- a/build/pages.mjs +++ b/build/pages.mjs @@ -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"; diff --git a/build/read.mjs b/build/read.mjs index 13976c64..35fe1dd3 100644 --- a/build/read.mjs +++ b/build/read.mjs @@ -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(); diff --git a/package-lock.json b/package-lock.json index 05f3abc0..6cf1d901 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,20 +8,41 @@ "name": "blust-ch", "version": "1.0.0", "dependencies": { - "companygraph-meta-model": "github:companygraph/meta-model#v0.98.0" + "@companygraph/meta-model": "0.98.0" }, "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" } }, + "node_modules/@companygraph/mcp-server": { + "version": "0.76.0", + "resolved": "https://registry.npmjs.org/@companygraph/mcp-server/-/mcp-server-0.76.0.tgz", + "integrity": "sha512-2EvNGliJSb77ZvC4AdzT1PzU2fOW7mYHChkL0k6R7liH2338kbf2WIT1rujUYWVXDRKDZ+0d4Ej1j26g1MoZZQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@companygraph/meta-model": "0.98.0", + "@modelcontextprotocol/node": "^2.1.2", + "@modelcontextprotocol/server": "^2.0.0", + "zod": "^4.6.7" + }, + "bin": { + "companygraph-mcp": "bin/stdio.mjs", + "companygraph-mcp-deploy": "bin/deploy.mjs", + "companygraph-mcp-http": "bin/http.mjs", + "companygraph-mcp-snapshot": "bin/snapshot.mjs" + }, + "engines": { + "node": ">=22" + } + }, "node_modules/@companygraph/meta-model": { "version": "0.98.0", "resolved": "https://registry.npmjs.org/@companygraph/meta-model/-/meta-model-0.98.0.tgz", "integrity": "sha512-0MzgBl36usAqlq/0FPYDB6tFKd+c7GUBViHGRsHt+14rd/+zCfyq6XBTnmFDL/JVgGPUECuXVegvBzq5U+w6GQ==", - "dev": true, "license": "Apache-2.0", "bin": { "companygraph": "bin/companygraph.mjs" @@ -119,40 +140,6 @@ "node": ">=22" } }, - "node_modules/companygraph-mcp-server": { - "name": "@companygraph/mcp-server", - "version": "0.76.0", - "resolved": "git+ssh://git@github.com/companygraph/mcp-server.git#284f17531652b6edf75948d408eae576a35e99c5", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@companygraph/meta-model": "0.98.0", - "@modelcontextprotocol/node": "^2.1.2", - "@modelcontextprotocol/server": "^2.0.0", - "zod": "^4.6.7" - }, - "bin": { - "companygraph-mcp": "bin/stdio.mjs", - "companygraph-mcp-deploy": "bin/deploy.mjs", - "companygraph-mcp-http": "bin/http.mjs", - "companygraph-mcp-snapshot": "bin/snapshot.mjs" - }, - "engines": { - "node": ">=22" - } - }, - "node_modules/companygraph-meta-model": { - "name": "@companygraph/meta-model", - "version": "0.98.0", - "resolved": "git+ssh://git@github.com/companygraph/meta-model.git#dc7fbd531477ff70a7960debc10825f2bf1bb10d", - "license": "Apache-2.0", - "bin": { - "companygraph": "bin/companygraph.mjs" - }, - "engines": { - "node": ">=22" - } - }, "node_modules/hono": { "version": "4.13.20", "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.20.tgz", diff --git a/package.json b/package.json index 15108d06..84e43965 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/pins.json b/pins.json index 91dcc284..c2533afc 100644 --- a/pins.json +++ b/pins.json @@ -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": [