@elmohq/cli 0.4.3 → 0.4.4

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 +3 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -497,7 +497,7 @@ function buildDbMigrateService(options) {
497
497
  }
498
498
  function buildWebService(options) {
499
499
  const lines = ["web:"];
500
- if (options.dev) lines.push(" build:", ` context: ${options.repoRoot}`, ` dockerfile: ${options.dockerfilePath}`, " target: web", " args:", " DEPLOYMENT_MODE: local");
500
+ if (options.dev) lines.push(" build:", ` context: ${options.repoRoot}`, ` dockerfile: ${options.dockerfilePath}`, " target: web");
501
501
  else lines.push(` image: elmohq/elmo-web:${options.version}`);
502
502
  lines.push(" env_file:", " - path: .env", " required: true", " ports:", ` - "${options.port}:3000"`);
503
503
  if (options.dependsOn.length > 0) {
@@ -511,7 +511,7 @@ function buildWebService(options) {
511
511
  }
512
512
  function buildWorkerService(options) {
513
513
  const lines = ["worker:"];
514
- if (options.dev) lines.push(" build:", ` context: ${options.repoRoot}`, ` dockerfile: ${options.dockerfilePath}`, " target: worker", " args:", " DEPLOYMENT_MODE: local");
514
+ if (options.dev) lines.push(" build:", ` context: ${options.repoRoot}`, ` dockerfile: ${options.dockerfilePath}`, " target: worker");
515
515
  else lines.push(` image: elmohq/elmo-worker:${options.version}`);
516
516
  lines.push(" env_file:", " - path: .env", " required: true");
517
517
  lines.push(" stop_grace_period: 35s");
@@ -526,7 +526,7 @@ function buildWorkerService(options) {
526
526
  }
527
527
  //#endregion
528
528
  //#region src/providers.ts
529
- const CLORO_AFFILIATE = "https://affiliate.cloro.dev/elmo?sid=cli";
529
+ const CLORO_AFFILIATE = "https://cloro.dev?fpr=elmo&fp_sid=cli";
530
530
  const BRIGHTDATA_AFFILIATE = "https://get.brightdata.com/elmo?sid=cli";
531
531
  const OXYLABS_AFFILIATE = "https://oxylabs.go2cloud.org/aff_c?offer_id=7&aff_id=2263&url_id=32";
532
532
  const SEARCHAPI_AFFILIATE = "https://www.searchapi.io/?via=elmo";
@@ -1278,7 +1278,6 @@ async function runInit(options, version) {
1278
1278
  assertNotCancelled(postgresMode);
1279
1279
  const env = {};
1280
1280
  env.DEPLOYMENT_MODE = "local";
1281
- env.VITE_DEPLOYMENT_MODE = "local";
1282
1281
  env.DEPLOYMENT_ID = preservedDeploymentId ?? crypto.randomUUID();
1283
1282
  env.BETTER_AUTH_SECRET = generateSecret();
1284
1283
  env.ELMO_ENCRYPTION_KEY = generateSecret(32, "base64");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmohq/cli",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "marketing",
@@ -38,7 +38,7 @@
38
38
  "devDependencies": {
39
39
  "@types/node": "^26.4.1",
40
40
  "@types/semver": "^7.8.0",
41
- "@workspace/config": "0.4.3",
41
+ "@workspace/config": "0.4.4",
42
42
  "rolldown": "^1.2.7",
43
43
  "typescript": "^7.0.2",
44
44
  "vitest": "^4.1.11"