@candlerip/shared3 0.0.60 → 0.0.61

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,13 +1,13 @@
1
1
  export declare const ENVIRONMENT_VARIABLE: {
2
2
  readonly API_GATEWAY_PORT: "number";
3
3
  readonly APP_NAME: "string";
4
+ readonly APP_PORT: "number";
4
5
  readonly AUTHENTICATION_AUDIENCE: "string";
5
6
  readonly AUTHENTICATION_DOMAIN: "string";
6
7
  readonly CACHE_ENABLED: "boolean";
7
8
  readonly CACHE_SERVICE_PORT: "number";
8
9
  readonly DATABASE_URL: "string";
9
10
  readonly DOMAIN_NAME: "string";
10
- readonly FRONTEND_PORT: "number";
11
11
  readonly FRONTEND_URL: "string";
12
12
  readonly LOGGER_SERVICE_PORT: "number";
13
13
  readonly NODE_ENV: "EnvironmentMode";
@@ -1,13 +1,13 @@
1
1
  export const ENVIRONMENT_VARIABLE = {
2
2
  API_GATEWAY_PORT: 'number',
3
3
  APP_NAME: 'string',
4
+ APP_PORT: 'number',
4
5
  AUTHENTICATION_AUDIENCE: 'string',
5
6
  AUTHENTICATION_DOMAIN: 'string',
6
7
  CACHE_ENABLED: 'boolean',
7
8
  CACHE_SERVICE_PORT: 'number',
8
9
  DATABASE_URL: 'string',
9
10
  DOMAIN_NAME: 'string',
10
- FRONTEND_PORT: 'number',
11
11
  FRONTEND_URL: 'string',
12
12
  LOGGER_SERVICE_PORT: 'number',
13
13
  NODE_ENV: 'EnvironmentMode',
@@ -1,12 +1,12 @@
1
1
  export declare const ENVIRONMENT_VARIABLES: {
2
- readonly app: readonly ["DATABASE_URL", "FRONTEND_PORT", "NODE_ENV", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL", "S3_IMAGES_BUCKET_NAME"];
2
+ readonly app: readonly ["APP_PORT", "DATABASE_URL", "NODE_ENV", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL", "S3_IMAGES_BUCKET_NAME"];
3
3
  readonly 'cache-service': readonly ["CACHE_ENABLED", "CACHE_SERVICE_PORT", "DATABASE_URL", "NODE_ENV", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL"];
4
4
  readonly images: readonly ["NODE_ENV", "S3_IMAGES_BUCKET_NAME"];
5
5
  readonly 'images-init': readonly ["FRONTEND_URL", "NODE_ENV", "S3_IMAGES_BUCKET_NAME"];
6
6
  readonly 'logger-service': readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT", "NODE_ENV", "RABBITMQ_URL"];
7
- readonly nginx: readonly ["FRONTEND_PORT", "NODE_ENV"];
7
+ readonly nginx: readonly ["APP_PORT", "NODE_ENV"];
8
8
  readonly rabbitmq: readonly ["RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "NODE_ENV", "RABBITMQ_PWD", "RABBITMQ_USER"];
9
9
  readonly redis: readonly ["NODE_ENV", "REDIS_PORT", "REDIS_PWD"];
10
- readonly server: readonly ["API_GATEWAY_PORT", "CACHE_SERVICE_PORT", "FRONTEND_PORT", "LOGGER_SERVICE_PORT", "NODE_ENV", "RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "REDIS_PORT"];
10
+ readonly server: readonly ["APP_PORT", "API_GATEWAY_PORT", "CACHE_SERVICE_PORT", "LOGGER_SERVICE_PORT", "NODE_ENV", "RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "REDIS_PORT"];
11
11
  readonly 'server-init': readonly ["APP_NAME", "DOMAIN_NAME", "NODE_ENV", "S3_IMAGES_BUCKET_NAME"];
12
12
  };
@@ -1,16 +1,16 @@
1
1
  export const ENVIRONMENT_VARIABLES = {
2
- app: ['DATABASE_URL', 'FRONTEND_PORT', 'NODE_ENV', 'RABBITMQ_URL', 'REDIS_PWD', 'REDIS_URL', 'S3_IMAGES_BUCKET_NAME'],
2
+ app: ['APP_PORT', 'DATABASE_URL', 'NODE_ENV', 'RABBITMQ_URL', 'REDIS_PWD', 'REDIS_URL', 'S3_IMAGES_BUCKET_NAME'],
3
3
  'cache-service': ['CACHE_ENABLED', 'CACHE_SERVICE_PORT', 'DATABASE_URL', 'NODE_ENV', 'RABBITMQ_URL', 'REDIS_PWD', 'REDIS_URL'],
4
4
  images: ['NODE_ENV', 'S3_IMAGES_BUCKET_NAME'],
5
5
  'images-init': ['FRONTEND_URL', 'NODE_ENV', 'S3_IMAGES_BUCKET_NAME'],
6
6
  'logger-service': ['DATABASE_URL', 'LOGGER_SERVICE_PORT', 'NODE_ENV', 'RABBITMQ_URL'],
7
- nginx: ['FRONTEND_PORT', 'NODE_ENV'],
7
+ nginx: ['APP_PORT', 'NODE_ENV'],
8
8
  rabbitmq: ['RABBITMQ_PORT', 'RABBITMQ_MANAGEMENT_PORT', 'NODE_ENV', 'RABBITMQ_PWD', 'RABBITMQ_USER'],
9
9
  redis: ['NODE_ENV', 'REDIS_PORT', 'REDIS_PWD'],
10
10
  server: [
11
+ 'APP_PORT',
11
12
  'API_GATEWAY_PORT',
12
13
  'CACHE_SERVICE_PORT',
13
- 'FRONTEND_PORT',
14
14
  'LOGGER_SERVICE_PORT',
15
15
  'NODE_ENV',
16
16
  'RABBITMQ_PORT',