mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-05-31 13:56:13 -07:00
Remove InitCliMode/RunCli, @CliFunction decorator, and CliFunctionsRepository. The only registered CLI mode was `print-input` which is unused — all real CLI functionality lives in the orchestrator repo now. This drops 3 dependencies: - commander-ts (decorator-based CLI, needed reflect-metadata) - reflect-metadata (peer dep of commander-ts) - commander (only used for OptionValues type) Cli.options, Cli.isCliMode, and Cli.query remain — the orchestrator plugin sets these directly without commander. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"name": "unity-builder",
|
|
"version": "3.0.0",
|
|
"description": "Build Unity projects for different platforms.",
|
|
"main": "dist/index.js",
|
|
"repository": "git@github.com:game-ci/unity-builder.git",
|
|
"author": "Webber <webber@takken.io>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"build": "yarn && tsc && ncc build lib --source-map --license licenses.txt",
|
|
"test": "node scripts/ensure-husky.mjs && vitest run",
|
|
"test:watch": "vitest",
|
|
"test:ci": "vitest run",
|
|
"coverage": "vitest run --coverage",
|
|
"lint": "yarn oxlint --report-unused-disable-directives",
|
|
"format": "oxfmt --write",
|
|
"format:check": "oxfmt --check",
|
|
"typecheck": "tsc --noEmit",
|
|
"typecheck:tsgo": "tsgo --noEmit",
|
|
"setup:hooks": "node scripts/ensure-husky.mjs"
|
|
},
|
|
"lint-staged": {
|
|
"*.@(ts|tsx|mts|js|jsx|mjs|cjs)": [
|
|
"oxlint --fix --quiet",
|
|
"oxfmt --write"
|
|
],
|
|
"*.@(json|jsonc|json5|md|mdx|yaml|yml|css|scss|sass|html|toml)": "oxfmt --write",
|
|
".github/workflows/*.@(yml|yaml)": "actionlint"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.x"
|
|
},
|
|
"dependencies": {
|
|
"@actions/cache": "^4.0.0",
|
|
"@actions/core": "^1.11.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^6.0.0",
|
|
"md5": "^2.3.0",
|
|
"nanoid": "^3.3.1",
|
|
"semver": "^7.5.2",
|
|
"ts-md5": "^1.3.1",
|
|
"unity-changeset": "^3.1.0",
|
|
"yaml": "^2.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^17.0.23",
|
|
"@types/semver": "^7.3.9",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260505.1",
|
|
"@vercel/ncc": "^0.36.1",
|
|
"@vitest/coverage-istanbul": "^4.1.5",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^10.3.0",
|
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
"husky": "9",
|
|
"js-yaml": "^4.1.0",
|
|
"lint-staged": "^16.4.0",
|
|
"node-fetch": "2",
|
|
"oxfmt": "^0.48.0",
|
|
"oxlint": "^1.63.0",
|
|
"ts-node": "10.8.1",
|
|
"typescript": "4.7.4",
|
|
"vite": "^7",
|
|
"vitest": "^4",
|
|
"yarn-audit-fix": "^9.3.8"
|
|
},
|
|
"packageManager": "yarn@4.14.1",
|
|
"dependenciesMeta": {
|
|
"lefthook": {
|
|
"built": true
|
|
}
|
|
}
|
|
}
|