@platformatic/generators 2.72.0 → 2.73.1

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.
@@ -59,7 +59,7 @@ ${customization.requires || ''}
59
59
 
60
60
  async function getServer (t) {
61
61
  ${customization.pre || ''}
62
- const config = JSON.parse(await readFile(join(__dirname, '..', 'platformatic.json'), 'utf8'))
62
+ const config = JSON.parse(await readFile(join(__dirname, '..', 'watt.json'), 'utf8'))
63
63
  // Add your config customizations here. For example you want to set
64
64
  // all things that are set in the config file to read from an env variable
65
65
  config.server ||= {}
@@ -126,7 +126,7 @@ type TestContext = Parameters<Exclude<testfn, undefined>>[0]
126
126
  export async function getServer (t: TestContext) {
127
127
  ${customizations.pre}
128
128
  // We go up two folder because this files executes in the dist folder
129
- const config = JSON.parse(await readFile(join(__dirname, '..', '..', 'platformatic.json'), 'utf8'))
129
+ const config = JSON.parse(await readFile(join(__dirname, '..', '..', 'watt.json'), 'utf8'))
130
130
  // Add your config customizations here. For example you want to set
131
131
  // all things that are set in the config file to read from an env variable
132
132
  config.server ||= {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/generators",
3
- "version": "2.72.0",
3
+ "version": "2.73.1",
4
4
  "description": "Main classes and utils for generators.",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -14,8 +14,8 @@
14
14
  "glob": "^11.0.2",
15
15
  "pino": "^9.0.0",
16
16
  "undici": "^7.0.0",
17
- "@platformatic/config": "2.72.0",
18
- "@platformatic/utils": "2.72.0"
17
+ "@platformatic/config": "2.73.1",
18
+ "@platformatic/utils": "2.73.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/inquirer": "^9.0.7",