mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 02:30:26 +08:00
* feat: add input bun-version-file (#76) * feat: add input for bun-version-file * docs: update example bun version file * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * refactor: reduce read from file code * [autofix.ci] apply automated fixes * feat: read from all known files if not specified * [autofix.ci] apply automated fixes * fix: just continue if file doesnt exist * [autofix.ci] apply automated fixes * fix: return output if found version * [autofix.ci] apply automated fixes * fix: make whitespace in .tool-versions optional * [autofix.ci] apply automated fixes * log loglog * [autofix.ci] apply automated fixes * log log log * [autofix.ci] apply automated fixes * better warnings, fix ci failing * [autofix.ci] apply automated fixes * feat: log obtained version * [autofix.ci] apply automated fixes * build: bump version * [autofix.ci] apply automated fixes * fix: add .zip extension if it's not present Workaround for https://github.com/actions/toolkit/issues/1179 Fixes https://github.com/oven-sh/setup-bun/issues/79 * [autofix.ci] apply automated fixes * docs: add comment for easier understanding * ci: more readable version * ci: match name * docs: add package.json and .tool-versions to bun-version-file examples * ci: add cache test * ci: install another pkg for cache test * ci: install more pkgs for cache test * ci: block all trusted deps in cache test * ci: more deps for cache test * ci: cache test should cache * refactor: dont try all files if not defined * [autofix.ci] apply automated fixes * ci: remove cache test * feat: support .bunrc * [autofix.ci] apply automated fixes * refactor: .bun-version instead .bunrc * [autofix.ci] apply automated fixes * feat: add bun paths and url to output Fixes https://github.com/oven-sh/setup-bun/issues/81 * [autofix.ci] apply automated fixes * ci: test for .bun-version * feat: make .bun-version as default in bun-version-file * ci: remove cache before test * ci: remove cache before test * ci: remove cache before test * ci: remove cache before test --------- Co-authored-by: Ade Hery Shopyan <51158020+adeherysh@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
578 lines
14 KiB
JSON
578 lines
14 KiB
JSON
{
|
|
"name": "setup-bun",
|
|
"version": "2.0.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "setup-bun",
|
|
"version": "2.0.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/cache": "^3.1.4",
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/glob": "^0.4.0",
|
|
"@actions/io": "^1.1.2",
|
|
"@actions/tool-cache": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.8.2",
|
|
"esbuild": "^0.19.2",
|
|
"prettier": "^2.8.4",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
},
|
|
"node_modules/@actions/cache": {
|
|
"version": "3.2.2",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.0.1",
|
|
"@actions/glob": "^0.1.0",
|
|
"@actions/http-client": "^2.1.1",
|
|
"@actions/io": "^1.0.1",
|
|
"@azure/abort-controller": "^1.1.0",
|
|
"@azure/ms-rest-js": "^2.6.0",
|
|
"@azure/storage-blob": "^12.13.0",
|
|
"semver": "^6.1.0",
|
|
"uuid": "^3.3.3"
|
|
}
|
|
},
|
|
"node_modules/@actions/cache/node_modules/@actions/glob": {
|
|
"version": "0.1.2",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"minimatch": "^3.0.4"
|
|
}
|
|
},
|
|
"node_modules/@actions/core": {
|
|
"version": "1.10.1",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/http-client": "^2.0.1",
|
|
"uuid": "^8.3.2"
|
|
}
|
|
},
|
|
"node_modules/@actions/core/node_modules/uuid": {
|
|
"version": "8.3.2",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"uuid": "dist/bin/uuid"
|
|
}
|
|
},
|
|
"node_modules/@actions/exec": {
|
|
"version": "1.1.1",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/io": "^1.0.1"
|
|
}
|
|
},
|
|
"node_modules/@actions/glob": {
|
|
"version": "0.4.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.9.1",
|
|
"minimatch": "^3.0.4"
|
|
}
|
|
},
|
|
"node_modules/@actions/http-client": {
|
|
"version": "2.1.1",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"tunnel": "^0.0.6"
|
|
}
|
|
},
|
|
"node_modules/@actions/io": {
|
|
"version": "1.1.3",
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/@actions/tool-cache": {
|
|
"version": "2.0.1",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.0",
|
|
"@actions/http-client": "^2.0.1",
|
|
"@actions/io": "^1.1.1",
|
|
"semver": "^6.1.0",
|
|
"uuid": "^3.3.2"
|
|
}
|
|
},
|
|
"node_modules/@azure/abort-controller": {
|
|
"version": "1.1.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-auth": {
|
|
"version": "1.5.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^1.0.0",
|
|
"@azure/core-util": "^1.1.0",
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-http": {
|
|
"version": "3.0.3",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^1.0.0",
|
|
"@azure/core-auth": "^1.3.0",
|
|
"@azure/core-tracing": "1.0.0-preview.13",
|
|
"@azure/core-util": "^1.1.1",
|
|
"@azure/logger": "^1.0.0",
|
|
"@types/node-fetch": "^2.5.0",
|
|
"@types/tunnel": "^0.0.3",
|
|
"form-data": "^4.0.0",
|
|
"node-fetch": "^2.6.7",
|
|
"process": "^0.11.10",
|
|
"tslib": "^2.2.0",
|
|
"tunnel": "^0.0.6",
|
|
"uuid": "^8.3.0",
|
|
"xml2js": "^0.5.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-http/node_modules/form-data": {
|
|
"version": "4.0.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"asynckit": "^0.4.0",
|
|
"combined-stream": "^1.0.8",
|
|
"mime-types": "^2.1.12"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-http/node_modules/uuid": {
|
|
"version": "8.3.2",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"uuid": "dist/bin/uuid"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-lro": {
|
|
"version": "2.5.4",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^1.0.0",
|
|
"@azure/core-util": "^1.2.0",
|
|
"@azure/logger": "^1.0.0",
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-paging": {
|
|
"version": "1.5.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-tracing": {
|
|
"version": "1.0.0-preview.13",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@opentelemetry/api": "^1.0.1",
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/core-util": {
|
|
"version": "1.4.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^1.0.0",
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/logger": {
|
|
"version": "1.0.4",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/ms-rest-js": {
|
|
"version": "2.7.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/core-auth": "^1.1.4",
|
|
"abort-controller": "^3.0.0",
|
|
"form-data": "^2.5.0",
|
|
"node-fetch": "^2.6.7",
|
|
"tslib": "^1.10.0",
|
|
"tunnel": "0.0.6",
|
|
"uuid": "^8.3.2",
|
|
"xml2js": "^0.5.0"
|
|
}
|
|
},
|
|
"node_modules/@azure/ms-rest-js/node_modules/tslib": {
|
|
"version": "1.14.1",
|
|
"license": "0BSD"
|
|
},
|
|
"node_modules/@azure/ms-rest-js/node_modules/uuid": {
|
|
"version": "8.3.2",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"uuid": "dist/bin/uuid"
|
|
}
|
|
},
|
|
"node_modules/@azure/storage-blob": {
|
|
"version": "12.15.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/abort-controller": "^1.0.0",
|
|
"@azure/core-http": "^3.0.0",
|
|
"@azure/core-lro": "^2.2.0",
|
|
"@azure/core-paging": "^1.1.1",
|
|
"@azure/core-tracing": "1.0.0-preview.13",
|
|
"@azure/logger": "^1.0.0",
|
|
"events": "^3.0.0",
|
|
"tslib": "^2.2.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
}
|
|
},
|
|
"node_modules/@esbuild/darwin-arm64": {
|
|
"version": "0.19.2",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"engines": {
|
|
"node": ">=12"
|
|
}
|
|
},
|
|
"node_modules/@opentelemetry/api": {
|
|
"version": "1.5.0",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
}
|
|
},
|
|
"node_modules/@types/node": {
|
|
"version": "20.9.1",
|
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.1.tgz",
|
|
"integrity": "sha512-HhmzZh5LSJNS5O8jQKpJ/3ZcrrlG6L70hpGqMIAoM9YVD0YBRNWYsfwcXq8VnSjlNpCpgLzMXdiPo+dxcvSmiA==",
|
|
"dependencies": {
|
|
"undici-types": "~5.26.4"
|
|
}
|
|
},
|
|
"node_modules/@types/node-fetch": {
|
|
"version": "2.6.4",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@types/node": "*",
|
|
"form-data": "^3.0.0"
|
|
}
|
|
},
|
|
"node_modules/@types/node-fetch/node_modules/form-data": {
|
|
"version": "3.0.1",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"asynckit": "^0.4.0",
|
|
"combined-stream": "^1.0.8",
|
|
"mime-types": "^2.1.12"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6"
|
|
}
|
|
},
|
|
"node_modules/@types/tunnel": {
|
|
"version": "0.0.3",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@types/node": "*"
|
|
}
|
|
},
|
|
"node_modules/abort-controller": {
|
|
"version": "3.0.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"event-target-shim": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=6.5"
|
|
}
|
|
},
|
|
"node_modules/asynckit": {
|
|
"version": "0.4.0",
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/balanced-match": {
|
|
"version": "1.0.2",
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/brace-expansion": {
|
|
"version": "1.1.11",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"balanced-match": "^1.0.0",
|
|
"concat-map": "0.0.1"
|
|
}
|
|
},
|
|
"node_modules/combined-stream": {
|
|
"version": "1.0.8",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"delayed-stream": "~1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.8"
|
|
}
|
|
},
|
|
"node_modules/concat-map": {
|
|
"version": "0.0.1",
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/delayed-stream": {
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=0.4.0"
|
|
}
|
|
},
|
|
"node_modules/esbuild": {
|
|
"version": "0.19.2",
|
|
"dev": true,
|
|
"hasInstallScript": true,
|
|
"license": "MIT",
|
|
"bin": {
|
|
"esbuild": "bin/esbuild"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"optionalDependencies": {
|
|
"@esbuild/android-arm": "0.19.2",
|
|
"@esbuild/android-arm64": "0.19.2",
|
|
"@esbuild/android-x64": "0.19.2",
|
|
"@esbuild/darwin-arm64": "0.19.2",
|
|
"@esbuild/darwin-x64": "0.19.2",
|
|
"@esbuild/freebsd-arm64": "0.19.2",
|
|
"@esbuild/freebsd-x64": "0.19.2",
|
|
"@esbuild/linux-arm": "0.19.2",
|
|
"@esbuild/linux-arm64": "0.19.2",
|
|
"@esbuild/linux-ia32": "0.19.2",
|
|
"@esbuild/linux-loong64": "0.19.2",
|
|
"@esbuild/linux-mips64el": "0.19.2",
|
|
"@esbuild/linux-ppc64": "0.19.2",
|
|
"@esbuild/linux-riscv64": "0.19.2",
|
|
"@esbuild/linux-s390x": "0.19.2",
|
|
"@esbuild/linux-x64": "0.19.2",
|
|
"@esbuild/netbsd-x64": "0.19.2",
|
|
"@esbuild/openbsd-x64": "0.19.2",
|
|
"@esbuild/sunos-x64": "0.19.2",
|
|
"@esbuild/win32-arm64": "0.19.2",
|
|
"@esbuild/win32-ia32": "0.19.2",
|
|
"@esbuild/win32-x64": "0.19.2"
|
|
}
|
|
},
|
|
"node_modules/event-target-shim": {
|
|
"version": "5.0.1",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=6"
|
|
}
|
|
},
|
|
"node_modules/events": {
|
|
"version": "3.3.0",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=0.8.x"
|
|
}
|
|
},
|
|
"node_modules/form-data": {
|
|
"version": "2.5.1",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"asynckit": "^0.4.0",
|
|
"combined-stream": "^1.0.6",
|
|
"mime-types": "^2.1.12"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.12"
|
|
}
|
|
},
|
|
"node_modules/mime-db": {
|
|
"version": "1.52.0",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 0.6"
|
|
}
|
|
},
|
|
"node_modules/mime-types": {
|
|
"version": "2.1.35",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"mime-db": "1.52.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.6"
|
|
}
|
|
},
|
|
"node_modules/minimatch": {
|
|
"version": "3.0.8",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"brace-expansion": "^1.1.7"
|
|
},
|
|
"engines": {
|
|
"node": "*"
|
|
}
|
|
},
|
|
"node_modules/node-fetch": {
|
|
"version": "2.7.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"whatwg-url": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "4.x || >=6.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"encoding": "^0.1.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"encoding": {
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
"node_modules/prettier": {
|
|
"version": "2.8.8",
|
|
"dev": true,
|
|
"license": "MIT",
|
|
"bin": {
|
|
"prettier": "bin-prettier.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.13.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/prettier/prettier?sponsor=1"
|
|
}
|
|
},
|
|
"node_modules/process": {
|
|
"version": "0.11.10",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 0.6.0"
|
|
}
|
|
},
|
|
"node_modules/sax": {
|
|
"version": "1.2.4",
|
|
"license": "ISC"
|
|
},
|
|
"node_modules/semver": {
|
|
"version": "6.3.1",
|
|
"license": "ISC",
|
|
"bin": {
|
|
"semver": "bin/semver.js"
|
|
}
|
|
},
|
|
"node_modules/tr46": {
|
|
"version": "0.0.3",
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/tslib": {
|
|
"version": "2.6.2",
|
|
"license": "0BSD"
|
|
},
|
|
"node_modules/tunnel": {
|
|
"version": "0.0.6",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
|
|
}
|
|
},
|
|
"node_modules/typescript": {
|
|
"version": "4.9.5",
|
|
"dev": true,
|
|
"license": "Apache-2.0",
|
|
"bin": {
|
|
"tsc": "bin/tsc",
|
|
"tsserver": "bin/tsserver"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.2.0"
|
|
}
|
|
},
|
|
"node_modules/undici-types": {
|
|
"version": "5.26.5",
|
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
|
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
|
|
},
|
|
"node_modules/uuid": {
|
|
"version": "3.4.0",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"uuid": "bin/uuid"
|
|
}
|
|
},
|
|
"node_modules/webidl-conversions": {
|
|
"version": "3.0.1",
|
|
"license": "BSD-2-Clause"
|
|
},
|
|
"node_modules/whatwg-url": {
|
|
"version": "5.0.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"tr46": "~0.0.3",
|
|
"webidl-conversions": "^3.0.0"
|
|
}
|
|
},
|
|
"node_modules/xml2js": {
|
|
"version": "0.5.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"sax": ">=0.6.0",
|
|
"xmlbuilder": "~11.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
}
|
|
},
|
|
"node_modules/xmlbuilder": {
|
|
"version": "11.0.1",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=4.0"
|
|
}
|
|
}
|
|
}
|
|
}
|