@neondatabase/env 0.11.1 → 0.11.3

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 +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -82,7 +82,7 @@ Flags (both commands): `--config <path>`, `--project-id`, `--branch`, `--api-key
82
82
 
83
83
  ## Env vars produced
84
84
 
85
- These are the OS-level vars `fetchEnv` / `parseEnv` read and `toEntries` (so `neon-env run` / `neon-env export` / `neonctl env pull`) emit. Which ones appear depends on what your `neon.ts` policy enables — grouped by service below.
85
+ These are the OS-level vars `fetchEnv` / `parseEnv` read and `toEntries` (so `neon-env run` / `neon-env export` / `neon env pull`) emit. Which ones appear depends on what your `neon.ts` policy enables — grouped by service below.
86
86
 
87
87
  **Branch identity + Postgres** (always present):
88
88
 
@@ -125,4 +125,4 @@ These are the OS-level vars `fetchEnv` / `parseEnv` read and `toEntries` (so `ne
125
125
 
126
126
  The **CLI** (`neon-env run`) resolves project + branch itself: `--project-id` / `--branch` flag → `NEON_PROJECT_ID` / `NEON_BRANCH` (name) / `NEON_BRANCH_ID` (legacy id) env → `.neon[/project.json]` walked up from the working directory (its `branch` field, name or id; legacy `branchId` still read). The API key resolves via `--api-key` → `NEON_API_KEY` → `~/.config/neonctl/credentials.json`.
127
127
 
128
- The **library functions** do none of this — pass `projectId` / `branch` explicitly. This keeps `.neon` parsing in one place (the CLI / neonctl) and the functions pure.
128
+ The **library functions** do none of this — pass `projectId` / `branch` explicitly. This keeps `.neon` parsing in one place (the CLI / neon) and the functions pure.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neondatabase/env",
3
- "version": "0.11.1",
3
+ "version": "0.11.3",
4
4
  "description": "Resolve and inject Neon connection strings for the branch selected by your neon.ts policy. fetchEnv / parseEnv plus a `neon-env` CLI with `run` and `export`.",
5
5
  "keywords": [
6
6
  "neon",
@@ -45,12 +45,12 @@
45
45
  "tsdown": "^0.14.1",
46
46
  "typescript": "^5.9.0",
47
47
  "vitest": "^3.0.9",
48
- "@neon/sdk": "1.1.0"
48
+ "@neon/sdk": "1.1.1"
49
49
  },
50
50
  "dependencies": {
51
51
  "zod": "^4.4.3",
52
52
  "yargs": "^18.0.0",
53
- "@neon/config": "0.9.2"
53
+ "@neon/config": "0.9.4"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=20.19.0"