1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common/k8s-api
Sebastian Malton 86ac417cab
Upgrade to latest node-fetch (#6046)
* Upgrade to latest node-fetch

- Introduce injection tokens for retriving the implementation of
  node-fetch via await import() calls

- Add webpack file for compiling node-fetch to electron-renderer single
  file format

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Update lock file

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add type packages which were removed for some reason

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add more dev @types deps that weren't added last time

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Simpify by using webpack to create a commonjs package

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix build for integration tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix unit tests on CI not having all deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Revert accidental timeout change

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Replace manually specifying nodeJS externals with preset

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-14 10:46:53 -05:00
..
__tests__ Upgrade to latest node-fetch (#6046) 2022-11-14 10:46:53 -05:00
api-manager Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
endpoints Fix cron jobs not being viewable on newer kube (#6542) 2022-11-10 15:34:58 +02:00
kube-api Fix editing of kube resource (#5906) 2022-07-27 11:44:11 -04:00
api-base.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
api-kube.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
cluster-context.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
create-json-api.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
create-kube-api-for-cluster.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
create-kube-api-for-remote-cluster.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
create-kube-json-api-for-cluster.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
create-kube-json-api.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
json-api.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
kube-api-parse.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
kube-api.ts Upgrade to latest node-fetch (#6046) 2022-11-14 10:46:53 -05:00
kube-json-api.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
kube-object-status.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
kube-object.store.ts Upgrade to latest node-fetch (#6046) 2022-11-14 10:46:53 -05:00
kube-object.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
kube-watch-event.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
selected-filter-namespaces.injectable.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
stores-apis-can-be-created.token.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
window-location.global-override-for-injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
window-location.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00