mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00

* Add intial framework for macos builds. Test install editor * Fix unity hub path space * Single quote space in path * Escape space character * More backslashes * Move to bash scripts for setup * Add path to command args * Different command to run shell script * Use full path to scripts * Unpack changeset value and fix missing escape characters * Print changeset * More debug * Remove debug * Fix script paths * Printenv debug * Write environment variables to file to read in bash script * Debug file write * More debug * Fix missing await * Move back to process.env * Fix path typo * Add missing flags * Make directory for license activation * Add missing sudo * Give permissions to license folder * Fix path issues * Add build tests * Try ts setup again * Try quoting path * Further migrate mac scripts to align with linux scripts * print pwd * Fix changeset and remove unneeded env vars * Ignore return code * fix missing current directory * Fix project path * pwd * Remove project path * Revert to cwd being the workspace folder and pass action folder as an env variable. * Add blank project to use for activation * Add blank project path * Fix build tests * Don't rebuild library on windows * Fix project path windows * Fix platform specific workspace env variable * Fix incorrect variable name * Update .github/workflows/mac-build-tests.yml Co-authored-by: Webber Takken <webber.nl@gmail.com> * Update .github/workflows/mac-build-tests.yml Co-authored-by: Webber Takken <webber.nl@gmail.com> * Update dist/BlankProject/Packages/packages-lock.json Co-authored-by: Webber Takken <webber.nl@gmail.com> * Update src/model/platform-setup/setup-mac.ts Co-authored-by: Webber Takken <webber.nl@gmail.com> * Update src/model/platform-setup/setup-mac.ts Co-authored-by: Webber Takken <webber.nl@gmail.com> * Fix formatting Co-authored-by: Webber Takken <webber.nl@gmail.com>
83 lines
2.7 KiB
JSON
83 lines
2.7 KiB
JSON
{
|
|
"name": "unity-builder",
|
|
"version": "2.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": {
|
|
"prebuild": "yarn",
|
|
"build": "tsc && ncc build lib --source-map --license licenses.txt",
|
|
"lint": "prettier --check \"src/**/*.{js,ts}\" && eslint src/**/*.ts",
|
|
"format": "prettier --write \"src/**/*.{js,ts}\"",
|
|
"prepare": "husky install",
|
|
"cli": "yarn ts-node src/index.ts -m cli",
|
|
"cli-aws": "cross-env cloudRunnerCluster=aws yarn run test-cli",
|
|
"cli-k8s": "cross-env cloudRunnerCluster=k8s yarn run test-cli",
|
|
"test-cli": "cross-env cloudRunnerTests=true yarn ts-node src/index.ts -m cli --projectPath test-project",
|
|
"test": "jest",
|
|
"test-i": "yarn run test-i-aws && yarn run test-i-k8s",
|
|
"test-i-f": "yarn run test-i-aws && yarn run test-i-k8s && yarn run cli-k8s && yarn run cli-aws",
|
|
"test-i-aws": "cross-env cloudRunnerTests=true cloudRunnerCluster=aws yarn test -i -t \"cloud runner\"",
|
|
"test-i-k8s": "cross-env cloudRunnerTests=true cloudRunnerCluster=k8s yarn test -i -t \"cloud runner\""
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.4",
|
|
"@actions/github": "^2.2.0",
|
|
"@kubernetes/client-node": "^0.14.3",
|
|
"@octokit/core": "^3.5.1",
|
|
"async-wait-until": "^2.0.7",
|
|
"aws-sdk": "^2.812.0",
|
|
"base-64": "^1.0.0",
|
|
"commander": "^8.3.0",
|
|
"commander-ts": "^0.2.0",
|
|
"kubernetes-client": "^9.0.0",
|
|
"unity-changeset": "^1.6.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"semver": "^7.3.5",
|
|
"yaml": "^1.10.2",
|
|
"nanoid": "^3.1.31"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.0.3",
|
|
"@types/node": "^14.14.9",
|
|
"@types/semver": "^7.3.5",
|
|
"@typescript-eslint/parser": "^4.8.1",
|
|
"@vercel/ncc": "^0.25.1",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^7.17.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",
|
|
"husky": "^7.0.4",
|
|
"jest": "^26.6.3",
|
|
"jest-circus": "^26.6.3",
|
|
"js-yaml": "^3.14.0",
|
|
"lint-staged": "^12.1.2",
|
|
"prettier": "^2.2.1",
|
|
"ts-jest": "^26.4.2",
|
|
"ts-node": "^10.4.0",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint",
|
|
"git add",
|
|
"jest --findRelatedTests"
|
|
],
|
|
"*.{json,md,yaml,yml}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.sh": [
|
|
"git update-index --chmod=+x"
|
|
],
|
|
"*.js": "eslint --cache --fix"
|
|
}
|
|
}
|