mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
project restructuring and initial refactoring
This commit is contained in:
1 parent
5af12bdbbd
commit
aa0eca2dc4
807 files changed
+11848
-22947
No files matched your search
@@ -1,3 +1,3 @@
|
||||
import { helmCli } from "../src/main/helm-cli"
|
||||
import { helmCli } from "../main/helm-cli"
|
||||
|
||||
helmCli.ensureBinary()
|
||||
@@ -1,9 +1,10 @@
|
||||
import * as request from "request"
|
||||
import * as fs from "fs"
|
||||
import packageInfo from "../package.json"
|
||||
import fs from "fs"
|
||||
import request from "request"
|
||||
import md5File from "md5-file"
|
||||
import requestPromise from "request-promise-native"
|
||||
import { ensureDir, pathExists } from "fs-extra"
|
||||
import * as md5File from "md5-file"
|
||||
import * as requestPromise from "request-promise-native"
|
||||
import * as path from "path"
|
||||
import path from "path"
|
||||
|
||||
class KubectlDownloader {
|
||||
public kubectlVersion: string
|
||||
@@ -86,7 +87,7 @@ class KubectlDownloader {
|
||||
}
|
||||
}
|
||||
|
||||
const downloadVersion: string = require("../package.json").config.bundledKubectlVersion
|
||||
const downloadVersion = packageInfo.config.bundledKubectlVersion;
|
||||
const baseDir = path.join(process.env.INIT_CWD, 'binaries', 'client')
|
||||
const downloads = [
|
||||
{ platform: 'linux', arch: 'amd64', target: path.join(baseDir, 'linux', 'x64', 'kubectl') },
|
||||
|
||||
Reference in new issue
Block a user