mirror of
https://github.com/expo/code-review-cli.git
synced 2026-11-14 17:49:25 -10:00
oxfmt 0.60.0's parallel checker is nondeterministic on the 2-core CI runners: `oxfmt --check src` intermittently flags a correctly-formatted file (observed on src/__tests__/render.test.ts — `oxfmt --write` produces no change, and the check passes on higher core counts and re-runs), which is a data race in its worker pool, not a real format issue. `--threads=1` serializes the run (61 files in ~90ms, so no meaningful cost) and makes the check deterministic.
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "@expo/code-review-cli",
|
|
"version": "0.0.0-dev",
|
|
"description": "Generic, config-driven AI code reviewer engine. Repos supply their agents via .expo-code-review/.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/expo/code-review-cli.git"
|
|
},
|
|
"type": "module",
|
|
"bin": {
|
|
"ecr": "build/cli.js",
|
|
"expo-code-review": "build/cli.js",
|
|
"code-review-cli": "build/cli.js"
|
|
},
|
|
"files": [
|
|
"build",
|
|
"templates"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"clean": "rimraf build",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "oxlint src",
|
|
"fmt": "oxfmt --threads=1 src",
|
|
"fmt:check": "oxfmt --threads=1 --check src",
|
|
"dev": "bun run src/cli.ts",
|
|
"test:unit": "bun test",
|
|
"release": "bash scripts/release.sh",
|
|
"prepublishOnly": "rimraf build && tsc -p tsconfig.build.json"
|
|
},
|
|
"dependencies": {
|
|
"@opencode-ai/sdk": "1.18.4",
|
|
"opencode-ai": "1.18.4",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.14.8",
|
|
"oxfmt": "^0.60.0",
|
|
"oxlint": "^1.75.0",
|
|
"rimraf": "3.0.2",
|
|
"typescript": "5.5.4"
|
|
}
|
|
}
|