Skip to content

Commit

Permalink
Enable resolving JSON (#12)
Browse files Browse the repository at this point in the history
Currently if a local action imports a JSON file, this tool fails because
the `resolveJsonModule` flag is not set.
  • Loading branch information
ncalteen authored Nov 2, 2023
2 parents 2a6130c + 5032f44 commit 3f2ceb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@github/local-action",
"description": "Debug a local GitHub Action",
"version": "0.1.3",
"version": "0.1.4",
"author": "Nick Alteen <[email protected]>",
"private": false,
"homepage": "https://github.com/github/local-action",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"noUnusedLocals": true,
"noUnusedParameters": false,
"outDir": "./dist",
"resolveJsonModule": true,
"rootDir": "./src",
"sourceMap": true,
"strict": true,
Expand Down

0 comments on commit 3f2ceb4

Please sign in to comment.