1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main
Jari Kolehmainen 97551bb7f0
Allow to import app as a library (#6722)
* unify build fs layout

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use currentApp path for static files

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* lint fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* allow to import open-lens

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* allow to customize both main & renderer

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix compile-library script

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* remove bundled extensions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* similar interface for both main & renderer

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use startApp on both sides

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix startApp import

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix startApp import

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* Fix injection cycle (somehow)

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

* use cwd in download_binaries

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* introduce applicationInformationToken

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* register applicationInformationInjectable in main & renderer

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* allow to define bundled extensions via appStart

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* compile node-fetch automatically via prepare

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* define peerDependencies

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* webpack fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* rename application-information-token.injectable.ts -> application-information-token.ts

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* monaco-editor as externals

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* refactor application-information

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* introduce bundledExtensionInjectionToken

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* mark library exports as experimental

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* move extension npm package files & add release automation

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* add missing build files to package

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix bad merge conflict resolve

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix package.json name

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* allow to set mode via startApp

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* revert unnecessary changes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* webpack: fix extensionOutDir

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* remove unnecessary peerDependencies

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* introduce nodeEnvInjectionToken

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* remove NODE_ENV from environmentVariablesInjectable

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix jest modulePathIgnorePatterns

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix duplicate injectable registration

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix build executableName

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

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>
2022-12-23 13:33:35 +02:00
..
__test__ Fix allowed resources checks on GKE (#6657) 2022-12-20 17:20:27 +02:00
app-paths Unify build fs layout (#6717) 2022-12-12 11:23:45 -05:00
base-store Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
build-version Add better type safety around Channels (#6133) 2022-10-13 07:50:19 -04:00
catalog Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
catalog-sources Make request-api-resources flatter in implementation (#6802) 2022-12-21 16:31:31 +02:00
catalog-sync-to-renderer Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
child-process 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
cluster Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
cluster-detectors Fix distribution detector erroneously depending on previous metadata (#6023) 2022-08-12 09:37:00 +03:00
context-handler Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
create-cluster Make request-api-resources flatter in implementation (#6802) 2022-12-21 16:31:31 +02:00
crypto Fix syncing shell env on TCSH and CSH (#6453) 2022-10-24 11:36:12 -04:00
electron-app Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
extension-loader Massively simplify bundled extension loading (#6787) 2022-12-21 16:46:51 +02:00
helm Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
hotbar-store/migrations Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
ipc Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
k8s Make apiBase not an InjectionToken and make openNodeShellSession not special (#6774) 2022-12-16 16:13:57 -05:00
kube-auth-proxy Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
kubeconfig-manager Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
kubectl Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
lens-proxy Remove spdy support (#6580) 2022-11-17 13:02:47 -05:00
logger Simplify Error.cause logging (#6669) 2022-12-13 03:39:07 -08:00
navigate-to-route Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
navigate-to-url Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
prometheus Fix queries for operator provider metrics (#6679) 2022-12-16 08:48:03 -05:00
protocol-handler Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
resource-applier Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
router Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
routes Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
shell-session Make apiBase not an InjectionToken and make openNodeShellSession not special (#6774) 2022-12-16 16:13:57 -05:00
start-main-application Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
stores Fix kubeconfig-sync sometimes producing multiple identical entities (#5855) 2022-10-03 10:38:41 -04:00
theme Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
tray Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
user-store Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
utils Improve UX for shell env sync failure (#6644) 2022-11-25 04:53:09 -08:00
vars Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
weblinks-store Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
catalog-pusher.ts Fix catalog syncer long delay (#4911) 2022-02-23 06:52:43 +02:00
create-app.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
extension-api.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
get-metrics.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
getDi.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
getDiForUnitTesting.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
index.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
k8s-request.injectable.ts Make request-api-resources flatter in implementation (#6802) 2022-12-21 16:31:31 +02:00
library.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
logger.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
register-injectables.ts Allow to import app as a library (#6722) 2022-12-23 13:33:35 +02:00
stop-services-and-exit-app.injectable.ts Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
stores-apis-can-be-created.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