@turboops/cli 1.0.13 → 1.0.14-dev.919

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -194,7 +194,7 @@ function getPackageName() {
194
194
  }
195
195
 
196
196
  // src/services/config.ts
197
- var BUILD_ENV = true ? "prod" : void 0;
197
+ var BUILD_ENV = true ? "dev" : void 0;
198
198
  var API_URLS = {
199
199
  local: "http://localhost:3000",
200
200
  dev: "https://api.dev.turbo-ops.de",
@@ -1898,7 +1898,7 @@ async function createDefaultStages(projectId, projectSlug) {
1898
1898
  logger.newline();
1899
1899
  logger.info("Erstelle 3 Standard-Stages:");
1900
1900
  for (const stage of DEFAULT_STAGES) {
1901
- const domain = `${stage.slug}.${projectSlug}.${baseDomain}`;
1901
+ const domain = stage.type === "production" ? baseDomain : `${stage.slug}.${baseDomain}`;
1902
1902
  const { data: newStage, error } = await withSpinner(
1903
1903
  `Erstelle ${stage.name}...`,
1904
1904
  () => apiClient.createStage({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turboops/cli",
3
- "version": "1.0.13",
3
+ "version": "1.0.14-dev.919",
4
4
  "description": "TurboCLI - Command line interface for TurboOps deployments",
5
5
  "keywords": [
6
6
  "cli",