mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
* feat: unify package artifact validation * fix: restrict local artifact output paths * fix: clarify package artifact module names * feat: support pnpm package artifact consumers * fix: preserve local release package installs Keep npm and Bun consumer installs as runnable release artifacts while retaining isolated validation for other packages. Simplify smoke fixtures and avoid redundant release work.
75 lines
4.9 KiB
JSON
75 lines
4.9 KiB
JSON
{
|
|
"name": "pi-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages/coding-agent/examples/extensions/with-deps",
|
|
"packages/coding-agent/examples/extensions/custom-provider-anthropic",
|
|
"packages/coding-agent/examples/extensions/custom-provider-gitlab-duo",
|
|
"packages/coding-agent/examples/extensions/sandbox",
|
|
"packages/coding-agent/examples/extensions/gondolin"
|
|
],
|
|
"scripts": {
|
|
"clean": "npm run clean --workspaces",
|
|
"build": "cd packages/chord && npm run build && cd ../tui && npm run build && cd ../telemetry && npm run build && cd ../codemode && npm run build && cd ../mcp && npm run build && cd ../ai && npm run build && cd ../durable && npm run build && cd ../env && npm run build && cd ../agent && npm run build && cd ../protocol && npm run build && cd ../client && npm run build && cd ../server && npm run build && cd ../coding-agent && npm run build",
|
|
"build:offline": "cd packages/chord && npm run build && cd ../tui && npm run build && cd ../telemetry && npm run build && cd ../codemode && npm run build && cd ../mcp && npm run build && cd ../ai && npm run build:offline && cd ../durable && npm run build && cd ../env && npm run build && cd ../agent && npm run build && cd ../protocol && npm run build && cd ../client && npm run build && cd ../server && npm run build && cd ../coding-agent && npm run build",
|
|
"build:native:darwin": "npm --prefix packages/tui run build:native:darwin",
|
|
"build:native:linux": "npm --prefix packages/tui run build:native:linux",
|
|
"build:native:win32": "npm --prefix packages/tui run build:native:win32",
|
|
"check": "biome check --write --error-on-warnings . && npm run check:pinned-deps && npm run check:runtime-deps && npm run check:ts-imports && npm run check:entry-graphs && npm run check:install-lock:coding-agent && tsc --noEmit && npm run check:browser-smoke",
|
|
"check:browser-smoke": "node scripts/check-browser-smoke.mjs",
|
|
"check:pinned-deps": "node scripts/check-pinned-deps.mjs",
|
|
"check:runtime-deps": "node scripts/check-runtime-deps.mjs",
|
|
"check:package-install": "node scripts/check-package-install.mjs",
|
|
"check:install-lock:coding-agent": "node scripts/generate-coding-agent-install-lock.mjs --check",
|
|
"check:ts-imports": "node scripts/check-ts-relative-imports.mjs",
|
|
"check:entry-graphs": "node scripts/check-entry-graphs.mjs",
|
|
"generate:models": "npm --prefix packages/ai run generate-models",
|
|
"hydrate:model-data": "npm --prefix packages/ai run hydrate-model-data",
|
|
"check:model-data": "npm --prefix packages/ai run check:model-data",
|
|
"generate:model-catalog": "npm --prefix packages/ai run generate-model-catalog",
|
|
"diff:model-catalog": "node scripts/diff-model-catalog.mjs",
|
|
"update:model-catalog-pin": "node scripts/update-model-catalog-pin.mjs",
|
|
"eval": "npm run eval --workspace=@earendil-works/pi-evals --",
|
|
"check:model-catalog": "node scripts/publish-model-catalog.mjs --input .artifacts/model-catalog --dry-run",
|
|
"profile:tui": "node scripts/profile-coding-agent-node.mjs --mode tui",
|
|
"profile:rpc": "node scripts/profile-coding-agent-node.mjs --mode rpc",
|
|
"test": "npm run test:scripts && npm run test --workspaces --if-present",
|
|
"test:scripts": "node --test scripts/*.test.mjs scripts/*.test.ts",
|
|
"test:mcp-conformance": "node packages/coding-agent/test/mcp-conformance/run.ts",
|
|
"version:patch": "npm version patch --workspaces --no-git-tag-version --no-workspaces-update && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts",
|
|
"version:minor": "npm version minor --workspaces --no-git-tag-version --no-workspaces-update && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts",
|
|
"version:major": "npm version major --workspaces --no-git-tag-version --no-workspaces-update && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts",
|
|
"version:set": "npm version --workspaces --no-workspaces-update",
|
|
"prepublishOnly": "npm run clean && npm run build && npm run check",
|
|
"publish": "npm run prepublishOnly && node scripts/publish.mjs",
|
|
"publish:dry": "npm run prepublishOnly && node scripts/publish.mjs --dry-run",
|
|
"release:local": "node scripts/local-release.mjs",
|
|
"pack:packages": "node scripts/pack-packages.mjs",
|
|
"install-lock:coding-agent": "node scripts/generate-coding-agent-install-lock.mjs",
|
|
"release:patch": "node scripts/release.mjs patch",
|
|
"release:minor": "node scripts/release.mjs minor",
|
|
"release:major": "node scripts/release.mjs major",
|
|
"release:fix-links": "node scripts/release-notes.mjs fix-github-releases",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@anthropic-ai/sandbox-runtime": "0.0.26",
|
|
"@biomejs/biome": "2.3.5",
|
|
"@types/node": "22.19.19",
|
|
"esbuild": "0.28.2",
|
|
"husky": "9.1.7",
|
|
"pnpm": "11.15.1",
|
|
"shx": "0.4.0",
|
|
"typescript": "7.0.2",
|
|
"yaml": "2.9.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.19.0"
|
|
},
|
|
"version": "0.0.3",
|
|
"overrides": {
|
|
"protobufjs": "7.6.6"
|
|
}
|
|
}
|