mirror of
https://gitea.com/actions/setup-android.git
synced 2026-03-26 14:48:21 +00:00
Migrate from ncc to esbuild
Allows updating @actions/core and @actions/tool-cache. Their old versions had dependencies with security issues.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"description": "setup android action",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "ncc build src/main.ts --out dist/",
|
||||
"build": "tsc && esbuild lib/main.js --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.js",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"lint": "eslint src/*.ts",
|
||||
@@ -25,15 +25,15 @@
|
||||
"author": "daveol",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@actions/tool-cache": "^2.0.1"
|
||||
"@actions/core": "^3.0.0",
|
||||
"@actions/tool-cache": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^24.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.57.2",
|
||||
"@typescript-eslint/parser": "^8.57.2",
|
||||
"@vercel/ncc": "^0.38.0",
|
||||
"esbuild": "^0.27.4",
|
||||
"eslint": "^10.1.0",
|
||||
"eslint-plugin-check-file": "^3.3.1",
|
||||
"eslint-plugin-jest": "^29.15.1",
|
||||
|
||||
Reference in New Issue
Block a user