@envsync-cloud/deploy 0.8.5 → 0.8.7

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 +7 -1
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ #!/usr/bin/env node
2
3
 
3
4
  // src/index.ts
4
5
  import { spawnSync } from "child_process";
@@ -22,7 +23,7 @@ var deployConfigSchema = z.object({
22
23
  ref: z.string().default("main")
23
24
  }).default({}),
24
25
  release: z.object({
25
- version: z.string().default("0.8.5"),
26
+ version: z.string().default("0.8.7"),
26
27
  channel: z.string().default("stable")
27
28
  }).default({}),
28
29
  domain: z.object({
@@ -174,6 +175,11 @@ function buildRuntimeEnv(config, edition) {
174
175
  ENVSYNC_LANDING_ENABLED: String(enterprise),
175
176
  ENVSYNC_SINGLE_ORG_MODE: String(edition === "oss"),
176
177
  ENVSYNC_LICENSE_ENFORCEMENT: String(enterprise),
178
+ ENVSYNC_LICENSE_MODE: enterprise ? "certificate" : "none",
179
+ ENVSYNC_LICENSE_BUNDLE_PATH: enterprise ? "/etc/envsync/license/enterprise-license-bundle.json" : "",
180
+ ENVSYNC_LICENSE_CERT_PATH: enterprise ? "/etc/envsync/license/enterprise-cert.pem" : "",
181
+ ENVSYNC_LICENSE_KEY_PATH: enterprise ? "/etc/envsync/license/enterprise-key.pem" : "",
182
+ ENVSYNC_LICENSE_ROOT_CA_CERT_PATH: enterprise ? "/etc/envsync/license/root-ca.pem" : "",
177
183
  MANAGEMENT_API_URL: enterprise ? `https://manage-api.${config.domain.root_domain}` : "",
178
184
  ENVSYNC_LICENSE_SERVER_URL: enterprise ? config.license.server_url ?? "" : "",
179
185
  ENVSYNC_LICENSE_KEY: enterprise ? config.license.key ?? "" : "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envsync-cloud/deploy",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "envsync-deploy": "dist/index.js"
@@ -41,6 +41,7 @@
41
41
  "zod": "^3.25.76"
42
42
  },
43
43
  "devDependencies": {
44
+ "@envsync-cloud/deploy-core": "workspace:*",
44
45
  "tsup": "^8.5.0",
45
46
  "typescript": "^5.9.2"
46
47
  },