1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
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
.github Fix release process in light of changing to independent versioning (#7357) 2023-03-14 14:56:53 -04:00
.idea New resource view: Network -> Ingress Classes (#6808) 2023-01-05 13:26:04 -05:00
.vscode Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
docs Remove all references to slack (#7233) 2023-02-24 17:04:15 -05:00
jsonnet/lens fix jsonnet error with kube-prometheus >= v0.8 (#5687) 2022-10-19 10:17:07 -04:00
mkdocs Re-enable strict mode in docs vlidation. Bump mkdocs-material version (#3073) 2021-06-16 15:51:36 +01:00
packages Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
troubleshooting fix jsonnet error with kube-prometheus >= v0.8 (#5687) 2022-10-19 10:17:07 -04:00
.adr.json Initialize a cli-tool to maintain Architectural Decision Records and create initial ADR (#5712) 2022-08-10 14:36:26 +03:00
.gitignore Add package for sharing webpack configurations for upcoming Features (#7199) 2023-02-22 12:28:07 +02:00
.npmrc Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
CODE_OF_CONDUCT.md Add contributing/development pages (#1480) 2020-11-23 11:37:30 +02:00
CONTRIBUTING.md Update all links within application (#6442) 2022-10-21 16:34:58 -04:00
jest.config.js Add package for sharing jest configuration for upcoming Features (#7198) 2023-02-22 11:19:16 +02:00
lerna.json Release 6.5.0-alpha.1 (#7345) 2023-03-14 11:40:35 -04:00
LICENSE Update copyright to 2022 (#5624) 2022-06-14 11:22:38 -04:00
license-header Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
mkdocs.yml Remove all references to slack (#7233) 2023-02-24 17:04:15 -05:00
nx.json Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
package-lock.json Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
package.json Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
README.md Update link in README (#7314) 2023-03-08 15:45:50 -05:00
RELEASE_GUIDE.md Add note about major version bumps in release guide (#7382) 2023-03-20 10:54:31 -04:00
SECURITY.md Add security policy (#2387) 2021-03-25 17:19:45 +02:00
tsconfig.json Move downloading binaries to new package (#7033) 2023-01-27 09:48:33 -05:00

Lens Desktop Core ("OpenLens")

Build Status Explore our Forums

The Repository

This repository is where Team Lens develops the core of the Lens Desktop product together with the community.

The core is a library, powered by Electron and React. Unlike generic Electron + React frameworks / boilerplates, it is very opinionated for creating Lens Desktop-like applications and has support for Lens Extensions.

In the future, this library will be streamlined to become more customizable and pluggable with easy to use tooling for Lens Extension developers.

This source code is available to everyone under the MIT license.

Lens Desktop

Lens Desktop is built on top of the Lens Desktop Core with Team Lens built extensions released under a traditional Terms Of Service.

Lens Desktop is a standalone application for MacOS, Windows and Linux operating systems. Get started by downloading it from Lens website.

Screenshot

Development

See Development page.

Contributing

See Contributing page.

License

See License.