@platformatic/generators 1.31.0 → 1.32.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.
@@ -89,7 +89,7 @@ async function execute (): Promise<void> {
89
89
  type: 'string',
90
90
  default: join(process.cwd(), '${kebabCase(stackableName + '-app')}')
91
91
  },
92
- port: { type: 'string', default: '3042' },
92
+ port: { type: 'string' },
93
93
  hostname: { type: 'string', default: '0.0.0.0' },
94
94
  plugin: { type: 'boolean', default: true },
95
95
  tests: { type: 'boolean', default: true },
@@ -102,7 +102,7 @@ async function execute (): Promise<void> {
102
102
  const generator = new Generator()
103
103
 
104
104
  generator.setConfig({
105
- port: parseInt(args.values.port as string),
105
+ port: parseInt(args.values.port || '3042'),
106
106
  hostname: args.values.hostname,
107
107
  plugin: args.values.plugin,
108
108
  tests: args.values.tests,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/generators",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "Main classes and utils for generators.",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -20,7 +20,7 @@
20
20
  "c8": "^9.1.0",
21
21
  "snazzy": "^9.0.0",
22
22
  "standard": "^17.1.0",
23
- "tsd": "^0.30.7",
23
+ "tsd": "^0.31.0",
24
24
  "typescript": "^5.4.2"
25
25
  },
26
26
  "scripts": {