@xwiki/cristal-electron-main 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-electron-main",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -13,19 +13,19 @@
13
13
  "url": "https://jira.xwiki.org/projects/CRISTAL/"
14
14
  },
15
15
  "dependencies": {
16
- "electron": "37.1.0",
16
+ "electron": "37.2.5",
17
17
  "reflect-metadata": "0.2.2",
18
- "@xwiki/cristal-electron-settings-main": "0.20.0",
19
- "@xwiki/cristal-electron-storage": "0.20.0",
20
- "@xwiki/cristal-browser-electron": "0.20.0",
21
- "@xwiki/cristal-electron-authentication-nextcloud-main": "0.20.0",
22
- "@xwiki/cristal-electron-authentication-github-main": "0.20.0",
23
- "@xwiki/cristal-electron-authentication-xwiki-main": "0.20.0"
18
+ "@xwiki/cristal-browser-electron": "0.21.0",
19
+ "@xwiki/cristal-electron-settings-main": "0.21.0",
20
+ "@xwiki/cristal-electron-storage": "0.21.0",
21
+ "@xwiki/cristal-electron-authentication-xwiki-main": "0.21.0",
22
+ "@xwiki/cristal-electron-authentication-github-main": "0.21.0",
23
+ "@xwiki/cristal-electron-authentication-nextcloud-main": "0.21.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "22.15.32",
27
- "typescript": "5.8.3",
28
- "vite": "7.0.0"
26
+ "@types/node": "22.17.0",
27
+ "typescript": "5.9.2",
28
+ "vite": "7.0.6"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "tsc --project tsconfig.json && vite build",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * See the LICENSE file distributed with this work for additional
3
3
  * information regarding copyright ownership.
4
4
  *
@@ -67,15 +67,16 @@ if (process.env.NODE_ENV !== "development") {
67
67
  */
68
68
  app
69
69
  .whenReady()
70
+ // eslint-disable-next-line promise/always-return
70
71
  .then(async () => {
71
72
  await load();
72
- restoreOrCreateWindow().then((w) => {
73
- loadBrowser(w);
74
- loadGitHubAuthentication(w, loadFile);
75
- loadNextcloudAuthentication(w, loadFile);
76
- loadXWikiAuthentication(w, loadFile);
77
- loadSettings();
78
- });
73
+ const w = await restoreOrCreateWindow();
74
+ loadBrowser(w);
75
+ loadGitHubAuthentication(w, loadFile);
76
+ loadNextcloudAuthentication(w, loadFile);
77
+ loadXWikiAuthentication(w, loadFile);
78
+ loadSettings();
79
+
79
80
  /**
80
81
  * @see https://www.electronjs.org/docs/latest/api/app#event-activate-macos Event: 'activate'.
81
82
  */
package/src/mainWindow.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * See the LICENSE file distributed with this work for additional
3
3
  * information regarding copyright ownership.
4
4
  *
package/src/menu.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * See the LICENSE file distributed with this work for additional
3
3
  * information regarding copyright ownership.
4
4
  *
package/src/reload.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * See the LICENSE file distributed with this work for additional
3
3
  * information regarding copyright ownership.
4
4
  *
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * See the LICENSE file distributed with this work for additional
3
3
  * information regarding copyright ownership.
4
4
  *
package/vite.config.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * See the LICENSE file distributed with this work for additional
3
3
  * information regarding copyright ownership.
4
4
  *