create-asaje-go-vue 0.2.5 → 0.2.7
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/bin/create-asaje-go-vue.js +14 -5
- package/package.json +1 -1
|
@@ -997,10 +997,11 @@ async function runSetupRailway(argv) {
|
|
|
997
997
|
existingServices,
|
|
998
998
|
key: spec.key,
|
|
999
999
|
manifest,
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1000
|
+
projectDir,
|
|
1001
|
+
railwayContext,
|
|
1002
|
+
serviceName: spec.serviceName,
|
|
1003
|
+
seedImage: spec.key === "admin" ? "nginx:1.29-alpine" : "alpine:3.22",
|
|
1004
|
+
});
|
|
1004
1005
|
appServiceSummary.push(serviceResult);
|
|
1005
1006
|
}
|
|
1006
1007
|
|
|
@@ -1497,7 +1498,15 @@ async function ensureRailwayAppService(config) {
|
|
|
1497
1498
|
console.log(`- creating ${pc.cyan(config.serviceName)} service...`);
|
|
1498
1499
|
const servicesBefore = normalizeRailwayServices(config.existingServices);
|
|
1499
1500
|
if (!config.dryRun) {
|
|
1500
|
-
await runRailwayCommand(config.projectDir, config.railwayContext.environmentRef, [
|
|
1501
|
+
await runRailwayCommand(config.projectDir, config.railwayContext.environmentRef, [
|
|
1502
|
+
"add",
|
|
1503
|
+
"--service",
|
|
1504
|
+
config.serviceName,
|
|
1505
|
+
"--image",
|
|
1506
|
+
config.seedImage || "alpine:3.22",
|
|
1507
|
+
"--variables",
|
|
1508
|
+
`ASAJE_BOOTSTRAP_SERVICE=${config.serviceName}`,
|
|
1509
|
+
]);
|
|
1501
1510
|
}
|
|
1502
1511
|
|
|
1503
1512
|
let createdService = null;
|