kimi-code/package.json
Haozhe 817ad1fe9a
chore(flake): simplify nix build and add ci validation (#257)
* chore(flake): simplify nix build and add ci validation

- Replace dynamic pnpm-workspace.yaml parsing with hardcoded workspacePaths
  and workspaceNames to reduce format assumptions
- Remove update-pnpm-deps script and kimi-code-pnpm-deps package; use
  lib.fakeHash for standard hash mismatch workflow
- Remove nodejs_latest fallback in nodejsFor, hardcode to nodejs_24
- Add nix-build CI workflow that posts hash-mismatch details to PR comments
- Remove unused Nix installation step from release.yml
- Add workspace maintenance note to AGENTS.md
2026-06-01 11:47:38 +08:00

60 lines
2.1 KiB
JSON

{
"name": "@moonshot-ai/monorepo",
"version": "0.1.1",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"build": "pnpm -r run build",
"build:packages": "pnpm -r --filter './packages/*' run build",
"dev:cli": "pnpm -C apps/kimi-code run dev",
"build:plugin-marketplace": "pnpm -C apps/kimi-code run build:plugin-marketplace",
"vis": "pnpm -C apps/vis run dev",
"dev:docs": "pnpm -C docs install --ignore-workspace && pnpm -C docs run dev",
"typecheck": "pnpm run build:packages && pnpm -r --filter './packages/*' run typecheck && pnpm --filter @moonshot-ai/kimi-code run typecheck",
"lint": "oxlint --type-aware",
"lint:fix": "pnpm run lint --fix",
"lint:pkg": "pnpm -r --filter '!@moonshot-ai/monorepo' exec publint && pnpm -r --filter './packages/*' exec attw --pack . --profile node16",
"sherif": "sherif",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"clean": "pnpm -r run clean",
"changeset": "changeset",
"version": "changeset version",
"version:release": "changeset version",
"publish": "pnpm run typecheck && pnpm run lint && pnpm run sherif && pnpm run test && pnpm run build && pnpm run lint:pkg && changeset publish",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@changesets/changelog-github": "0.7.0",
"@changesets/cli": "2.30.0",
"@microsoft/api-extractor": "7.58.7",
"@types/node": "^22.15.3",
"@vitest/coverage-v8": "4.1.4",
"lint-staged": "16.4.0",
"oxlint": "1.59.0",
"oxlint-tsgolint": "0.20.0",
"pkg-pr-new": "0.0.75",
"publint": "0.3.18",
"sherif": "1.11.1",
"simple-git-hooks": "2.13.1",
"tsdown": "0.22.0",
"tsx": "^4.21.0",
"typescript": "6.0.2",
"vitest": "4.1.4"
},
"simple-git-hooks": {
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}": [
"oxlint --fix --quiet",
"oxlint --type-aware --quiet"
]
},
"engines": {
"node": ">=24.15.0"
},
"packageManager": "pnpm@10.33.0"
}