chore: fixing errors

This commit is contained in:
Joel Male 2024-03-28 12:43:14 +10:00
parent 34d5f1531a
commit 3af123dc1e
5 changed files with 8 additions and 8 deletions

View File

@ -25,5 +25,5 @@ outputs:
description: 'The status of the webhook event' description: 'The status of the webhook event'
runs: runs:
using: 'node20' using: 'node20'
main: 'dist/main.js' main: 'dist/index.js'
post: 'dist/main.js' post: 'dist/index.js'

3
package-lock.json generated
View File

@ -11,6 +11,7 @@
"dependencies": { "dependencies": {
"@actions/core": "^1.10.1", "@actions/core": "^1.10.1",
"@actions/github": "^6.0.0", "@actions/github": "^6.0.0",
"@vercel/ncc": "^0.38.1",
"node-fetch": "^3.3.2" "node-fetch": "^3.3.2"
}, },
"devDependencies": { "devDependencies": {
@ -18,7 +19,6 @@
"@types/node": "^18.19.26", "@types/node": "^18.19.26",
"@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^5.62.0", "@typescript-eslint/parser": "^5.62.0",
"@vercel/ncc": "^0.38.0",
"babel-jest": "^29.3.1", "babel-jest": "^29.3.1",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-github": "^4.10.2", "eslint-plugin-github": "^4.10.2",
@ -3423,7 +3423,6 @@
"version": "0.38.1", "version": "0.38.1",
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz", "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz",
"integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==", "integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==",
"dev": true,
"bin": { "bin": {
"ncc": "dist/ncc/cli.js" "ncc": "dist/ncc/cli.js"
} }

View File

@ -28,6 +28,7 @@
"dependencies": { "dependencies": {
"@actions/core": "^1.10.1", "@actions/core": "^1.10.1",
"@actions/github": "^6.0.0", "@actions/github": "^6.0.0",
"@vercel/ncc": "^0.38.1",
"node-fetch": "^3.3.2" "node-fetch": "^3.3.2"
}, },
"devDependencies": { "devDependencies": {
@ -35,7 +36,6 @@
"@types/node": "^18.19.26", "@types/node": "^18.19.26",
"@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^5.62.0", "@typescript-eslint/parser": "^5.62.0",
"@vercel/ncc": "^0.38.0",
"babel-jest": "^29.3.1", "babel-jest": "^29.3.1",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-github": "^4.10.2", "eslint-plugin-github": "^4.10.2",

View File

@ -1,12 +1,13 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es6",
"experimentalDecorators": true, "experimentalDecorators": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"strictPropertyInitialization": false, "strictPropertyInitialization": false,
"jsx": "react", "jsx": "react",
"lib": [ "lib": [
"dom", "dom",
"es7" "es6"
], ],
"module": "commonjs", "module": "commonjs",
"noImplicitReturns": true, "noImplicitReturns": true,
@ -16,7 +17,7 @@
"removeComments": true, "removeComments": true,
"sourceMap": true, "sourceMap": true,
"strict": true, "strict": true,
"target": "es6" "skipLibCheck": true
}, },
"exclude": ["node_modules", "**/*.test.ts"] "exclude": ["node_modules", "**/*.test.ts"]
} }

View File

@ -1658,7 +1658,7 @@
resolved "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz" resolved "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
"@vercel/ncc@^0.38.0": "@vercel/ncc@^0.38.1":
version "0.38.1" version "0.38.1"
resolved "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz" resolved "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz"
integrity sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw== integrity sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==