mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Swtich @k8slens/download-binaries to provide a binary
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
e9b7edea76
commit
3958016091
@ -6,9 +6,9 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"build": "swc ./src/index.ts -o ./dist/index.mjs",
|
||||
"download": "node ./dist/index.mjs"
|
||||
"build": "swc ./src/index.ts -o ./dist/index.mjs"
|
||||
},
|
||||
"bin": "./dist/index.mjs",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
@ -17,8 +18,6 @@ import fetch from "node-fetch"
|
||||
import z from "zod";
|
||||
import arg from "arg";
|
||||
|
||||
console.log(process.argv)
|
||||
|
||||
const options = arg({
|
||||
"--package": String,
|
||||
"--base-dir": String,
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
"dev:renderer": "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": "cd node_modules/@k8slens/download-binaries && npm run download -- --package $INIT_CWD/package.json --base-dir $INIT_CWD/binaries/client"
|
||||
"download:binaries": "npm exec -- @k8slens/download-binaries --package $INIT_CWD/package.json --base-dir $INIT_CWD/binaries/client"
|
||||
},
|
||||
"config": {
|
||||
"k8sProxyVersion": "0.3.0",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user