CI: use Node.js over bun

This commit is contained in:
SukkaW
2024-07-23 18:04:58 +08:00
parent fc3ae52baa
commit 18d1c1b23e
5 changed files with 2745 additions and 8 deletions

View File

@@ -8,9 +8,9 @@
"url": "git+https://github.com/SukkaW/Surge.git"
},
"scripts": {
"build": "bun ./Build/index.ts",
"build-node": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true node -r @swc-node/register ./Build/index.ts",
"build-stream": "ENABLE_TEXT_LINE_STREAM=true bun ./Build/index.ts",
"build": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true node -r @swc-node/register ./Build/index.ts",
"build-bun": "bun ./Build/index.ts",
"build-bun-stream": "ENABLE_TEXT_LINE_STREAM=true bun ./Build/index.ts",
"lint": "eslint --format=sukka ."
},
"author": "",
@@ -52,7 +52,7 @@
"mitata": "^0.1.11",
"typescript": "^5.5.3"
},
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
"resolutions": {
"has": "npm:@nolyfill/has@latest"
}