Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 3.12 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "codex-monorepo",
"private": true,
"description": "Tools for repo-wide maintenance.",
"scripts": {
"preinstall": "node -e \"if (!/pnpm/.test(process.env.npm_execpath||'') && !/pnpm/.test(process.env.npm_config_user_agent||'')) { console.error('This repository uses PNPM. Please run: pnpm install'); process.exit(1) }\"",
"cx": "node sdk/native/dist/cli.cjs tui --sandbox danger-full-access --approval never --dangerously-bypass-approvals-and-sandbox",
"build": "pnpm --filter @codex-native/sdk run build",
"release:sdk": "pnpm --filter @codex-native/sdk run release",
"release:sdk:patch": "pnpm --filter @codex-native/sdk run release:patch",
"release:sdk:minor": "pnpm --filter @codex-native/sdk run release:minor",
"release:sdk:major": "pnpm --filter @codex-native/sdk run release:major",
"format": "prettier --check *.json *.md docs/*.md .github/workflows/*.yml **/*.js",
"format:fix": "prettier --write *.json *.md docs/*.md .github/workflows/*.yml **/*.js",
"ci:format": "bash -c 'cd codex-rs && rustup toolchain install nightly --profile minimal >/dev/null && rustup component add rustfmt --toolchain nightly >/dev/null && cargo +nightly fmt -- --config imports_granularity=Item --check'",
"ci:codespell": "codespell --config .codespellrc",
"ci:mcp-types": "bash -c 'cd codex-rs && if [ -f ./mcp-types/check_lib_rs.py ]; then ./mcp-types/check_lib_rs.py; else echo \"mcp-types check skipped (script not present)\"; fi'",
"ci:shear": "bash -c 'cd codex-rs && cargo shear'",
"ci:clippy": "bash -c 'cd codex-rs && CARGO_PROFILE_DEV_DEBUG=0 cargo clippy --all-features --tests --profile dev -- -D warnings'",
"ci:build": "bash -c 'cd codex-rs && cargo build'",
"ci:test": "bash -c 'cd codex-rs && cargo nextest run --profile ci-test --fail-fast || cargo test --profile ci-test'",
"ci:test:fast": "bash -c 'cd codex-rs && cargo test --lib --bins --tests --profile test-cache -- --nocapture'",
"ci:prebuild": "bash -c 'cd codex-rs && cargo check --profile test-cache --quiet && cargo check --tests --profile test-cache --quiet'",
"ci:checks": "concurrently -n format,spell,mcp,shear \"pnpm run ci:format\" \"pnpm run ci:codespell\" \"pnpm run ci:mcp-types\" \"pnpm run ci:shear\"",
"ci:verify": "concurrently -n clippy,test \"pnpm run ci:clippy\" \"pnpm run ci:test:fast\"",
"ci": "pnpm run ci:prebuild && pnpm run ci:checks && pnpm run ci:verify",
"test:codex-rs": "cd codex-rs && cargo test --workspace --all-features -- --test-threads=8",
"test": "pnpm run ci:codespell && pnpm run ci:shear && pnpm run ci:format && pnpm run test:codex-rs && pnpm run build"
},
"devDependencies": {
"@codex-native/sdk": "workspace:*",
"@toon-format/toon": "^1.0.0",
"@napi-rs/cli": "^3.4.1",
"concurrently": "^9.2.1",
"prettier": "^3.5.3"
},
"resolutions": {
"braces": "^3.0.3",
"micromatch": "^4.0.8",
"semver": "^7.7.1"
},
"engines": {
"node": ">=22",
"pnpm": ">=10.28.0"
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
}