chore: remove the TypeScript code from the repository (#2048)
This deletes the bulk of the `codex-cli` folder and eliminates the logic that builds the TypeScript code and bundles it into the release. Since this PR modifies `.github/workflows/rust-release.yml`, to test changes to the release process, I locally commented out all of the "is this commit on upstream `main`" checks in `scripts/create_github_release.sh` and ran: ``` ./codex-rs/scripts/create_github_release.sh 0.20.0-alpha.4 ``` Which kicked off: https://github.com/openai/codex/actions/runs/16842085113 And the release artifacts appear legit! https://github.com/openai/codex/releases/tag/rust-v0.20.0-alpha.4
This commit is contained in:
29
package.json
29
package.json
@@ -3,22 +3,10 @@
|
||||
"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"
|
||||
"format:fix": "prettier --write *.json *.md .github/workflows/*.yml"
|
||||
},
|
||||
"devDependencies": {
|
||||
"git-cliff": "^2.8.0",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^15.5.1",
|
||||
"prettier": "^3.5.3"
|
||||
},
|
||||
"resolutions": {
|
||||
@@ -29,24 +17,9 @@
|
||||
"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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user