defang 2.2.2 → 2.9.0

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/README.md +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,18 +40,20 @@ The Defang CLI recognizes the following environment variables:
40
40
  - `DEFANG_ISSUER` - The OAuth2 issuer to use for authentication; defaults to `https://auth.defang.io`
41
41
  - `DEFANG_MODEL_ID` - The model ID of the LLM to use for the generate/debug AI integration (Pro users only)
42
42
  - `DEFANG_NO_CACHE` - If set to `true`, disables pull-through caching of container images; defaults to `false`
43
- - `DEFANG_ORG` - The name of the organization to use; defaults to the user's GitHub name
44
43
  - `DEFANG_PREFIX` - The prefix to use for all BYOC resources; defaults to `Defang`
45
44
  - `DEFANG_PROVIDER` - The name of the cloud provider to use, `auto` (default), `aws`, `digitalocean`, `gcp`, or `defang`
46
45
  - `DEFANG_PULUMI_BACKEND` - The Pulumi backend URL or `"pulumi-cloud"`; defaults to a self-hosted backend
46
+ - `DEFANG_PULUMI_DEBUG` - If set to `true`, enables debug logging for Pulumi operations; defaults to `false`
47
+ - `DEFANG_PULUMI_DIFF` - If set to `true`, shows the Pulumi diff during deployments; defaults to `false`
47
48
  - `DEFANG_PULUMI_DIR` - Run Pulumi from this folder, instead of spawning a cloud task; requires `--debug` (BYOC only)
48
49
  - `DEFANG_PULUMI_VERSION` - Override the version of the Pulumi image to use (`aws` provider only)
50
+ - `DEFANG_SUFFIX` - The suffix to use for all BYOC resources; defaults to the stack name, or `beta` if unset.
51
+ - `DEFANG_WORKSPACE` - The workspace (name or ID) to use; preferred way to select which workspace the CLI uses
49
52
  - `NO_COLOR` - If set to any value, disables color output; by default, color output is enabled depending on the terminal
50
53
  - `PULUMI_ACCESS_TOKEN` - The Pulumi access token to use for authentication to Pulumi Cloud; see `DEFANG_PULUMI_BACKEND`
51
54
  - `PULUMI_CONFIG_PASSPHRASE` - Passphrase used to generate a unique key for your stack, and configuration and encrypted state values
52
55
  - `TZ` - The timezone to use for log timestamps: an IANA TZ name like `UTC` or `Europe/Amsterdam`; defaults to `Local`
53
56
  - `XDG_STATE_HOME` - The directory to use for storing state; defaults to `~/.local/state`
54
57
 
55
- Environment variables will be loaded from a `.defangrc` file in the current directory, if it exists. This file follows
58
+ Environment variables will be loaded from a `.defang` file in the current directory, if it exists. This file follows
56
59
  the same format as a `.env` file: `KEY=VALUE` pairs on each line, lines starting with `#` are treated as comments and ignored.
57
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "defang",
3
- "version": "2.2.2",
3
+ "version": "2.9.0",
4
4
  "author": "Defang Software Labs Inc.",
5
5
  "description": "CLI to take your app from Docker Compose to a secure and scalable deployment on your favorite cloud in minutes",
6
6
  "license": "MIT",