1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src/common/utils
Sebastian Malton 2789bcebcb
Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244)
* Convert runMany and runManySync to use injectManyWithMeta

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

* Fixup type errors due to new Runnable requirements

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

* Add documentation for verifyRunnablesAreDAG

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

* Simplify convertToWithIdWith

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

* Move all utility functions to separate package

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

* Move testing utilities to separate package

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

* Move run-many and run-many-sync to separate package

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

* Replace all internal uses of utilities with new packages

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

* Use new @k8slens/run-many package in core

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

* Add dep to open-lens

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

* Fixup type errors

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

* Fixup uses of @k8slens/test-utils

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

* Fixup getGlobalOverride

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

* Move tests to new package too

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

* Fix type errors

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

* Fixup uses of AsyncResult and autoBind

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

* Fixup remaining import issues

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

* Finial fixups to fix build

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

* Fix lint

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

* Revert moving "testUsingFakeTime" to separate package

- This fixes tests

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

* Fix integration tests

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

* Fix unit test failing due to spelling fix

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

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-03-10 10:07:28 +02:00
..
__tests__ Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
add-separator Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
channel Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
composable-responsibilities Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
composite Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
date Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
find-exactly-one Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
reactive-now Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
resolve-system-proxy Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
sync-box Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
with-error-logging Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
with-error-suppression Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
with-orphan-promise Simplify test setup by removing option for global overrides (#7302) 2023-03-07 12:23:57 -05:00
binary-name.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
bundled-binary-path.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
cluster-id-url-parsing.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
enum.ts Copy detected metadata from cluster to catalog cluster (#7316) 2023-03-09 09:06:43 +02:00
generate-new-id-for.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
get-error-message.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
get-random-id.global-override-for-injectable.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
get-random-id.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
get-startable-stoppable.test.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
get-startable-stoppable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
index.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
open-link-in-browser.global-override-for-injectable.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
open-link-in-browser.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
random-bytes.global-override-for-injectable.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
random-bytes.injectable.ts Fix ensure hashed directory for extension (#7188) 2023-02-21 16:09:03 +02:00
replace-observable-object.ts Cleanup 'Cluster' to remove environment specific details (#6951) 2023-03-10 09:37:39 +02:00
singleton.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
toJS.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
wait-for-path.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00