Files
unity-builder/package.json
T
Webber TakkenandFrostebite 58e7224b82 ci: mise instead of corepack, tooling on Node 26 (#861)
* ci: install node and yarn with mise, not corepack

Node 25+ no longer ships corepack. The integrity job now installs node and yarn from mise.toml through jdx/mise-action, and keys the yarn cache on the resolved node version.

* build: upgrade TypeScript to 6 and Node types to 24

@types/node now matches the node24 runtime the action runs on; @types/node 24 needs TypeScript 5.2+. tsconfig moves to nodenext resolution (node10 is deprecated in TypeScript 6) and dist is rebuilt with the new emitter.

* build: move tooling and CI to Node 26.12.1

mise.toml pins Node 26.12.1, which the Integrity job now installs through mise-action. The action runtime stays node24, the highest GitHub Actions offers.

---------

Co-authored-by: Frostebite <[email protected]>
2026-10-24 19:19:53 +01:00

61 lines
1.8 KiB
JSON

{
"name": "unity-builder",
"version": "3.0.0",
"description": "Build Unity projects for different platforms.",
"main": "dist/index.js",
"repository": "[email protected]:game-ci/unity-builder.git",
"author": "Webber <[email protected]>",
"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": {
"!(dist)/**/*.@(ts|tsx|mts|js|jsx|mjs|cjs)": [
"oxlint --fix --quiet --no-error-on-unmatched-pattern",
"oxfmt --write"
],
"!(dist)/**/*.@(json|jsonc|json5|md|mdx|yaml|yml|css|scss|sass|html|toml)": "oxfmt --write",
"package.json": "oxfmt --write",
".github/workflows/*.@(yml|yaml)": "actionlint"
},
"engines": {
"node": ">=24"
},
"dependencies": {
"@actions/cache": "^4.0.0",
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"@types/node": "^24.19.2",
"@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",
"husky": "9",
"js-yaml": "^4.1.0",
"lint-staged": "^16.4.0",
"oxfmt": "^0.48.0",
"oxlint": "^1.63.0",
"ts-node": "10.8.1",
"typescript": "6.0.3",
"vite": "^7",
"vitest": "^4",
"yarn-audit-fix": "^9.3.8"
},
"packageManager": "[email protected]"
}