Files
Anthony ShewandGitHub 2e2bd3881f refactor: Move repository tasks into Turbo configuration (#13504)
## Summary

- Move Turborepo-owned commands from package scripts into root and
package `turbo.json` files using `experimentalTaskCommand`.
- Reduce primary-workspace package scripts from 106 to 26 without
duplicating commands across both configuration formats.
- Define the common JavaScript `check-types` command once at the root,
with package overrides and explicit opt-outs where needed.
- Decompose compound build and type-check commands into explicit task
dependencies while retaining lifecycle, framework, shell, and release
bootstrap scripts.

## Testing

- `pnpm exec oxfmt --check`
- `cargo test -p turbo --test task_command_test`
- `turbo run check-types` across all 20 JavaScript workspace packages
- Representative command-only build, test, schema, docs, and lockfile
tasks
- Pre-push formatting and TOML checks
2026-07-28 18:31:44 -06:00

38 lines
1.1 KiB
JSON

{
"name": "turbo-monorepo",
"version": "0.0.0",
"private": true,
"scripts": {
"build:turbo": "cargo build --package turbo",
"turbo": "pnpm run build:turbo && ./target/debug/turbo",
"prepare": "husky install",
"rustdoc": "RUSTDOCFLAGS=\"-Z unstable-options --enable-index-page\" cargo doc --workspace --no-deps --keep-going || true",
"rustdoc:open": "RUSTDOCFLAGS=\"-Z unstable-options --enable-index-page\" cargo doc --workspace --no-deps --keep-going --open"
},
"devDependencies": {
"@taplo/cli": "0.5.2",
"@types/node": "22.15.3",
"husky": "8.0.3",
"lint-staged": "16.4.0",
"oxfmt": "^0.34.0",
"oxlint": "^1.49.0",
"semver": "7.5.2",
"typescript": "npm:@typescript/typescript6@^6.0.1",
"typescript-7": "npm:[email protected]",
"ultracite": "7.4.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,mdx,mjs,yml,yaml,css,json,jsonc}": "oxfmt --no-error-on-unmatched-pattern",
"*.toml": "taplo format"
},
"engines": {
"node": "24.x"
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"esbuild": "0.28.1"
}
}
}