@rxap/plugin-nestjs 16.2.1-dev.1 → 16.2.1-dev.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [16.2.1-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.2.1-dev.1...@rxap/plugin-nestjs@16.2.1-dev.2) (2024-05-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ - remove PATH_PREFIX from required variables ([8d584ae](https://gitlab.com/rxap/packages/commit/8d584ae372296b2dfbd4925a5798ad1d5726b6ab))
11
+
6
12
  ## [16.2.1-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.2.1-dev.0...@rxap/plugin-nestjs@16.2.1-dev.1) (2024-05-02)
7
13
 
8
14
  ### Bug Fixes
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-nestjs
19
19
  ```
20
20
  **Install peer dependencies:**
21
21
  ```bash
22
- yarn add @nx/devkit@^16.10.0 @nx/js@^16.10.0 @nx/nest@^16.10.0 @rxap/node-utilities@^1.2.0 @rxap/plugin-application@^16.2.0 @rxap/plugin-gitlab-ci@^16.2.1 @rxap/plugin-library@^16.1.0 @rxap/plugin-utilities@^16.3.0 @rxap/ts-morph@^1.1.0 @rxap/utilities@^16.1.0 @rxap/workspace-ts-morph@^16.1.0 @rxap/workspace-utilities@^16.2.0 colors@^1.4.0 ts-morph@^18.0.0 tslib@2.6.2
22
+ yarn add @nx/devkit@^16.10.0 @nx/js@^16.10.0 @nx/nest@^16.10.0 @rxap/node-utilities@^1.2.0 @rxap/plugin-application@^16.2.0 @rxap/plugin-gitlab-ci@^16.3.0-dev.1 @rxap/plugin-library@^16.1.0 @rxap/plugin-utilities@^16.4.0-dev.0 @rxap/ts-morph@^1.1.0 @rxap/utilities@^16.2.0-dev.1 @rxap/workspace-ts-morph@^16.1.0 @rxap/workspace-utilities@^16.2.0 colors@^1.4.0 ts-morph@^18.0.0 tslib@2.6.2
23
23
  ```
24
24
  **Execute the init generator:**
25
25
  ```bash
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.2.1-dev.1",
2
+ "version": "16.2.1-dev.2",
3
3
  "name": "@rxap/plugin-nestjs",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -19,11 +19,11 @@
19
19
  "@nx/nest": "^16.10.0",
20
20
  "@rxap/node-utilities": "^1.2.0",
21
21
  "@rxap/plugin-application": "^16.2.0",
22
- "@rxap/plugin-gitlab-ci": "^16.2.1",
22
+ "@rxap/plugin-gitlab-ci": "^16.3.0-dev.1",
23
23
  "@rxap/plugin-library": "^16.1.0",
24
- "@rxap/plugin-utilities": "^16.3.0",
24
+ "@rxap/plugin-utilities": "^16.4.0-dev.0",
25
25
  "@rxap/ts-morph": "^1.1.0",
26
- "@rxap/utilities": "^16.1.0",
26
+ "@rxap/utilities": "^16.2.0-dev.1",
27
27
  "@rxap/workspace-ts-morph": "^16.1.0",
28
28
  "@rxap/workspace-utilities": "^16.2.0",
29
29
  "colors": "^1.4.0",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  {
73
73
  "package": "@rxap/plugin-gitlab-ci",
74
- "version": "16.2.1"
74
+ "version": "16.3.0-dev.1"
75
75
  },
76
76
  {
77
77
  "package": "@rxap/plugin-library",
@@ -79,7 +79,7 @@
79
79
  },
80
80
  {
81
81
  "package": "@rxap/plugin-utilities",
82
- "version": "16.3.0"
82
+ "version": "16.4.0-dev.0"
83
83
  },
84
84
  {
85
85
  "package": "@rxap/ts-morph",
@@ -87,7 +87,7 @@
87
87
  },
88
88
  {
89
89
  "package": "@rxap/utilities",
90
- "version": "16.1.0"
90
+ "version": "16.2.0-dev.1"
91
91
  },
92
92
  {
93
93
  "package": "@rxap/workspace-ts-morph",
@@ -110,6 +110,6 @@
110
110
  },
111
111
  "schematics": "./generators.json",
112
112
  "type": "commonjs",
113
- "gitHead": "5a13e88183203b1f3ada6416d7dce166bf7242c9",
113
+ "gitHead": "b3d165bf85ca252608b0c4373cf2bb60b00e19d9",
114
114
  "main": "./src/index.js"
115
115
  }
@@ -4,14 +4,16 @@ ARG PROJECT_NAME
4
4
  ARG PATH_PREFIX
5
5
  ARG NAME_PREFIX
6
6
 
7
- RUN if [ -z "$PATH_PREFIX" ]; then exit 1; fi
7
+ # PATH_PREFIX should not be required as standalone services dont use it
8
+ # RUN if [ -z "$PATH_PREFIX" ]; then exit 1; fi
8
9
  RUN if [ -z "$PROJECT_NAME" ]; then exit 1; fi
9
10
 
10
11
  ENV TRAEFIK_SERVICE_NAME=${NAME_PREFIX}${PROJECT_NAME}
11
12
 
12
13
  ENV TRAEFIK_ROUTER_NAME=${NAME_PREFIX}${PROJECT_NAME}
13
14
  ENV TRAEFIK_ROUTER_PRIORITY=20
14
- ENV TRAEFIK_ROUTER_PATH_PREFIX=/$PATH_PREFIX/
15
+ # ensure the $PATH_PREFIX has a preceding slash if not empty
16
+ ENV TRAEFIK_ROUTER_PATH_PREFIX=$PATH_PREFIX/
15
17
 
16
18
  ENV TREAFIK_HEALTH_CHECK_INTERVAL=60s
17
19
  ENV TREAFIK_HEALTH_CHECK_TIMEOUT=30s