1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/utility-features/utilities/src
Janne Savolainen 0f1f030a06
Switch to using messaging and startable stoppable from NPM package (#7368)
* Add custom jest resolver to fix requiring "uuid" module

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Update dependencies

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce test utils for rendering and running with thrown mobx reactions

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Extract startable-stoppable to NPM package

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Extract messaging to NPM package

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using startable-stoppable from NPM package

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using messaging from the Feature

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove old implementation of messaging

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make setupping app paths happen earlier in renderer

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix typo

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add kludge to make testing-library work properly from test-utils package

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix code style

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add lint:fix -root script

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix unrelated failing unit tests

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Turn of no-floating-promises from typescript linting for being broken

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make linting not happen for dist -directories

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make linting failures appear as failure

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Stop running prettier twice

It already gets ran as eslint-plugin.

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make CI run unit tests for all packages by consolidating name of NPM script

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add missing unit tests for coverage

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Skip coverage for test utils

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove check for coverage in packages which are not ready for it

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Stop collecting coverage from index.ts files them being indirections to the implementation

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Implement sending message to channel in main

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add missing feature dependencies

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add dummy implementations for requesting in main from renderer

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Re-enable communicating from main to cluster frames

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Ignore trivial files from coverage

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Update package-lock

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Extract message-bridge to separate NPM package to prevent dev dependencies being in the production bundle

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Extract computed channel to own NPM package for clear dependencies

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Consolidate electron related stuff to a directory

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add missing publish configurations

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Ignore test implementation from coverage being not interesting

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

---------

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-03-21 11:38:43 +02:00
..
abort-controller.ts Remove direct dependency on 'abort-controller' package (#7366) 2023-03-17 12:59:57 -04:00
array.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
backoff-caller.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
base64.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
buildUrl.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
camelCase.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
collection-functions.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
computed-or.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
convert-memory.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
convertCpu.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
converted-name.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
convertMemory.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
cssNames.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
cssVar.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
debouncePromise.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
delay.ts Remove direct dependency on 'abort-controller' package (#7366) 2023-03-17 12:59:57 -04:00
display-mode.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
disposer.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
formatDuration.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
formatDuration.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
hash-set.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
hash-set.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
interval.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
is-node-falsy.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
isMiddleClick.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
isReactNode.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
iter.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
iter.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
json.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
jsonPath.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
jsonPath.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
metricUnitsToNumber.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
metricUnitsToNumber.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
name-parts.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
noop.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
object.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
observable-crate.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
observable-crate.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
on-keyboard-shortcut.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
prevDefault.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
readableStream.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
readonly.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
reject-promise.ts Remove direct dependency on 'abort-controller' package (#7366) 2023-03-17 12:59:57 -04:00
result.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
sort-compare.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
sort-function.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
splitArray.test.ts Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
tar.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
tuple.test.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
tuple.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
type-narrowing.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
types.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
union-env-path.test.ts Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
union-env-path.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
wait.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
with-concurrency-limit.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00