create-mercato-app 0.6.3-develop.3578.1.37cbb8f92c → 0.6.3-develop.3588.1.2f62d1bb0d

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mercato-app",
3
- "version": "0.6.3-develop.3578.1.37cbb8f92c",
3
+ "version": "0.6.3-develop.3588.1.2f62d1bb0d",
4
4
  "type": "module",
5
5
  "description": "Create a new Open Mercato application",
6
6
  "main": "./dist/index.js",
@@ -55,6 +55,13 @@ OM_ENABLE_ENTERPRISE_MODULES_SSO=false
55
55
  # Requires OM_ENABLE_ENTERPRISE_MODULES=true
56
56
  OM_ENABLE_ENTERPRISE_MODULES_SECURITY=false
57
57
 
58
+ # Enable the S3-compatible storage provider module (default: false).
59
+ # When true, `storage_s3` is added to enabledModules in modules.ts and the
60
+ # Integration Marketplace exposes the "S3 Object Storage" card.
61
+ # The provider can also be preconfigured from env vars — see the
62
+ # "S3 Storage Preconfiguration" block at the bottom of this file.
63
+ OM_ENABLE_STORAGE_S3=false
64
+
58
65
  # OM_SECURITY_MFA_SETUP_SECRET=change-me-mfa-setup-secret
59
66
  OM_SECURITY_TOTP_ISSUER=Open Mercato
60
67
  OM_SECURITY_TOTP_WINDOW=1
@@ -451,6 +458,52 @@ OCR_MODEL=gpt-4o
451
458
  # OM_INTEGRATION_AKENEO_CATEGORIES_SETTINGS_JSON=
452
459
  # OM_INTEGRATION_AKENEO_ATTRIBUTES_SETTINGS_JSON=
453
460
 
461
+ # ============================================================================
462
+ # S3 Storage Preconfiguration
463
+ # ============================================================================
464
+ # If these credentials are set, the storage_s3 provider preconfigures itself
465
+ # during tenant setup and can be rerun later (for existing tenants) with:
466
+ # yarn mercato storage_s3 configure-from-env --tenant <tenantId> --org <organizationId>
467
+ #
468
+ # For unattended deploys (Dokploy, Coolify, Kamal, etc.), use --all-tenants
469
+ # as a post-deploy hook to apply the preset to every active organization
470
+ # without tracking UUIDs in your deploy config:
471
+ # yarn mercato storage_s3 configure-from-env --all-tenants
472
+ #
473
+ # The CLI exits non-zero on an incomplete preset so CI/automation can detect
474
+ # misconfiguration. Pass --force (or set OM_INTEGRATION_STORAGE_S3_FORCE_PRECONFIGURE=true)
475
+ # to overwrite credentials that have already been stored for the tenant.
476
+ #
477
+ # The module itself is only loaded when OM_ENABLE_STORAGE_S3=true (see above)
478
+ # — without that flag the preconfiguration block below is ignored.
479
+ #
480
+ # Required for auto-preconfiguration:
481
+ # OM_INTEGRATION_STORAGE_S3_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
482
+ # OM_INTEGRATION_STORAGE_S3_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
483
+ # OM_INTEGRATION_STORAGE_S3_REGION=eu-central-1
484
+ # OM_INTEGRATION_STORAGE_S3_BUCKET=my-mercato-attachments
485
+ #
486
+ # Optional behavior:
487
+ # OM_INTEGRATION_STORAGE_S3_SESSION_TOKEN=
488
+ # OM_INTEGRATION_STORAGE_S3_ENDPOINT=https://fra1.digitaloceanspaces.com
489
+ # OM_INTEGRATION_STORAGE_S3_FORCE_PATH_STYLE=false
490
+ # OM_INTEGRATION_STORAGE_S3_FORCE_PRECONFIGURE=false
491
+ #
492
+ # Notes:
493
+ # - SESSION_TOKEN is only needed for short-lived STS credentials.
494
+ # - Leave ENDPOINT blank for AWS S3. Set it for MinIO, DigitalOcean Spaces,
495
+ # Cloudflare R2, Backblaze B2, etc.
496
+ # - FORCE_PATH_STYLE must be true for MinIO and most self-hosted S3 services.
497
+ # - Leave the block commented out when S3 should not be preconfigured.
498
+ # OM_INTEGRATION_STORAGE_S3_ACCESS_KEY_ID=
499
+ # OM_INTEGRATION_STORAGE_S3_SECRET_ACCESS_KEY=
500
+ # OM_INTEGRATION_STORAGE_S3_REGION=
501
+ # OM_INTEGRATION_STORAGE_S3_BUCKET=
502
+ # OM_INTEGRATION_STORAGE_S3_SESSION_TOKEN=
503
+ # OM_INTEGRATION_STORAGE_S3_ENDPOINT=
504
+ # OM_INTEGRATION_STORAGE_S3_FORCE_PATH_STYLE=false
505
+ # OM_INTEGRATION_STORAGE_S3_FORCE_PRECONFIGURE=false
506
+
454
507
  # ============================================================================
455
508
  # InboxOps Configuration (email-to-ERP agent)
456
509
  # ============================================================================