@platformatic/watt-extra 1.11.2-alpha.0 → 1.12.0-alpha.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/lib/watt.js +1 -0
- package/package.json +1 -1
- package/plugins/init.js +1 -0
package/lib/watt.js
CHANGED
|
@@ -513,6 +513,7 @@ class Watt {
|
|
|
513
513
|
const config = runtime.getRuntimeConfig(true)
|
|
514
514
|
|
|
515
515
|
for (const app of config.applications ?? []) {
|
|
516
|
+
process._rawDebug('--------APP TYPE--------', app.type, this.#instanceConfig)
|
|
516
517
|
if (app.type === 'next') {
|
|
517
518
|
await this.#configureNextService(runtime, app)
|
|
518
519
|
} else if (
|
package/package.json
CHANGED
package/plugins/init.js
CHANGED
|
@@ -38,6 +38,7 @@ async function initPlugin (app) {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
const instanceConfig = await initApplicationInstance(instanceId, applicationName)
|
|
41
|
+
process._rawDebug('--------INIT APP CONFIG--------', instanceConfig)
|
|
41
42
|
app.log.info({ applicationId: instanceConfig.applicationId }, 'Got application info')
|
|
42
43
|
|
|
43
44
|
instanceConfig.scaler ??= { version: 'v1' }
|