1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src/common
Juho Heikka d8acff67d1
Fix ensure hashed directory for extension (#7188)
* Fix ensure hashed directory for extension

Earlier open lens versions stored extension_data directory based on
path of extension's package.json. This causes problems
because extensions have moved to new location. This ensures
backward compatibility that extension will get the same
directory than before the change.

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Reconstruct the key for old hashed directories

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Remove unnecessary return

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Use sync version of random bytes

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Add migration to new type of key

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Fix global override for random bytes to not return a promise

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Make registeredExtensions a dependency

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

---------

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-02-21 16:09:03 +02:00
..
__tests__ Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
app-event-bus Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
app-paths Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
base-store Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
catalog Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
catalog-entities Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
certificate Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
cluster Add more resiliancy to listing kube API resource kinds (#6995) 2023-01-25 10:30:18 -05:00
cluster-store Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
directory-for-lens-local-storage Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
error-reporting Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
fetch Move node-fetch to separate package (#7009) 2023-01-25 17:13:41 +02:00
front-end-routing Replication Controllers (new resource view) (#7154) 2023-02-16 07:48:24 -05:00
fs Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
get-configuration-file-model Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
helm Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
hotbars Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
initializable-state Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
ipc Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
k8s Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
k8s-api Export requestMetrics to extension api (#7167) 2023-02-17 09:19:44 -05:00
kube-helpers Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
logger Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
os Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
path Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
protocol-handler Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
root-frame Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
runnable Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
terminal Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
test-utils Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
user-store Fix typing issue with userStorePreferenceDescriptorsInjectable (#7144) 2023-02-13 10:57:10 -05:00
utils Fix ensure hashed directory for extension (#7188) 2023-02-21 16:09:03 +02:00
vars Fix @k8slens/extensions being broken after monorepo (#7058) 2023-01-30 16:32:30 -05:00
weblinks-store Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
.gitkeep Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
cluster-frames.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
cluster-frames.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
cluster-types.ts Add more resiliancy to listing kube API resource kinds (#6995) 2023-01-25 10:30:18 -05:00
event-emitter.ts Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
item.store.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
kube-helpers.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
library.ts fix common extension api bundling (#7099) 2023-02-03 15:15:08 +02:00
log-error.global-override-for-injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
log-error.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
logger.global-override-for-injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
logger.injectable.ts Renderer file logging transport (#6795) 2023-02-08 05:50:22 -05:00
logger.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
rbac.ts Replication Controllers (new resource view) (#7154) 2023-02-16 07:48:24 -05:00
vars.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
winston-logger.injectable.ts Renderer file logging transport (#6795) 2023-02-08 05:50:22 -05:00