This PR uses [`pnpm patch`](https://www.petermekhaeil.com/til/pnpm-patch/) to pull in the following proposed fixes for `marked-terminal`: * https://github.com/mikaelbr/marked-terminal/pull/366 * https://github.com/mikaelbr/marked-terminal/pull/367 This adds a substantial test to `codex-cli/tests/markdown.test.tsx` to verify the new behavior. Note that one of the tests shows two citations being split across a line even though the rendered version would fit comfortably on one line. Changing this likely requires a subtle fix to `marked-terminal` to account for "rendered length" when determining line breaks.
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "codex-monorepo",
|
|
"private": true,
|
|
"description": "Tools for repo-wide maintenance.",
|
|
"scripts": {
|
|
"release": "pnpm --filter @openai/codex run release",
|
|
"format": "prettier --check *.json *.md .github/workflows/*.yml",
|
|
"format:fix": "prettier --write *.json *.md .github/workflows/*.yml",
|
|
"build": "pnpm --filter @openai/codex run build",
|
|
"test": "pnpm --filter @openai/codex run test",
|
|
"lint": "pnpm --filter @openai/codex run lint",
|
|
"lint:fix": "pnpm --filter @openai/codex run lint:fix",
|
|
"typecheck": "pnpm --filter @openai/codex run typecheck",
|
|
"changelog": "git-cliff --config cliff.toml --output CHANGELOG.ignore.md $LAST_RELEASE_TAG..HEAD",
|
|
"prepare": "husky",
|
|
"husky:add": "husky add"
|
|
},
|
|
"devDependencies": {
|
|
"git-cliff": "^2.8.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^15.5.1",
|
|
"prettier": "^3.5.3"
|
|
},
|
|
"resolutions": {
|
|
"braces": "^3.0.3",
|
|
"micromatch": "^4.0.8",
|
|
"semver": "^7.7.1"
|
|
},
|
|
"overrides": {
|
|
"punycode": "^2.3.1"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"marked-terminal@7.3.0": "patches/marked-terminal@7.3.0.patch"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=9.0.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.json": "prettier --write",
|
|
"*.md": "prettier --write",
|
|
".github/workflows/*.yml": "prettier --write",
|
|
"**/*.{js,ts,tsx}": [
|
|
"prettier --write",
|
|
"pnpm --filter @openai/codex run lint",
|
|
"cd codex-cli && pnpm run typecheck"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@10.8.1"
|
|
}
|