Fix bunx (#18)

* Add symlink for bunx

* Remove node_modules, use bundled code instead

* Add revision support
This commit is contained in:
Ashcon Partovi 2023-09-11 12:37:45 -07:00 committed by GitHub
parent 67e559db2c
commit c34bee2511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
272 changed files with 71159 additions and 37631 deletions

View file

@ -11,17 +11,15 @@
"setup"
],
"homepage": "https://bun.sh",
"type": "module",
"main": "dist/action.js",
"repository": "git@github.com:oven-sh/setup-bun.git",
"bugs": "https://github.com/oven-sh/setup-bun/issues",
"license": "MIT",
"author": "xHyroM",
"scripts": {
"format": "prettier --write src",
"build": "tsc -p .",
"start": "ts-node-esm src/action.ts",
"start:dist": "node dist/action.js"
"format": "prettier --write src *.yml *.json *.md",
"build": "esbuild --target=node16 --outdir=dist --bundle --platform=node --format=cjs src/action.ts",
"start": "bun run build && node dist/action.js"
},
"dependencies": {
"@actions/cache": "^3.1.4",
@ -32,10 +30,9 @@
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"esbuild": "^0.19.2",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"ts-node": "^10.9.1",
"esbuild": "^0.17.10"
"typescript": "^4.9.5"
},
"prettier": {
"quoteProps": "preserve"