Skip to content

Commit

Permalink
Updating to TypeScript and ESM module and adding additional error han…
Browse files Browse the repository at this point in the history
…dling around errors reported back from GitHub API calls
  • Loading branch information
peter-murray authored Oct 14, 2024
1 parent baa1ef2 commit 689dcc0
Show file tree
Hide file tree
Showing 22 changed files with 1,690 additions and 1,203 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"extensions": [
"dbaeumer.vscode-eslint",
"redhat.vscode-yaml",
"swellaby.node-pack"
"swellaby.node-pack",
"vitest.explorer"
],
}
}
Expand Down
11 changes: 5 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"debug.onTaskErrors": "showErrors",
"files.trimTrailingWhitespace": true,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"editor.detectIndentation": false,
"[javascript]": {
"editor.tabSize": 2
},
"[jsonc]": {
"editor.tabSize": 2,
},
"[json]": {
"editor.tabSize": 2
"editor.tabSize": 2,
},
"[yaml]": {
"editor.tabSize": 2
}
}
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
required: true

permissions:
description: "The permissions to request e.g. issues:read,secrets:write,packages:read. Defaults to all available permissions"
description: The permissions to request e.g. issues:read,secrets:write,packages:read. Defaults to all available permissions
required: false

organization:
Expand All @@ -29,6 +29,11 @@ inputs:
description: Option proxy server for making the requests
required: false

ignore_environment_proxy:
description: Optional flag to forcibly ignore the proxy server setting in the environment
required: false
default: 'false'

revoke_token:
description: Flag to revoke the token after the job is complete, defaults to 'false', set to 'true' to revoke in the post job processing.
required: false
Expand Down
8 changes: 4 additions & 4 deletions dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/main/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
1 change: 1 addition & 0 deletions dist/main/sourcemap-register.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/post/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/post/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
1 change: 1 addition & 0 deletions dist/post/sourcemap-register.cjs

Large diffs are not rendered by default.

259 changes: 0 additions & 259 deletions lib/github-application.js

This file was deleted.

Loading

0 comments on commit 689dcc0

Please sign in to comment.