mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-09-20 02:50:04 +07:00
Refactored to use esbuild
This commit is contained in:
parent
a4acf0cff0
commit
bacfccaa39
@ -62,4 +62,4 @@ outputs:
|
|||||||
description: \"yes\" or \"no\", indicating the tag represents a semantic version build.
|
description: \"yes\" or \"no\", indicating the tag represents a semantic version build.
|
||||||
runs:
|
runs:
|
||||||
using: "node16"
|
using: "node16"
|
||||||
main: "app/main.js"
|
main: "dist/main.js"
|
||||||
|
27315
dist/main.js
vendored
Normal file
27315
dist/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1778
package-lock.json
generated
1778
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@ -1,19 +1,27 @@
|
|||||||
{
|
{
|
||||||
"name": "action-autotag-test",
|
"name": "autotag-action",
|
||||||
"version": "1.1.1",
|
"version": "1.1.3",
|
||||||
"description": "This is a test file for the action.",
|
"private": true,
|
||||||
"main": "index.js",
|
"description": "Automatically create a tag whenever the version changes in package.json",
|
||||||
"dependencies": {},
|
"main": "app/main.js",
|
||||||
"devDependencies": {},
|
"dependencies": {
|
||||||
|
"@actions/core": "^1.10.0",
|
||||||
|
"@actions/github": "^2.1.0",
|
||||||
|
"semver": "^7.3.4"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"esbuild": "^0.15.10"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"prepare": "esbuild --bundle ./src/main.js --platform=node --outdir=dist"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/ButlerLogic/action-autotag.git"
|
"url": "git+https://github.com/ButlerLogic/action-autotag.git"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "Corey Butler",
|
||||||
"license": "ISC",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/ButlerLogic/action-autotag/issues"
|
"url": "https://github.com/ButlerLogic/action-autotag/issues"
|
||||||
},
|
},
|
||||||
|
@ -18,10 +18,5 @@
|
|||||||
],
|
],
|
||||||
"author": "ButlerLogic",
|
"author": "ButlerLogic",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
|
||||||
"@actions/core": "^1.10.0",
|
|
||||||
"@actions/github": "^2.1.0",
|
|
||||||
"semver": "^7.3.4"
|
|
||||||
},
|
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user