fix: move main.js to root dir, fix ncc build error

ref: https://github.com/vercel/ncc/issues/791
This commit is contained in:
Akkuman
2023-12-01 17:03:41 +08:00
parent 8e3a904f48
commit 17144997f2
6 changed files with 127 additions and 327 deletions

5
package-lock.json generated
View File

@ -11,8 +11,10 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@vercel/ncc": "^0.38.1",
"gitea-api": "^1.17.3-1"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1"
}
},
"node_modules/@actions/core": {
@ -174,6 +176,7 @@
"version": "0.38.1",
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz",
"integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==",
"dev": true,
"bin": {
"ncc": "dist/ncc/cli.js"
}