mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-01 14:26:17 -07:00
Remove the entire src/model/orchestrator/ directory (148 files, ~30k lines) and refactor all dependent code to use the plugin loader pattern. Key changes: - build-parameters.ts: replace OrchestratorOptions with Input.getInput() - input.ts: remove OrchestratorQueryOverride input source - github.ts: strip to minimal class (only githubInputEnabled remains) - cli/cli.ts: remove orchestrator CLI commands, simplify to core structure - input-readers/*: replace OrchestratorSystem.Run with child_process.exec - orchestrator-plugin.ts: import from @game-ci/orchestrator package - orchestrate.ts, build.ts: use plugin loader instead of direct imports - index.ts: inline SyncStrategy type, fix implicit any types - Add type declarations for @game-ci/orchestrator - Remove orchestrator-only npm dependencies (AWS SDK, K8s, etc.) - Remove orchestrator-specific npm scripts and CI workflows - Update validate-orchestrator.yml for external repo validation All enterprise features gracefully degrade when @game-ci/orchestrator is not installed — the plugin loader returns undefined and optional chaining in index.ts skips all enterprise service calls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
88 lines
2.3 KiB
JSON
88 lines
2.3 KiB
JSON
{
|
|
"name": "unity-builder",
|
|
"version": "3.0.0",
|
|
"description": "Build Unity projects for different platforms.",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"game-ci": "./lib/cli.js"
|
|
},
|
|
"pkg": {
|
|
"scripts": "lib/**/*.js",
|
|
"assets": [
|
|
"lib/**/*.json",
|
|
"package.json"
|
|
],
|
|
"targets": [
|
|
"node20-linux-x64",
|
|
"node20-linux-arm64",
|
|
"node20-macos-x64",
|
|
"node20-macos-arm64",
|
|
"node20-win-x64"
|
|
],
|
|
"outputPath": "dist-binaries"
|
|
},
|
|
"repository": "git@github.com:game-ci/unity-builder.git",
|
|
"author": "Webber <webber@takken.io>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prepare": "lefthook install",
|
|
"build": "yarn && tsc && ncc build lib --source-map --license licenses.txt",
|
|
"lint": "prettier --check \"src/**/*.{js,ts}\" && eslint src/**/*.ts",
|
|
"format": "prettier --write \"src/**/*.{js,ts}\"",
|
|
"cli": "yarn ts-node src/index.ts -m cli",
|
|
"game-ci": "ts-node src/cli.ts",
|
|
"test": "jest",
|
|
"test:ci": "jest --config=jest.ci.config.js --runInBand"
|
|
},
|
|
"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",
|
|
"commander": "^9.0.0",
|
|
"commander-ts": "^0.2.0",
|
|
"md5": "^2.3.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"nanoid": "^3.3.1",
|
|
"semver": "^7.5.2",
|
|
"ts-md5": "^1.3.1",
|
|
"unity-changeset": "^3.1.0",
|
|
"yaml": "^2.2.2",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.23",
|
|
"@types/semver": "^7.3.9",
|
|
"@types/yargs": "^17.0.35",
|
|
"@typescript-eslint/parser": "4.8.1",
|
|
"@vercel/ncc": "^0.36.1",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^7.23.0",
|
|
"eslint-config-prettier": "8.1.0",
|
|
"eslint-plugin-github": "^4.1.1",
|
|
"eslint-plugin-jest": "24.1.3",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-unicorn": "28.0.2",
|
|
"jest": "^27.5.1",
|
|
"jest-circus": "^27.5.1",
|
|
"jest-fail-on-console": "^3.0.2",
|
|
"js-yaml": "^4.1.0",
|
|
"lefthook": "^1.6.1",
|
|
"node-fetch": "2",
|
|
"pkg": "^5.8.1",
|
|
"prettier": "^2.5.1",
|
|
"ts-jest": "^27.1.3",
|
|
"ts-node": "10.8.1",
|
|
"typescript": "4.7.4",
|
|
"yarn-audit-fix": "^9.3.8"
|
|
},
|
|
"volta": {
|
|
"node": "20.5.1",
|
|
"yarn": "1.22.19"
|
|
}
|
|
}
|