wattpm 3.53.0 → 3.55.0

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.
Files changed (3) hide show
  1. package/index.js +3 -1
  2. package/package.json +5 -5
  3. package/schema.json +133 -2
package/index.js CHANGED
@@ -144,7 +144,6 @@ export async function main () {
144
144
  default:
145
145
  if (requestedCommand) {
146
146
  const applicationsCommands = await loadApplicationsCommands(this.executableName)
147
- console.log(applicationsCommands)
148
147
  const applicationCommand = applicationsCommands.commands[requestedCommand]
149
148
 
150
149
  if (applicationCommand) {
@@ -166,8 +165,11 @@ export async function main () {
166
165
  }
167
166
 
168
167
  if (applicationCommandContext) {
168
+ const invocationCwd = process.cwd()
169
169
  process.chdir(applicationCommandContext.path)
170
170
  return command.call(this, logger, applicationCommandContext.config, unparsed.slice(1), {
171
+ application: applicationCommandContext,
172
+ cwd: invocationCwd,
171
173
  colorette,
172
174
  parseArgs,
173
175
  logFatalError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattpm",
3
- "version": "3.53.0",
3
+ "version": "3.55.0",
4
4
  "description": "The Node.js Application Server",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -30,9 +30,9 @@
30
30
  "pino-pretty": "^13.0.0",
31
31
  "split2": "^4.2.0",
32
32
  "table": "^6.8.2",
33
- "@platformatic/control": "3.53.0",
34
- "@platformatic/foundation": "3.53.0",
35
- "@platformatic/runtime": "3.53.0"
33
+ "@platformatic/control": "3.55.0",
34
+ "@platformatic/runtime": "3.55.0",
35
+ "@platformatic/foundation": "3.55.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "cleaner-spec-reporter": "^0.5.0",
@@ -44,7 +44,7 @@
44
44
  "neostandard": "^0.12.0",
45
45
  "typescript": "^5.5.4",
46
46
  "undici": "^7.0.0",
47
- "@platformatic/node": "3.53.0"
47
+ "@platformatic/node": "3.55.0"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/wattpm/3.53.0.json",
2
+ "$id": "https://schemas.platformatic.dev/wattpm/3.55.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Runtime Config",
5
5
  "type": "object",
@@ -208,6 +208,28 @@
208
208
  "type": "string"
209
209
  }
210
210
  ]
211
+ },
212
+ "bufferPoolSize": {
213
+ "anyOf": [
214
+ {
215
+ "type": "number",
216
+ "minimum": 0
217
+ },
218
+ {
219
+ "type": "string"
220
+ }
221
+ ]
222
+ },
223
+ "defaultHighWaterMark": {
224
+ "anyOf": [
225
+ {
226
+ "type": "number",
227
+ "minimum": 0
228
+ },
229
+ {
230
+ "type": "string"
231
+ }
232
+ ]
211
233
  }
212
234
  },
213
235
  "additionalProperties": false
@@ -567,6 +589,28 @@
567
589
  "type": "string"
568
590
  }
569
591
  ]
592
+ },
593
+ "bufferPoolSize": {
594
+ "anyOf": [
595
+ {
596
+ "type": "number",
597
+ "minimum": 0
598
+ },
599
+ {
600
+ "type": "string"
601
+ }
602
+ ]
603
+ },
604
+ "defaultHighWaterMark": {
605
+ "anyOf": [
606
+ {
607
+ "type": "number",
608
+ "minimum": 0
609
+ },
610
+ {
611
+ "type": "string"
612
+ }
613
+ ]
570
614
  }
571
615
  },
572
616
  "additionalProperties": false
@@ -924,6 +968,28 @@
924
968
  "type": "string"
925
969
  }
926
970
  ]
971
+ },
972
+ "bufferPoolSize": {
973
+ "anyOf": [
974
+ {
975
+ "type": "number",
976
+ "minimum": 0
977
+ },
978
+ {
979
+ "type": "string"
980
+ }
981
+ ]
982
+ },
983
+ "defaultHighWaterMark": {
984
+ "anyOf": [
985
+ {
986
+ "type": "number",
987
+ "minimum": 0
988
+ },
989
+ {
990
+ "type": "string"
991
+ }
992
+ ]
927
993
  }
928
994
  },
929
995
  "additionalProperties": false
@@ -1281,6 +1347,28 @@
1281
1347
  "type": "string"
1282
1348
  }
1283
1349
  ]
1350
+ },
1351
+ "bufferPoolSize": {
1352
+ "anyOf": [
1353
+ {
1354
+ "type": "number",
1355
+ "minimum": 0
1356
+ },
1357
+ {
1358
+ "type": "string"
1359
+ }
1360
+ ]
1361
+ },
1362
+ "defaultHighWaterMark": {
1363
+ "anyOf": [
1364
+ {
1365
+ "type": "number",
1366
+ "minimum": 0
1367
+ },
1368
+ {
1369
+ "type": "string"
1370
+ }
1371
+ ]
1284
1372
  }
1285
1373
  },
1286
1374
  "additionalProperties": false
@@ -1994,6 +2082,30 @@
1994
2082
  }
1995
2083
  ],
1996
2084
  "default": 268435456
2085
+ },
2086
+ "bufferPoolSize": {
2087
+ "anyOf": [
2088
+ {
2089
+ "type": "number",
2090
+ "minimum": 0
2091
+ },
2092
+ {
2093
+ "type": "string"
2094
+ }
2095
+ ],
2096
+ "default": 262144
2097
+ },
2098
+ "defaultHighWaterMark": {
2099
+ "anyOf": [
2100
+ {
2101
+ "type": "number",
2102
+ "minimum": 0
2103
+ },
2104
+ {
2105
+ "type": "string"
2106
+ }
2107
+ ],
2108
+ "default": 262144
1997
2109
  }
1998
2110
  },
1999
2111
  "additionalProperties": false
@@ -2276,6 +2388,18 @@
2276
2388
  "default": "applicationId",
2277
2389
  "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
2278
2390
  },
2391
+ "httpClientMetrics": {
2392
+ "anyOf": [
2393
+ {
2394
+ "type": "boolean"
2395
+ },
2396
+ {
2397
+ "type": "string"
2398
+ }
2399
+ ],
2400
+ "default": false,
2401
+ "description": "Enable outgoing HTTP client request duration metrics"
2402
+ },
2279
2403
  "readiness": {
2280
2404
  "anyOf": [
2281
2405
  {
@@ -2597,7 +2721,14 @@
2597
2721
  ]
2598
2722
  },
2599
2723
  "diagLogger": {
2600
- "type": "boolean",
2724
+ "anyOf": [
2725
+ {
2726
+ "type": "boolean"
2727
+ },
2728
+ {
2729
+ "type": "string"
2730
+ }
2731
+ ],
2601
2732
  "description": "Enable the OpenTelemetry diagnostic logger. Diagnostic messages are forwarded to the Platformatic global logger using the current logger level."
2602
2733
  }
2603
2734
  },