1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix ensure-binaries bin (#7078)

* fix ensure-binaries bin

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix dist file extension

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use type: module

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix lerna/yarn timeouts on windows

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* increase install dependency retry timeout

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

---------

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2023-02-01 17:13:13 +02:00 committed by GitHub
parent df6f4b5fa0
commit 76c025f04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -48,7 +48,7 @@ jobs:
- uses: nick-fields/retry@v2
name: Install dependencies
with:
timeout_minutes: 10
timeout_minutes: 20
max_attempts: 3
retry_on: error
command: yarn install --frozen-lockfile

View File

@ -5,5 +5,8 @@
"packages/*"
],
"version": "6.4.0-beta.10",
"npmClient": "yarn"
"npmClient": "yarn",
"npmClientArgs": [
"--network-timeout=100000"
]
}

View File

@ -2,14 +2,17 @@
"name": "@k8slens/ensure-binaries",
"version": "6.4.0-beta.10",
"description": "CLI for downloading configured versions of the bundled versions of CLIs",
"main": "dist/index.mjs",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -o ./dist/index.mjs",
"build": "swc ./src/index.ts -o ./dist/index.js",
"prepare:dev": "npm run build"
},
"bin": "./dist/index.mjs",
"bin": {
"ensure-binaries": "./dist/index.js"
},
"type": "module",
"files": [
"dist"
],

View File

@ -35,7 +35,7 @@
"dev:renderer": "cross-env NODE_ENV=development ts-node ./webpack/dev-server.ts",
"test:integration": "jest -xyz --runInBand --detectOpenHandles --forceExit --modulePaths=[\"<rootDir>/integration/\"];",
"build:tray-icons": "ts-node build/generate-tray-icons.ts",
"download:binaries": "npm exec -- @k8slens/ensure-binaries --package $INIT_CWD/package.json --base-dir $INIT_CWD/binaries/client"
"download:binaries": "ensure-binaries --package ./package.json --base-dir ./binaries/client"
},
"config": {
"k8sProxyVersion": "0.3.0",