neon 4.14.4 → 4.14.5

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/env_file.js +2 -2
  2. package/package.json +5 -5
package/dist/env_file.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { existsSync, readFileSync, writeFileSync } from "node:fs";
2
- import { join } from "node:path";
2
+ import { join, resolve } from "node:path";
3
3
  //#region src/env_file.ts
4
4
  /**
5
5
  * Default dotenv file `env pull` writes to: `.env` when one already exists in the working
@@ -7,7 +7,7 @@ import { join } from "node:path";
7
7
  * `vercel env pull` convention. An explicit `--file` always wins over this.
8
8
  */
9
9
  const resolveEnvFilePath = (cwd, file) => {
10
- if (file) return join(cwd, file);
10
+ if (file) return resolve(cwd, file);
11
11
  if (existsSync(join(cwd, ".env"))) return join(cwd, ".env");
12
12
  return join(cwd, ".env.local");
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neon",
3
- "version": "4.14.4",
3
+ "version": "4.14.5",
4
4
  "description": "CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres",
5
5
  "keywords": [
6
6
  "neon",
@@ -63,9 +63,9 @@
63
63
  "yaml": "^2.9.0",
64
64
  "yargs": "17.7.2",
65
65
  "yoctocolors": "^2.1.2",
66
- "@neon/config": "1.3.2",
67
66
  "@neon/config-runtime": "1.2.3",
68
- "@neon/sdk": "4.0.0"
67
+ "@neon/sdk": "4.0.0",
68
+ "@neon/config": "1.3.2"
69
69
  },
70
70
  "optionalDependencies": {
71
71
  "@napi-rs/keyring": "1.3.0",
@@ -98,9 +98,9 @@
98
98
  "typescript": "^5.9.0",
99
99
  "vitest": "^3.0.9",
100
100
  "@neon-internals/env-core": "0.0.10",
101
+ "@neon-internals/cli-core": "0.0.0",
101
102
  "@neon/e2e-harness": "0.0.0",
102
- "@neon/functions": "0.9.0",
103
- "@neon-internals/cli-core": "0.0.0"
103
+ "@neon/functions": "0.9.0"
104
104
  },
105
105
  "publishConfig": {
106
106
  "access": "public",