Skip to content

Commit

Permalink
Use ncc to compile the action with dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinjil committed Jun 3, 2022
1 parent 1ba7bb8 commit 6770bf8
Show file tree
Hide file tree
Showing 7 changed files with 707 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ inputs:
default: 'repository.json'
runs:
using: 'node16'
main: 'main.js'
main: 'dist/index.js'
664 changes: 664 additions & 0 deletions dist/LICENSE

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/sourcemap-register.js

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion package-lock.json

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

13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"name": "jellyfin-plugin-repo-action",
"author": {
"name": "Kevinjil"
},
"scripts": {
"prepare": "ncc build main.js -o dist -m --source-map --license LICENSE"
},
"version": "0.2.1",
"description": "A GitHub action which generates a Jellyfin plugin repository manifest file as a GitHub action.",
"main": "main.js",
"dependencies": {
"@actions/core": "^1.8.2",
"@actions/github": "^5.0.3",
"json-stable-stringify": "^1.0.1",
"yaml": "^2.1.1"
},
"devDependencies": {
"@vercel/ncc": "^0.34.0"
}
}

0 comments on commit 6770bf8

Please sign in to comment.