feat: Compute the kubectl download version map at build time

- Allows for bundled kubectl config to be changed without code changes

- Introduce @k8slens/kubectl-versions

  - Compile time fetching of versions

- Update @swc/* packages

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-04-14 14:42:00 -04:00
1 parent 2debe61359
commit 0bd7b1fe92
26 files changed
+348 -70

No files matched your search

+2 -4
View File
@@ -9,9 +9,7 @@
"build": "swc ./src/index.ts -d ./dist/",
"postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js",
"prepare:dev": "npm run build",
"prepare": "npm run build"
"postbuild:nix": "chmod u+x ./dist/index.js"
},
"bin": {
"ensure-binaries": "./dist/index.js"
@@ -34,7 +32,7 @@
"zod": "^3.20.6"
},
"devDependencies": {
"@swc/cli": "^0.1.61",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.44",
"@types/cli-progress": "^3.11.0",
"@types/gunzip-maybe": "^1.4.0",