mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-22 22:48:28 +02:00
Remove node_modules, use bundled code instead
This commit is contained in:
parent
b5e3caf47a
commit
5254461333
269 changed files with 71107 additions and 37583 deletions
11
package.json
11
package.json
|
@ -11,7 +11,6 @@
|
|||
"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",
|
||||
|
@ -19,9 +18,8 @@
|
|||
"author": "xHyroM",
|
||||
"scripts": {
|
||||
"format": "prettier --write src",
|
||||
"build": "tsc -p .",
|
||||
"start": "ts-node-esm src/action.ts",
|
||||
"start:dist": "node dist/action.js"
|
||||
"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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue