mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
update electron app deps
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
149d31ed4d
commit
3154ec6c56
@ -134,7 +134,7 @@
|
|||||||
"electron-updater": "^4.1.2",
|
"electron-updater": "^4.1.2",
|
||||||
"electron-window-state": "^5.0.3",
|
"electron-window-state": "^5.0.3",
|
||||||
"filenamify": "^4.1.0",
|
"filenamify": "^4.1.0",
|
||||||
"handlebars": "4.1.2",
|
"handlebars": "^4.5.3",
|
||||||
"http-proxy": "^1.17.0",
|
"http-proxy": "^1.17.0",
|
||||||
"https-proxy-agent": "^3.0.1",
|
"https-proxy-agent": "^3.0.1",
|
||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "^8.5.1",
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
import * as ElectronStore from "electron-store"
|
import * as ElectronStore from "electron-store"
|
||||||
import { Cluster, ClusterBaseInfo } from "../main/cluster";
|
import { Cluster, ClusterBaseInfo } from "../main/cluster";
|
||||||
import { getAppVersion } from "./app-utils"
|
|
||||||
import * as version200Beta2 from "./migrations/cluster-store/2.0.0-beta.2"
|
import * as version200Beta2 from "./migrations/cluster-store/2.0.0-beta.2"
|
||||||
import * as version241 from "./migrations/cluster-store/2.4.1"
|
import * as version241 from "./migrations/cluster-store/2.4.1"
|
||||||
import * as version260Beta2 from "./migrations/cluster-store/2.6.0-beta.2"
|
import * as version260Beta2 from "./migrations/cluster-store/2.6.0-beta.2"
|
||||||
@ -15,7 +14,6 @@ export class ClusterStore {
|
|||||||
private constructor() {
|
private constructor() {
|
||||||
this.store = new ElectronStore({
|
this.store = new ElectronStore({
|
||||||
name: "lens-cluster-store",
|
name: "lens-cluster-store",
|
||||||
projectVersion: getAppVersion(),
|
|
||||||
accessPropertiesByDotNotation: false, // To make dots safe in cluster context names
|
accessPropertiesByDotNotation: false, // To make dots safe in cluster context names
|
||||||
migrations: {
|
migrations: {
|
||||||
"2.0.0-beta.2": version200Beta2.migration,
|
"2.0.0-beta.2": version200Beta2.migration,
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
import * as ElectronStore from "electron-store"
|
import * as ElectronStore from "electron-store"
|
||||||
import * as appUtil from "./app-utils"
|
|
||||||
import * as version210Beta4 from "./migrations/user-store/2.1.0-beta.4"
|
import * as version210Beta4 from "./migrations/user-store/2.1.0-beta.4"
|
||||||
|
|
||||||
export interface User {
|
export interface User {
|
||||||
@ -33,7 +32,6 @@ export class UserStore {
|
|||||||
|
|
||||||
private constructor() {
|
private constructor() {
|
||||||
this.store = new ElectronStore({
|
this.store = new ElectronStore({
|
||||||
projectVersion: appUtil.getAppVersion(),
|
|
||||||
migrations: {
|
migrations: {
|
||||||
"2.1.0-beta.4": version210Beta4.migration,
|
"2.1.0-beta.4": version210Beta4.migration,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user