wattpm-utils 3.13.0 → 3.14.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.
package/index.js CHANGED
@@ -10,9 +10,11 @@ import { version } from './lib/version.js'
10
10
  export async function main () {
11
11
  globalThis.platformatic = { executable: getExecutableId() }
12
12
 
13
- const logger = createCliLogger('info')
14
-
15
13
  const options = {
14
+ 'no-pretty': {
15
+ short: 'r',
16
+ type: 'boolean'
17
+ },
16
18
  verbose: {
17
19
  short: 'v',
18
20
  type: 'boolean'
@@ -28,6 +30,7 @@ export async function main () {
28
30
  }
29
31
 
30
32
  const { values, unparsed } = parseArgs(process.argv.slice(2), options)
33
+ const logger = createCliLogger('info', values['no-pretty'])
31
34
 
32
35
  if (values.version || unparsed[0] === 'version') {
33
36
  console.log(version)
@@ -583,7 +583,7 @@ export const help = {
583
583
  description: 'Do not install applications dependencies'
584
584
  },
585
585
  {
586
- usage: 'P, --package-manager <executable>',
586
+ usage: '-P, --package-manager <executable>',
587
587
  description: 'Use an alternative package manager (the default is to autodetect it)'
588
588
  }
589
589
  ]
@@ -615,7 +615,7 @@ export const help = {
615
615
  description: 'Do not install applications dependencies'
616
616
  },
617
617
  {
618
- usage: 'P, --package-manager <executable>',
618
+ usage: '-P, --package-manager <executable>',
619
619
  description: 'Use an alternative package manager (the default is to autodetect it)'
620
620
  }
621
621
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattpm-utils",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "description": "The Node.js Application Server Utilities Commands",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -28,9 +28,9 @@
28
28
  "dotenv": "^16.4.5",
29
29
  "execa": "^9.4.0",
30
30
  "semver": "^7.7.0",
31
- "@platformatic/foundation": "3.13.0",
32
- "@platformatic/runtime": "3.13.0",
33
- "create-wattpm": "3.13.0"
31
+ "@platformatic/foundation": "3.14.0",
32
+ "@platformatic/runtime": "3.14.0",
33
+ "create-wattpm": "3.14.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "cleaner-spec-reporter": "^0.5.0",
@@ -40,7 +40,7 @@
40
40
  "neostandard": "^0.12.0",
41
41
  "typescript": "^5.5.4",
42
42
  "undici": "^7.0.0",
43
- "@platformatic/node": "3.13.0"
43
+ "@platformatic/node": "3.14.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=22.19.0"