Fix failed ncc build (#1657)

* Initial plan

* Replace @vercel/ncc with esbuild to support @actions/core@3.0.0 (ESM-only)

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>

* 📦️ Build

* Replace esbuild with rimraf + rollup for packaging

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>

* Remove rollup.config.js build artifact from git tracking

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>

* Remove yarn, switch to npm

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
This commit is contained in:
Copilot 2026-03-13 18:18:57 +09:00 committed by marocchino
parent 7d67ef6450
commit df624d2eed
No known key found for this signature in database
GPG key ID: F54107506CCF18D0
11 changed files with 2593 additions and 68256 deletions

View file

@ -10,12 +10,12 @@
"format-check": "biome format --write .",
"lint": "biome check .",
"lint:fix": "biome check --apply .",
"package": "ncc build --source-map --license licenses.txt",
"package": "npx rimraf ./dist && npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"build_test": "tsc && vitest run",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
"all": "npm run build && npm run format && npm run lint && npm run package && npm run test"
},
"repository": {
"type": "git",
@ -36,9 +36,13 @@
},
"devDependencies": {
"@biomejs/biome": "2.4.6",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^25.5.0",
"@vercel/ncc": "^0.38.4",
"js-yaml": "^4.1.0",
"rimraf": "^6.1.3",
"rollup": "^4.59.0",
"typescript": "^5.9.2",
"vitest": "^4.0.16"
}