From 3af123dc1ee18129946276b91d1436777f27ca67 Mon Sep 17 00:00:00 2001 From: Joel Male Date: Thu, 28 Mar 2024 12:43:14 +1000 Subject: [PATCH] chore: fixing errors --- action.yml | 4 ++-- package-lock.json | 3 +-- package.json | 2 +- tsconfig.json | 5 +++-- yarn.lock | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 5e734dbb..26240c43 100644 --- a/action.yml +++ b/action.yml @@ -25,5 +25,5 @@ outputs: description: 'The status of the webhook event' runs: using: 'node20' - main: 'dist/main.js' - post: 'dist/main.js' + main: 'dist/index.js' + post: 'dist/index.js' diff --git a/package-lock.json b/package-lock.json index 73f8a1e4..5d41b505 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@actions/core": "^1.10.1", "@actions/github": "^6.0.0", + "@vercel/ncc": "^0.38.1", "node-fetch": "^3.3.2" }, "devDependencies": { @@ -18,7 +19,6 @@ "@types/node": "^18.19.26", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^5.62.0", - "@vercel/ncc": "^0.38.0", "babel-jest": "^29.3.1", "eslint": "^8.57.0", "eslint-plugin-github": "^4.10.2", @@ -3423,7 +3423,6 @@ "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" } diff --git a/package.json b/package.json index 4ecf00cb..335d2b98 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "dependencies": { "@actions/core": "^1.10.1", "@actions/github": "^6.0.0", + "@vercel/ncc": "^0.38.1", "node-fetch": "^3.3.2" }, "devDependencies": { @@ -35,7 +36,6 @@ "@types/node": "^18.19.26", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^5.62.0", - "@vercel/ncc": "^0.38.0", "babel-jest": "^29.3.1", "eslint": "^8.57.0", "eslint-plugin-github": "^4.10.2", diff --git a/tsconfig.json b/tsconfig.json index 85bf45da..6cfe99a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,13 @@ { "compilerOptions": { + "target": "es6", "experimentalDecorators": true, "allowSyntheticDefaultImports": true, "strictPropertyInitialization": false, "jsx": "react", "lib": [ "dom", - "es7" + "es6" ], "module": "commonjs", "noImplicitReturns": true, @@ -16,7 +17,7 @@ "removeComments": true, "sourceMap": true, "strict": true, - "target": "es6" + "skipLibCheck": true }, "exclude": ["node_modules", "**/*.test.ts"] } diff --git a/yarn.lock b/yarn.lock index 7d443305..5816d535 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1658,7 +1658,7 @@ resolved "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@vercel/ncc@^0.38.0": +"@vercel/ncc@^0.38.1": version "0.38.1" resolved "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz" integrity sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==