genbox 1.0.39 → 1.0.40
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/dist/commands/create.js
CHANGED
|
@@ -769,6 +769,8 @@ function buildPayload(resolved, config, publicKey, privateKey, configLoader) {
|
|
|
769
769
|
type: a.type,
|
|
770
770
|
port: a.port,
|
|
771
771
|
framework: a.framework,
|
|
772
|
+
runner: a.runner,
|
|
773
|
+
docker: a.docker,
|
|
772
774
|
commands: a.commands,
|
|
773
775
|
})),
|
|
774
776
|
infrastructure: resolved.infrastructure.map(i => ({
|
package/dist/profile-resolver.js
CHANGED
|
@@ -238,6 +238,10 @@ class ProfileResolver {
|
|
|
238
238
|
const type = appConfig.type === '$detect' ? 'backend' : appConfig.type;
|
|
239
239
|
const framework = appConfig.framework === '$detect' ? undefined : appConfig.framework;
|
|
240
240
|
const port = appConfig.port === '$detect' ? undefined : appConfig.port;
|
|
241
|
+
// Get runner and docker config from v4 config
|
|
242
|
+
const v4Config = appConfig;
|
|
243
|
+
const runner = v4Config.runner;
|
|
244
|
+
const docker = v4Config.docker;
|
|
241
245
|
return {
|
|
242
246
|
name: appName,
|
|
243
247
|
path: appConfig.path,
|
|
@@ -247,6 +251,8 @@ class ProfileResolver {
|
|
|
247
251
|
services: appConfig.services,
|
|
248
252
|
commands: appConfig.commands,
|
|
249
253
|
env: appConfig.env,
|
|
254
|
+
runner,
|
|
255
|
+
docker,
|
|
250
256
|
dependencies,
|
|
251
257
|
};
|
|
252
258
|
}
|