mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move node-fetch to separate package (#7009)
* move node-fetch to separate package Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix node-fetch package runtime error Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix test:unit nx dependency Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix test:unit nx dependency Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * Add prepare step for node-fetch Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update lock Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove dead comment Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove unnecessary fetchModuleInjectable Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Signed-off-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
591d9f30f3
commit
7e8ae3fded
30 files changed
+1196
-3281
No files matched your search
@@ -8,7 +8,7 @@ import { open } from "fs/promises";
|
||||
import type { WriteStream } from "fs-extra";
|
||||
import { constants, ensureDir, unlink } from "fs-extra";
|
||||
import path from "path";
|
||||
import type * as FetchModule from "node-fetch";
|
||||
import type * as FetchModule from "@k8slens/node-fetch";
|
||||
import { promisify } from "util";
|
||||
import { pipeline as _pipeline, Transform, Writable } from "stream";
|
||||
import type { SingleBar } from "cli-progress";
|
||||
|
||||
@@ -201,6 +201,7 @@
|
||||
"mobx": "^6.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@k8slens/node-fetch": "^6.4.0-alpha.4",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
||||
"@swc/core": "^1.3.28",
|
||||
"@swc/jest": "^0.2.24",
|
||||
@@ -212,7 +213,6 @@
|
||||
"@types/gunzip-maybe": "^1.4.0",
|
||||
"@types/lodash": "^4.14.191",
|
||||
"@types/node": "^16.18.6",
|
||||
"@types/node-fetch": "^2.6.2",
|
||||
"@types/proper-lockfile": "^4.1.2",
|
||||
"@types/react-dom": "^17.0.16",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
],
|
||||
},
|
||||
externals: [
|
||||
"node-fetch",
|
||||
"npm",
|
||||
"win-ca"
|
||||
],
|
||||
|
||||
+62
-3182
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user