Skip to content

Commit 3a6eda4

Browse files
evereqadkif
andauthored
Stage (#9404)
* Merge pull request #9403 from ever-co/feat/plugins-migration-to-standalone [Perf] Plugins migration to standalone * chore: desktop builds fixes * chore: more fixes for builds of desktop apps * chore: more fixes for desktop apps --------- Co-authored-by: Kifungo A <45813955+adkif@users.noreply.github.com>
2 parents 2e90d05 + 0e97a2c commit 3a6eda4

File tree

174 files changed

+1697
-954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+1697
-954
lines changed

.cspell.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,9 @@
829829
"zoneinfo",
830830
"Zrdm",
831831
"keychain",
832-
"reencoded"
832+
"reencoded",
833+
"retryable",
834+
"Retryable"
833835
],
834836
"useGitignore": true,
835837
"ignorePaths": [

apps/agent/project.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@
8080
"budgets": [
8181
{
8282
"type": "initial",
83-
"maximumWarning": "20mb",
84-
"maximumError": "40mb"
83+
"maximumWarning": "100mb",
84+
"maximumError": "150mb"
8585
},
8686
{
8787
"type": "anyComponentStyle",
88-
"maximumWarning": "400kb",
89-
"maximumError": "600kb"
88+
"maximumWarning": "1000kb",
89+
"maximumError": "2000kb"
9090
}
9191
],
9292
"outputHashing": "all"
@@ -101,13 +101,13 @@
101101
"budgets": [
102102
{
103103
"type": "initial",
104-
"maximumWarning": "20mb",
105-
"maximumError": "40mb"
104+
"maximumWarning": "100mb",
105+
"maximumError": "150mb"
106106
},
107107
{
108108
"type": "anyComponentStyle",
109-
"maximumWarning": "400kb",
110-
"maximumError": "600kb"
109+
"maximumWarning": "1000kb",
110+
"maximumError": "2000kb"
111111
}
112112
]
113113
}

apps/agent/src/app/app-routing.module.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { NgModule } from '@angular/core';
22
import { ExtraOptions, RouterModule, Routes } from '@angular/router';
33
import {
4-
AboutComponent,
5-
AgentDashboardComponent,
6-
AlwaysOnComponent,
7-
AuthConnectionGuard,
8-
ScreenCaptureComponent,
9-
ServerDownPage,
10-
SettingsComponent,
11-
SetupComponent,
12-
SplashScreenComponent,
13-
UpdaterComponent
4+
AboutComponent,
5+
AgentDashboardComponent,
6+
AlwaysOnComponent,
7+
AuthConnectionGuard,
8+
ScreenCaptureComponent,
9+
ServerDownPage,
10+
SettingsComponent,
11+
SetupComponent,
12+
SplashScreenComponent,
13+
UpdaterComponent
1414
} from '@gauzy/desktop-ui-lib';
1515
import { AppModuleGuard } from './app.module.guards';
1616

@@ -27,7 +27,7 @@ const routes: Routes = [
2727
{
2828
path: 'plugins',
2929
canActivate: [AuthConnectionGuard],
30-
loadChildren: () => import('@gauzy/desktop-ui-lib').then((m) => m.PluginsModule)
30+
loadChildren: () => import('@gauzy/desktop-ui-lib').then((m) => m.PluginRoutingModule)
3131
},
3232
{
3333
path: 'settings',

apps/desktop-api/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"defaultConfiguration": "development",
1212
"options": {
1313
"target": "node",
14-
"compiler": "esbuild",
14+
"compiler": "swc",
1515
"outputPath": "dist/apps/desktop/desktop-api",
1616
"main": "apps/desktop-api/src/main.ts",
1717
"maxWorkers": 8,

apps/desktop-timer/project.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@
8181
"budgets": [
8282
{
8383
"type": "initial",
84-
"maximumWarning": "45mb",
85-
"maximumError": "50mb"
84+
"maximumWarning": "100mb",
85+
"maximumError": "150mb"
8686
},
8787
{
8888
"type": "anyComponentStyle",
89-
"maximumWarning": "400kb",
90-
"maximumError": "600kb"
89+
"maximumWarning": "1000kb",
90+
"maximumError": "2000kb"
9191
}
9292
],
9393
"outputHashing": "all",
@@ -103,13 +103,13 @@
103103
"budgets": [
104104
{
105105
"type": "initial",
106-
"maximumWarning": "45mb",
107-
"maximumError": "50mb"
106+
"maximumWarning": "100mb",
107+
"maximumError": "150mb"
108108
},
109109
{
110110
"type": "anyComponentStyle",
111-
"maximumWarning": "400kb",
112-
"maximumError": "600kb"
111+
"maximumWarning": "1000kb",
112+
"maximumError": "2000kb"
113113
}
114114
]
115115
}

apps/desktop-timer/src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const routes: Routes = [
4949
{
5050
path: 'plugins',
5151
canActivate: [AuthConnectionGuard],
52-
loadChildren: () => import('@gauzy/desktop-ui-lib').then((m) => m.PluginsModule)
52+
loadChildren: () => import('@gauzy/desktop-ui-lib').then((m) => m.PluginRoutingModule)
5353
},
5454
{
5555
path: 'updater',

apps/desktop/project.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@
7474
"budgets": [
7575
{
7676
"type": "initial",
77-
"maximumWarning": "45mb",
78-
"maximumError": "50mb"
77+
"maximumWarning": "100mb",
78+
"maximumError": "150mb"
7979
},
8080
{
8181
"type": "anyComponentStyle",
82-
"maximumWarning": "400kb",
83-
"maximumError": "600kb"
82+
"maximumWarning": "1000kb",
83+
"maximumError": "2000kb"
8484
}
8585
],
8686
"outputHashing": "all"
@@ -95,13 +95,13 @@
9595
"budgets": [
9696
{
9797
"type": "initial",
98-
"maximumWarning": "45mb",
99-
"maximumError": "50mb"
98+
"maximumWarning": "100mb",
99+
"maximumError": "150mb"
100100
},
101101
{
102102
"type": "anyComponentStyle",
103-
"maximumWarning": "400kb",
104-
"maximumError": "600kb"
103+
"maximumWarning": "1000kb",
104+
"maximumError": "2000kb"
105105
}
106106
]
107107
}

apps/desktop/src/app/app-routing.module.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { NgModule } from '@angular/core';
22
import { ExtraOptions, RouterModule, Routes } from '@angular/router';
33
import {
4-
AboutComponent,
5-
AlwaysOnComponent,
6-
AuthConnectionGuard,
7-
ImageViewerComponent,
8-
ScreenCaptureComponent,
9-
SettingsComponent,
10-
SetupComponent,
11-
SplashScreenComponent,
12-
TimeTrackerComponent,
13-
UpdaterComponent
4+
AboutComponent,
5+
AlwaysOnComponent,
6+
AuthConnectionGuard,
7+
ImageViewerComponent,
8+
ScreenCaptureComponent,
9+
SettingsComponent,
10+
SetupComponent,
11+
SplashScreenComponent,
12+
TimeTrackerComponent,
13+
UpdaterComponent
1414
} from '@gauzy/desktop-ui-lib';
1515

1616
const routes: Routes = [
@@ -34,7 +34,7 @@ const routes: Routes = [
3434
{
3535
path: 'plugins',
3636
canActivate: [AuthConnectionGuard],
37-
loadChildren: () => import('@gauzy/desktop-ui-lib').then((m) => m.PluginsModule)
37+
loadChildren: () => import('@gauzy/desktop-ui-lib').then((m) => m.PluginRoutingModule)
3838
},
3939
{
4040
path: 'settings',
109 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)