Use the latest release of pkg: https://github.com/vercel/pkg/releases/tag/5.3.0 This version bumps the dependency of pkg-fetch from 2.6.9 to 3.1.1 See: https://github.com/vercel/pkg/compare/4.4.9...5.3.0#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R29 The previously used version 2.6.9 of pkg-fetch did not support amd64 and resulted in ``` > Error! 404 Not Found https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v14.4.0-macos-arm64 > Asset not found by direct link: {"tag":"v2.6","name":"uploaded-v2.6-node-v14.4.0-macos-arm64"} > Not found in GitHub releases: {"tag":"v2.6","name":"uploaded-v2.6-node-v14.4.0-macos-arm64"} ``` The subsequent attempt at creating a packaged version locally then fails. The new version of 3.1.1 has support for apple silicon
35 lines
713 B
JSON
35 lines
713 B
JSON
{
|
|
"name": "@budibase/cli",
|
|
"version": "0.9.65",
|
|
"description": "Budibase CLI, for developers, self hosting and migrations.",
|
|
"main": "src/index.js",
|
|
"bin": {
|
|
"budi": "src/index.js"
|
|
},
|
|
"author": "Budibase",
|
|
"license": "AGPL-3.0-or-later",
|
|
"scripts": {
|
|
"build": "pkg . --out-path build"
|
|
},
|
|
"pkg": {
|
|
"targets": [
|
|
"node14"
|
|
],
|
|
"outputPath": "build"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.21.1",
|
|
"chalk": "^4.1.0",
|
|
"commander": "^7.1.0",
|
|
"docker-compose": "^0.23.6",
|
|
"inquirer": "^8.0.0",
|
|
"lookpath": "^1.1.0",
|
|
"pkg": "^5.3.0",
|
|
"posthog-node": "1.0.7",
|
|
"randomstring": "^1.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.20.0"
|
|
}
|
|
}
|