wattpm 3.53.0 → 3.54.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 +9 -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.54.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.54.0",
34
+ "@platformatic/foundation": "3.54.0",
35
+ "@platformatic/runtime": "3.54.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.54.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.54.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Runtime Config",
5
5
  "type": "object",
@@ -2597,7 +2597,14 @@
2597
2597
  ]
2598
2598
  },
2599
2599
  "diagLogger": {
2600
- "type": "boolean",
2600
+ "anyOf": [
2601
+ {
2602
+ "type": "boolean"
2603
+ },
2604
+ {
2605
+ "type": "string"
2606
+ }
2607
+ ],
2601
2608
  "description": "Enable the OpenTelemetry diagnostic logger. Diagnostic messages are forwarded to the Platformatic global logger using the current logger level."
2602
2609
  }
2603
2610
  },