Files
charleswiltgen__axiom/package.json
T
Charles Wiltgen 545798e3bb fix(deps): unblock pi install by overriding the vitepress-plugin-mermaid peer
`pi install git:github.com/CharlesWiltgen/Axiom` — the command in README.md and
the Pi setup guide — failed for every user with npm ERESOLVE. Pi runs a bare
`npm install --omit=dev` in its clone; --omit=dev skips INSTALLING
devDependencies but npm still RESOLVES the whole graph, so a docs-toolchain
conflict aborted an install that has nothing to install (the root manifest
declares no runtime dependencies at all).

vitepress-plugin-mermaid peers on vitepress ^1 and has no v2-compatible release,
and mermaid is used on 25 docs pages, so the plugin cannot be dropped. A narrow
`overrides` entry fixes resolution without disabling peer checks repo-wide:
strict `npm ci` now passes, so both workflows drop --legacy-peer-deps. That flag
was what hid this from CI for seven months — it landed 73 seconds after mermaid
did (e53671ac).

Toolchain moved to current while here: vitepress 2.0.0-alpha.15 (Nov 2025) ->
2.0.0-alpha.19, and mermaid 11.12.2 -> 11.17.1 inside the existing ^11 range.
npm audit drops from 15 vulnerabilities (8 moderate, 7 high) to 2, clearing a
DOMPurify XSS. Docs build stays green with all 25 mermaid pages rendering.

Closes #54.
2026-08-24 09:57:23 -07:00

55 lines
1.8 KiB
JSON

{
"name": "axiom",
"version": "27.0.0-beta.49",
"description": "Battle-tested Claude Code skills, agents, and tools for modern xOS (iOS, iPadOS, tvOS, watchOS) development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more",
"type": "module",
"pi": {
"skills": [
".claude-plugin/plugins/axiom/skills"
],
"extensions": [
"axiom-pi/src/index.ts"
]
},
"scripts": {
"build": "npm run build:audit-areas && npm run build:auditors && npm run build:codex && npm run build:cursor && npm run build:mcp && npm run build:docs",
"build:audit-areas": "node scripts/build-audit-areas.ts",
"build:auditors": "node scripts/build-inlined-auditors.ts",
"build:codex": "node scripts/build-codex.ts",
"build:cursor": "node scripts/build-cursor.ts",
"build:docs": "vitepress build docs",
"build:mcp": "cd axiom-mcp && pnpm run build:bundle",
"check:cursor": "node scripts/build-cursor.ts --check",
"check:refs": "node scripts/check-cross-refs.js",
"docs:build": "npm run build:docs",
"docs:dev": "vitepress dev docs",
"docs:preview": "vitepress preview docs",
"predeploy": "npm run test:unit && npm run build:mcp && node scripts/pre-deploy.ts",
"test": "node scripts/pre-deploy.ts --static",
"test:cursor": "node --test 'scripts/cursor/**/*.test.ts'",
"test:full": "node scripts/pre-deploy.ts",
"test:routing": "node scripts/test-routing.ts",
"test:unit": "node --test 'scripts/**/*.test.ts'"
},
"devDependencies": {
"gray-matter": "^4.0.3",
"mermaid": "^11.12.2",
"vitepress": "2.0.0-alpha.19",
"vitepress-plugin-mermaid": "^2.0.17"
},
"overrides": {
"vitepress-plugin-mermaid": {
"vitepress": "$vitepress"
}
},
"keywords": [
"claude-code",
"ios",
"xcode",
"plugins",
"development"
],
"author": "",
"license": "MIT"
}