mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-04 12:56:15 +00:00
* chore: upgrade to TypeScript 7 (native compiler) - typescript 6.0.2 -> 7.0.2, tsdown 0.22.0 -> 0.23.1 (peer range now allows typescript ^7) - CI typecheck uses the workspace tsc (native) instead of the frozen @typescript/native-preview beta snapshot - product entry-points test spawns the tsc binary; the JS compiler API no longer ships with typescript - check-no-comments.mjs pins typescript-legacy (TS6) for AST access Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com> * chore: align remaining typescript pins and refresh the nix pnpmDeps hash - apps/kimi-inspect and apps/vis/web pin their own typescript; bump to 7.0.2 (sherif multiple-dependency-versions) - flake.nix fetchPnpmDeps hash tracked the old lockfile; recompute for the new one (fixes nix build) Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com> * test(product): fail loudly when the tsc subprocess cannot run runTsc only scanned output text; a missing native binary, a timeout, or a spawn failure would yield empty diagnostics and the boundary checks would pass vacuously. Assert the spawn error and exit status first. Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com> --------- Co-authored-by: kimi-agent-bot <kimi-agent-bot@users.noreply.github.com> Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>
64 lines
2.7 KiB
JSON
64 lines
2.7 KiB
JSON
{
|
|
"name": "@moonshot-ai/monorepo",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"postinstall": "node scripts/fix-node-pty-perms.mjs",
|
|
"build": "pnpm -r run build",
|
|
"build:packages": "pnpm -r --filter './packages/*' run build",
|
|
"dev:cli": "pnpm -C apps/kimi-code run dev",
|
|
"dev:cli:marketplace": "KIMI_CODE_DEV_MARKETPLACE_URL=https://code.kimi.com/kimi-code/plugins/marketplace.json pnpm -C apps/kimi-code run dev",
|
|
"dev:server": "pnpm -C apps/kimi-code run dev:server",
|
|
"dev:kap-server": "pnpm -C apps/kimi-code run dev:kap-server",
|
|
"dev:v2": "pnpm -C apps/kimi-code run dev:kap-server:multi",
|
|
"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 && pnpm --filter kimi-code run typecheck && pnpm --filter @moonshot-ai/vis-server run typecheck && pnpm --filter @moonshot-ai/vis-web run typecheck",
|
|
"lint": "node scripts/check-no-comments.mjs && oxlint --type-aware",
|
|
"lint:fix": "pnpm run lint --fix",
|
|
"lint:pkg": "pnpm --filter @moonshot-ai/kimi-code exec publint && npm_config_cache=${TMPDIR:-/tmp}/kimi-code-npm-cache pnpm --filter @moonshot-ai/kimi-code exec attw --pack . --profile node16",
|
|
"sherif": "sherif -i @agentclientprotocol/sdk",
|
|
"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": "node .husky/install.mjs"
|
|
},
|
|
"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",
|
|
"husky": "^9.1.7",
|
|
"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",
|
|
"tsdown": "0.23.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "7.0.2",
|
|
"typescript-legacy": "npm:typescript@6.0.2",
|
|
"vitest": "4.1.4"
|
|
},
|
|
"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"
|
|
}
|