@platformatic/nest 3.62.1 → 3.62.3

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/config.d.ts CHANGED
@@ -693,6 +693,10 @@ export interface PlatformaticNestJSConfig {
693
693
  [k: string]: string;
694
694
  };
695
695
  envfile?: string;
696
+ /**
697
+ * When set to true, the configuration loading fails if a {PLT_*} placeholder references an environment variable which is not set. When set to "warn", a warning listing the missing variables is logged but the placeholders are still replaced with an empty string. Defaults to false.
698
+ */
699
+ strictEnv?: boolean | string;
696
700
  sourceMaps?: boolean;
697
701
  nodeModulesSourceMaps?: string[];
698
702
  scheduler?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/nest",
3
- "version": "3.62.1",
3
+ "version": "3.62.3",
4
4
  "description": "Platformatic Nest.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -18,10 +18,10 @@
18
18
  "get-port": "^7.1.0",
19
19
  "light-my-request": "^6.0.0",
20
20
  "pino-http": "^10.2.0",
21
- "@platformatic/basic": "3.62.1",
22
- "@platformatic/foundation": "3.62.1",
23
- "@platformatic/generators": "3.62.1",
24
- "@platformatic/globals": "3.62.1"
21
+ "@platformatic/basic": "3.62.3",
22
+ "@platformatic/foundation": "3.62.3",
23
+ "@platformatic/generators": "3.62.3",
24
+ "@platformatic/globals": "3.62.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@nestjs/cli": "^11.0.7",
@@ -35,8 +35,8 @@
35
35
  "tstyche": "^6.2.0",
36
36
  "tsx": "^4.19.0",
37
37
  "typescript": "^5.9.3",
38
- "@platformatic/gateway": "3.62.1",
39
- "@platformatic/service": "3.62.1"
38
+ "@platformatic/service": "3.62.3",
39
+ "@platformatic/gateway": "3.62.3"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.62.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.62.3.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic NestJS Config",
5
5
  "type": "object",
@@ -2552,6 +2552,17 @@
2552
2552
  "envfile": {
2553
2553
  "type": "string"
2554
2554
  },
2555
+ "strictEnv": {
2556
+ "anyOf": [
2557
+ {
2558
+ "type": "boolean"
2559
+ },
2560
+ {
2561
+ "type": "string"
2562
+ }
2563
+ ],
2564
+ "description": "When set to true, the configuration loading fails if a {PLT_*} placeholder references an environment variable which is not set. When set to \"warn\", a warning listing the missing variables is logged but the placeholders are still replaced with an empty string. Defaults to false."
2565
+ },
2555
2566
  "sourceMaps": {
2556
2567
  "type": "boolean",
2557
2568
  "default": false