@lead-routing/cli 0.1.11 → 0.1.12
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -369,6 +369,7 @@ function renderEnvWeb(c) {
|
|
|
369
369
|
``,
|
|
370
370
|
`# Engine`,
|
|
371
371
|
`ENGINE_URL=${c.engineUrl}`,
|
|
372
|
+
`PUBLIC_ENGINE_URL=${c.publicEngineUrl}`,
|
|
372
373
|
`ENGINE_WEBHOOK_SECRET=${c.engineWebhookSecret}`,
|
|
373
374
|
``,
|
|
374
375
|
`# Database`,
|
|
@@ -525,6 +526,7 @@ function generateFiles(cfg, sshCfg) {
|
|
|
525
526
|
const envWebContent = renderEnvWeb({
|
|
526
527
|
appUrl: cfg.appUrl,
|
|
527
528
|
engineUrl: dockerEngineUrl,
|
|
529
|
+
publicEngineUrl: cfg.engineUrl,
|
|
528
530
|
databaseUrl: cfg.databaseUrl,
|
|
529
531
|
redisUrl: cfg.redisUrl,
|
|
530
532
|
sfdcClientId: cfg.sfdcClientId,
|
|
@@ -2005,7 +2007,7 @@ async function runSfdcDeploy() {
|
|
|
2005
2007
|
|
|
2006
2008
|
// src/index.ts
|
|
2007
2009
|
var program = new Command();
|
|
2008
|
-
program.name("lead-routing").description("Self-hosted Lead Routing \u2014 scaffold, deploy, and manage your installation").version("0.1.
|
|
2010
|
+
program.name("lead-routing").description("Self-hosted Lead Routing \u2014 scaffold, deploy, and manage your installation").version("0.1.12");
|
|
2009
2011
|
program.command("init").description("Interactive setup wizard \u2014 configure and deploy the full Lead Routing stack").option("--dry-run", "Generate config files without connecting or deploying").option("--resume", "Skip to health check using existing lead-routing.json (post-timeout recovery)").option("--sandbox", "Use Salesforce sandbox (test.salesforce.com) instead of production").option("--ssh-port <port>", "SSH port (default: 22)", parseInt).option("--ssh-user <user>", "SSH username (default: root)").option("--ssh-key <path>", "Path to SSH private key (overrides auto-detection)").option("--remote-dir <path>", "Remote install directory (default: ~/lead-routing)").option("--external-db <url>", "Use external PostgreSQL URL instead of managed Docker container").option("--external-redis <url>", "Use external Redis URL instead of managed Docker container").action((opts) => runInit({
|
|
2010
2012
|
dryRun: opts.dryRun,
|
|
2011
2013
|
resume: opts.resume,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lead-routing/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Self-hosted deployment CLI for Lead Routing",
|
|
5
5
|
"homepage": "https://github.com/lead-routing/lead-routing",
|
|
6
6
|
"keywords": ["salesforce", "lead-routing", "self-hosted", "deployment", "cli"],
|