@xwiki/cristal-electron-main 0.15.0 → 0.16.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.15.0",
3
+ "version": "0.16.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -13,17 +13,19 @@
13
13
  "url": "https://jira.xwiki.org/projects/CRISTAL/"
14
14
  },
15
15
  "dependencies": {
16
- "electron": "34.0.2",
17
- "@xwiki/cristal-browser-electron": "0.15.0",
18
- "@xwiki/cristal-configuration-electron-main": "0.15.0",
19
- "@xwiki/cristal-electron-authentication-xwiki-main": "0.15.0",
20
- "@xwiki/cristal-electron-storage": "0.15.0",
21
- "@xwiki/cristal-electron-authentication-github-main": "0.15.0"
16
+ "electron": "35.0.1",
17
+ "reflect-metadata": "0.2.2",
18
+ "@xwiki/cristal-browser-electron": "0.16.0",
19
+ "@xwiki/cristal-electron-authentication-github-main": "0.16.0",
20
+ "@xwiki/cristal-configuration-electron-main": "0.16.0",
21
+ "@xwiki/cristal-electron-authentication-xwiki-main": "0.16.0",
22
+ "@xwiki/cristal-electron-authentication-nextcloud-main": "0.16.0",
23
+ "@xwiki/cristal-electron-storage": "0.16.0"
22
24
  },
23
25
  "devDependencies": {
24
- "@types/node": "22.13.1",
25
- "typescript": "5.7.3",
26
- "vite": "6.1.0"
26
+ "@types/node": "22.13.10",
27
+ "typescript": "5.8.2",
28
+ "vite": "6.2.2"
27
29
  },
28
30
  "scripts": {
29
31
  "build": "tsc --project tsconfig.json && vite build",
package/src/index.ts CHANGED
@@ -18,6 +18,7 @@
18
18
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
19
  */
20
20
 
21
+ import "reflect-metadata";
21
22
  import { restoreOrCreateWindow } from "./mainWindow";
22
23
  import { loadFile } from "./reload";
23
24
  import "./security-restrictions";
@@ -25,6 +26,7 @@ import "./security-restrictions";
25
26
  import loadBrowser from "@xwiki/cristal-browser-electron/main";
26
27
  import { load as loadConfiguration } from "@xwiki/cristal-configuration-electron-main";
27
28
  import { load as loadGitHubAuthentication } from "@xwiki/cristal-electron-authentication-github-main";
29
+ import { load as loadNextcloudAuthentication } from "@xwiki/cristal-electron-authentication-nextcloud-main";
28
30
  import { load as loadXWikiAuthentication } from "@xwiki/cristal-electron-authentication-xwiki-main";
29
31
  // @ts-expect-error shouldn't happen, but we need to generate the types for the whole project once.
30
32
  import load from "@xwiki/cristal-electron-storage/main";
@@ -74,6 +76,7 @@ app
74
76
  restoreOrCreateWindow().then((w) => {
75
77
  loadBrowser(w);
76
78
  loadGitHubAuthentication(w, loadFile);
79
+ loadNextcloudAuthentication(w, loadFile);
77
80
  loadXWikiAuthentication(w, loadFile);
78
81
  });
79
82
  /**