Skip to content

Release #8693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 3, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ import { IContentGenerator } from '../interfaces/i-content-generator';
import { IDesktopEnvironment } from '../interfaces/i-desktop-environment';

export class DesktopApiServerEnvironmentContent implements IContentGenerator {
/**
* Generates a string template based on the provided API server environment variables.
* If a specific API server variable is not available, it falls back to a generic one.
*
* @param {Partial<IDesktopEnvironment>} variable - A partial object containing environment variables.
* @returns {string} A string representation of the API server environment configuration.
*
* @example
* const environment = {
* DESKTOP_API_SERVER_APP_NAME: 'API Server App',
* NAME: 'Default App',
* };
* const result = generate(environment);
* console.log(result);
*/
public generate(variable: Partial<IDesktopEnvironment>): string {
return `
NAME: '${variable.DESKTOP_API_SERVER_APP_NAME || variable.NAME}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ import { IContentGenerator } from '../interfaces/i-content-generator';
import { IDesktopEnvironment } from '../interfaces/i-desktop-environment';

export class DesktopEnvironmentContent implements IContentGenerator {
/**
* Generates a string template based on the provided desktop application environment variables.
* If a specific desktop variable is not available, it falls back to a generic one.
*
* @param {Partial<IDesktopEnvironment>} variable - A partial object containing environment variables.
* @returns {string} A string representation of the desktop environment configuration.
*
* @example
* const environment = {
* DESKTOP_APP_NAME: 'Desktop App',
* NAME: 'Default App',
* };
* const result = generate(environment);
* console.log(result);
*/
public generate(variable: Partial<IDesktopEnvironment>): string {
return `
NAME: '${variable.DESKTOP_APP_NAME || variable.NAME}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ import { IContentGenerator } from '../interfaces/i-content-generator';
import { IDesktopEnvironment } from '../interfaces/i-desktop-environment';

export class DesktopServerEnvironmentContent implements IContentGenerator {
/**
* Generates a string template based on the provided server environment variables.
* If a specific server variable is not available, it falls back to a generic one.
*
* @param {Partial<IDesktopEnvironment>} variable - A partial object containing environment variables.
* @returns {string} A string representation of the server environment configuration.
*
* @example
* const environment = {
* DESKTOP_SERVER_APP_NAME: 'Server App',
* NAME: 'Default App',
* };
* const result = generate(environment);
* console.log(result);
*/
public generate(variable: Partial<IDesktopEnvironment>): string {
return `
NAME: '${variable.DESKTOP_SERVER_APP_NAME || variable.NAME}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ import { IContentGenerator } from '../interfaces/i-content-generator';
import { IDesktopEnvironment } from '../interfaces/i-desktop-environment';

export class DesktopTimerEnvironmentContent implements IContentGenerator {
/**
* Generates a string template based on the provided desktop environment variables.
* If a specific desktop variable is not available, it falls back to a generic one.
*
* @param {Partial<IDesktopEnvironment>} variable - A partial object containing environment variables.
* @returns {string} A string representation of the desktop environment configuration.
*
* @example
* const environment = {
* DESKTOP_TIMER_APP_NAME: 'Timer App',
* NAME: 'Default App',
* };
* const result = generate(environment);
* console.log(result);
*/
public generate(variable: Partial<IDesktopEnvironment>): string {
return `
NAME: '${variable.DESKTOP_TIMER_APP_NAME || variable.NAME}',
Expand Down
5 changes: 3 additions & 2 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@
"yargs": "^17.5.0"
},
"devDependencies": {
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.7",
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"nodemon": "^3.1.0",
"pm2": "^5.3.1",
"ts-node": "^10.9.2",
Expand Down
6 changes: 3 additions & 3 deletions apps/desktop-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"@grpc/grpc-js": "^1.6.7",
"@mikro-orm/core": "^6.2.3",
"@mikro-orm/nestjs": "^5.2.3",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/common": "^10.4.15",
"@nestjs/core": "^10.4.15",
"@nestjs/typeorm": "^10.0.2",
"@gauzy/plugin-integration-wakatime": "^0.1.0"
},
"devDependencies": {
"@nestjs/testing": "^10.3.7",
"@nestjs/testing": "^10.4.15",
"@types/node": "^20.14.9"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop-timer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"electron-store": "^8.1.0",
"electron-updater": "^6.1.7",
"electron-util": "^0.18.1",
"express": "^4.18.2",
"express": "^4.21.2",
"locutus": "^2.0.30",
"moment": "^2.30.1",
"moment-duration-format": "^2.3.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"@gauzy/plugin-sentry": "file:../../../dist/packages/plugins/sentry-tracing",
"@gauzy/plugin-videos": "file:../../../dist/packages/plugins/videos",
"@gauzy/ui-config": "file:../../../dist/packages/ui-config",
"@nestjs/platform-express": "^10.3.7",
"@nestjs/platform-express": "^10.4.15",
"@sentry/electron": "^4.18.0",
"@sentry/node": "^7.101.1",
"@sentry/profiling-node": "^7.101.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/gauzy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@gauzy/plugin-maintenance-ui": "^0.1.0",
"@gauzy/plugin-onboarding-ui": "^0.1.0",
"@gauzy/plugin-public-layout-ui": "^0.1.0",
"@jitsu/js": "^1.9.10",
"@jitsu/js": "^1.9.12",
"@kurkle/color": "^0.3.2",
"@nebular/auth": "^14.0.2",
"@nebular/bootstrap": "^9.1.0-rc.6",
Expand Down
36 changes: 18 additions & 18 deletions apps/server-api/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@
"@gauzy/plugin-sentry": "file:../../../dist/packages/plugins/sentry-tracing",
"@gauzy/plugin-videos": "file:../../../dist/packages/plugins/videos",
"@gauzy/ui-config": "file:../../../dist/packages/ui-config",
"@nestjs/platform-express": "^10.3.7",
"@sentry/electron": "^4.18.0",
"@sentry/node": "^7.101.1",
"@sentry/profiling-node": "^7.101.1",
Expand Down Expand Up @@ -226,24 +225,25 @@
"@mikro-orm/mysql": "^6.2.3",
"@mikro-orm/nestjs": "^5.2.3",
"@mikro-orm/postgresql": "^6.2.3",
"@nestjs/apollo": "^12.1.0",
"@nestjs/axios": "^3.0.2",
"@nestjs/cache-manager": "^2.2.1",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/cqrs": "^10.2.7",
"@nestjs/graphql": "^12.1.1",
"@nestjs/apollo": "^12.2.2",
"@nestjs/axios": "^3.1.3",
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.4.15",
"@nestjs/core": "^10.4.15",
"@nestjs/cqrs": "^10.2.8",
"@nestjs/graphql": "^12.2.2",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "^2.0.5",
"@nestjs/microservices": "^10.3.7",
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/microservices": "^10.4.15",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-socket.io": "^10.3.7",
"@nestjs/serve-static": "^4.0.1",
"@nestjs/swagger": "^7.3.0",
"@nestjs/platform-express": "^10.4.15",
"@nestjs/platform-socket.io": "^10.4.15",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/swagger": "^8.1.0",
"@nestjs/terminus": "^10.2.3",
"@nestjs/throttler": "^5.1.2",
"@nestjs/throttler": "^6.3.0",
"@nestjs/typeorm": "^10.0.2",
"@nestjs/websockets": "^10.3.7",
"@nestjs/websockets": "^10.4.15",
"@nestjsx/crud": "^5.0.0-alpha.3",
"@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
"@opentelemetry/api": "^1.4.1",
Expand Down Expand Up @@ -274,8 +274,8 @@
"date-fns": "^2.28.0",
"dotenv": "^16.0.3",
"email-templates": "^8.0.8",
"express": "^4.18.2",
"express-session": "^1.17.3",
"express": "^4.21.2",
"express-session": "^1.18.1",
"fast-json-stringify": "^2.4.1",
"fastify-swagger": "^4.12.4",
"fs-extra": "^10.1.0",
Expand Down Expand Up @@ -340,7 +340,7 @@
"@octokit/rest": "^20.0.2",
"upwork-api": "^1.3.8",
"html-to-text": "^9.0.5",
"@jitsu/js": "^1.8.2"
"@jitsu/js": "^1.9.12"
},
"optionalDependencies": {
"node-linux": "^0.1.12",
Expand Down
36 changes: 18 additions & 18 deletions apps/server/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@
"@gauzy/plugin-sentry": "file:../../../dist/packages/plugins/sentry-tracing",
"@gauzy/plugin-videos": "file:../../../dist/packages/plugins/videos",
"@gauzy/ui-config": "file:../../../dist/packages/ui-config",
"@nestjs/platform-express": "^10.3.7",
"@sentry/electron": "^4.18.0",
"@sentry/node": "^7.101.1",
"@sentry/profiling-node": "^7.101.1",
Expand Down Expand Up @@ -226,24 +225,25 @@
"@mikro-orm/mysql": "^6.2.3",
"@mikro-orm/nestjs": "^5.2.3",
"@mikro-orm/postgresql": "^6.2.3",
"@nestjs/apollo": "^12.1.0",
"@nestjs/axios": "^3.0.2",
"@nestjs/cache-manager": "^2.2.1",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/cqrs": "^10.2.7",
"@nestjs/graphql": "^12.1.1",
"@nestjs/apollo": "^12.2.2",
"@nestjs/axios": "^3.1.3",
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.4.15",
"@nestjs/core": "^10.4.15",
"@nestjs/cqrs": "^10.2.8",
"@nestjs/graphql": "^12.2.2",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "^2.0.5",
"@nestjs/microservices": "^10.3.7",
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/microservices": "^10.4.15",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-socket.io": "^10.3.7",
"@nestjs/serve-static": "^4.0.1",
"@nestjs/swagger": "^7.3.0",
"@nestjs/platform-express": "^10.4.15",
"@nestjs/platform-socket.io": "^10.4.15",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/swagger": "^8.1.0",
"@nestjs/terminus": "^10.2.3",
"@nestjs/throttler": "^5.1.2",
"@nestjs/throttler": "^6.3.0",
"@nestjs/typeorm": "^10.0.2",
"@nestjs/websockets": "^10.3.7",
"@nestjs/websockets": "^10.4.15",
"@nestjsx/crud": "^5.0.0-alpha.3",
"@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
"@opentelemetry/api": "^1.4.1",
Expand Down Expand Up @@ -274,8 +274,8 @@
"date-fns": "^2.28.0",
"dotenv": "^16.0.3",
"email-templates": "^8.0.8",
"express": "^4.18.2",
"express-session": "^1.17.3",
"express": "^4.21.2",
"express-session": "^1.18.1",
"fast-json-stringify": "^2.4.1",
"fastify-swagger": "^4.12.4",
"fs-extra": "^10.1.0",
Expand Down Expand Up @@ -340,7 +340,7 @@
"@octokit/rest": "^20.0.2",
"upwork-api": "^1.3.8",
"html-to-text": "^9.0.5",
"@jitsu/js": "^1.8.2"
"@jitsu/js": "^1.9.12"
},
"optionalDependencies": {
"node-linux": "^0.1.12",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,10 @@
"@nebular/eva-icons": "^14.0.2",
"@nebular/security": "^14.0.2",
"@nebular/theme": "^14.0.2",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/mapped-types": "^2.0.5",
"@nestjs/platform-express": "^10.3.7",
"@nestjs/common": "^10.4.15",
"@nestjs/core": "^10.4.15",
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/platform-express": "^10.4.15",
"@ng-select/ng-select": "^13.9.0",
"angular2-smart-table": "^3.4.0",
"autoprefixer": "^10.4.20",
Expand Down Expand Up @@ -438,8 +438,8 @@
"@compodoc/compodoc": "^1.1.19",
"@cypress/browserify-preprocessor": "^3.0.2",
"@electron/remote": "^2.0.8",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.7",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"@nstudio/angular": "^20.0.3",
"@nstudio/electron": "^20.0.3",
"@nstudio/electron-angular": "^20.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"@gauzy/common": "^0.1.0",
"@gauzy/config": "^0.1.0",
"@gauzy/contracts": "^0.1.0",
"@nestjs/axios": "^3.0.2",
"@nestjs/common": "^10.3.7",
"@nestjs/axios": "^3.1.3",
"@nestjs/common": "^10.4.15",
"@nestjs/config": "^3.2.0",
"@nestjs/passport": "^10.0.3",
"axios": "^1.7.4",
"bcrypt": "^5.1.1",
"express": "^4.18.2",
"express": "^4.21.2",
"passport": "^0.6.0",
"passport-auth0": "^1.3.3",
"passport-facebook": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"dependencies": {
"@gauzy/contracts": "^0.1.0",
"@mikro-orm/nestjs": "^5.2.3",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/common": "^10.4.15",
"@nestjs/core": "^10.4.15",
"@nestjs/typeorm": "^10.0.2",
"apollo-server-core": "^3.10.1",
"graphql": "15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@mikro-orm/mysql": "^6.2.3",
"@mikro-orm/nestjs": "^5.2.3",
"@mikro-orm/postgresql": "^6.2.3",
"@nestjs/common": "^10.3.7",
"@nestjs/common": "^10.4.15",
"@nestjs/config": "^3.2.0",
"@nestjs/typeorm": "^10.0.2",
"app-root-path": "^3.0.0",
Expand Down
Loading
Loading