diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-05-25 18:40:23 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-05-26 15:49:18 +0200 |
commit | 8484d3262dfb4fedd8b83f65d053bc21e455008d (patch) | |
tree | 9020f95a13ddf11863b0541619dd57ca3f511104 /packages/shared/src/index.ts | |
parent | chore(deps): bump dependencies (diff) | |
download | sophie-8484d3262dfb4fedd8b83f65d053bc21e455008d.tar.gz sophie-8484d3262dfb4fedd8b83f65d053bc21e455008d.tar.zst sophie-8484d3262dfb4fedd8b83f65d053bc21e455008d.zip |
chore: use node16 moduleResolution where possible
We can't do this in the renderer package, because we need to import MUI
files that are not exported (MUI v6 is not ESM yet).
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/shared/src/index.ts')
-rw-r--r-- | packages/shared/src/index.ts | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index b1d05f8..2e06234 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts | |||
@@ -18,71 +18,71 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | export type { default as SophieRenderer } from './contextBridge/SophieRenderer'; | 21 | export type { default as SophieRenderer } from './contextBridge/SophieRenderer.js'; |
22 | 22 | ||
23 | export { MainToRendererIpcMessage, RendererToMainIpcMessage } from './ipc'; | 23 | export { MainToRendererIpcMessage, RendererToMainIpcMessage } from './ipc.js'; |
24 | 24 | ||
25 | export { Action } from './schemas/Action'; | 25 | export { Action } from './schemas/Action.js'; |
26 | 26 | ||
27 | export { BrowserViewBounds } from './schemas/BrowserViewBounds'; | 27 | export { BrowserViewBounds } from './schemas/BrowserViewBounds.js'; |
28 | 28 | ||
29 | export { ServiceAction } from './schemas/ServiceAction'; | 29 | export { ServiceAction } from './schemas/ServiceAction.js'; |
30 | 30 | ||
31 | export { ThemeSource } from './schemas/ThemeSource'; | 31 | export { ThemeSource } from './schemas/ThemeSource.js'; |
32 | 32 | ||
33 | export { Translation } from './schemas/Translation'; | 33 | export { Translation } from './schemas/Translation.js'; |
34 | 34 | ||
35 | export type { | 35 | export type { |
36 | CertificatePrincipal, | 36 | CertificatePrincipal, |
37 | CertificateSnapshotIn, | 37 | CertificateSnapshotIn, |
38 | } from './stores/Certificate'; | 38 | } from './stores/Certificate.js'; |
39 | export { default as Certificate } from './stores/Certificate'; | 39 | export { default as Certificate } from './stores/Certificate.js'; |
40 | 40 | ||
41 | export type { | 41 | export type { |
42 | GlobalSettingsSnapshotIn, | 42 | GlobalSettingsSnapshotIn, |
43 | GlobalSettingsSnapshotOut, | 43 | GlobalSettingsSnapshotOut, |
44 | } from './stores/GlobalSettingsBase'; | 44 | } from './stores/GlobalSettingsBase.js'; |
45 | export { | 45 | export { |
46 | default as GlobalSettingsBase, | 46 | default as GlobalSettingsBase, |
47 | defineGlobalSettingsModel, | 47 | defineGlobalSettingsModel, |
48 | SYSTEM_LOCALE, | 48 | SYSTEM_LOCALE, |
49 | } from './stores/GlobalSettingsBase'; | 49 | } from './stores/GlobalSettingsBase.js'; |
50 | 50 | ||
51 | export { default as Profile } from './stores/Profile'; | 51 | export { default as Profile } from './stores/Profile.js'; |
52 | 52 | ||
53 | export type { | 53 | export type { |
54 | ProfileSettingsSnapshotIn, | 54 | ProfileSettingsSnapshotIn, |
55 | ProfileSettingsSnapshotOut, | 55 | ProfileSettingsSnapshotOut, |
56 | } from './stores/ProfileSettings'; | 56 | } from './stores/ProfileSettings.js'; |
57 | export { default as ProfileSettings } from './stores/ProfileSettings'; | 57 | export { default as ProfileSettings } from './stores/ProfileSettings.js'; |
58 | 58 | ||
59 | export { | 59 | export { |
60 | default as ServiceBase, | 60 | default as ServiceBase, |
61 | defineServiceModel, | 61 | defineServiceModel, |
62 | SecurityLabelKind, | 62 | SecurityLabelKind, |
63 | } from './stores/ServiceBase'; | 63 | } from './stores/ServiceBase.js'; |
64 | 64 | ||
65 | export type { | 65 | export type { |
66 | ServiceSettingsSnapshotIn, | 66 | ServiceSettingsSnapshotIn, |
67 | ServiceSettingsSnapshotOut, | 67 | ServiceSettingsSnapshotOut, |
68 | } from './stores/ServiceSettingsBase'; | 68 | } from './stores/ServiceSettingsBase.js'; |
69 | export { | 69 | export { |
70 | default as ServiceSettingsBase, | 70 | default as ServiceSettingsBase, |
71 | defineServiceSettingsModel, | 71 | defineServiceSettingsModel, |
72 | } from './stores/ServiceSettingsBase'; | 72 | } from './stores/ServiceSettingsBase.js'; |
73 | 73 | ||
74 | export type { ServiceStateSnapshotIn } from './stores/ServiceState'; | 74 | export type { ServiceStateSnapshotIn } from './stores/ServiceState.js'; |
75 | export { default as ServiceState } from './stores/ServiceState'; | 75 | export { default as ServiceState } from './stores/ServiceState.js'; |
76 | 76 | ||
77 | export type { | 77 | export type { |
78 | SharedStoreListener, | 78 | SharedStoreListener, |
79 | SharedStoreSnapshotIn, | 79 | SharedStoreSnapshotIn, |
80 | SharedStoreSnapshotOut, | 80 | SharedStoreSnapshotOut, |
81 | } from './stores/SharedStoreBase'; | 81 | } from './stores/SharedStoreBase.js'; |
82 | export { | 82 | export { |
83 | default as SharedStoreBase, | 83 | default as SharedStoreBase, |
84 | defineSharedStoreModel, | 84 | defineSharedStoreModel, |
85 | FALLBACK_LOCALE, | 85 | FALLBACK_LOCALE, |
86 | } from './stores/SharedStoreBase'; | 86 | } from './stores/SharedStoreBase.js'; |
87 | 87 | ||
88 | export { default as WritingDirection } from './stores/WritingDirection'; | 88 | export { default as WritingDirection } from './stores/WritingDirection.js'; |