betterstart-cli 0.0.75 → 0.0.76
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/cli.js +1 -18
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -22684,23 +22684,6 @@ async function promptDeployProvider(initialValue = "none") {
|
|
|
22684
22684
|
}
|
|
22685
22685
|
return provider;
|
|
22686
22686
|
}
|
|
22687
|
-
async function promptRailwayBucketRegion() {
|
|
22688
|
-
const region = await p14.select({
|
|
22689
|
-
message: "Choose a Railway bucket region",
|
|
22690
|
-
options: [
|
|
22691
|
-
{ value: "iad", label: "US East (Virginia)" },
|
|
22692
|
-
{ value: "sjc", label: "US West (California)" },
|
|
22693
|
-
{ value: "ams", label: "Europe (Amsterdam)" },
|
|
22694
|
-
{ value: "sin", label: "Asia Pacific (Singapore)" }
|
|
22695
|
-
],
|
|
22696
|
-
initialValue: "iad"
|
|
22697
|
-
});
|
|
22698
|
-
if (p14.isCancel(region)) {
|
|
22699
|
-
p14.cancel("Setup cancelled.");
|
|
22700
|
-
process.exit(0);
|
|
22701
|
-
}
|
|
22702
|
-
return region;
|
|
22703
|
-
}
|
|
22704
22687
|
|
|
22705
22688
|
// adapters/next/init/railway/deploy.ts
|
|
22706
22689
|
import fs28 from "fs";
|
|
@@ -27339,7 +27322,7 @@ async function runInitCommand(name, options) {
|
|
|
27339
27322
|
};
|
|
27340
27323
|
const provisionRailwayBucket = async () => {
|
|
27341
27324
|
try {
|
|
27342
|
-
const region = options.railwayBucketRegion ??
|
|
27325
|
+
const region = options.railwayBucketRegion ?? "iad";
|
|
27343
27326
|
const session = await getRailwaySession();
|
|
27344
27327
|
const bucket = await ensureRailwayBucket(session, cwd, {
|
|
27345
27328
|
name: "media",
|