pgpm 5.35.7 → 5.36.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.
package/commands/env.js CHANGED
@@ -14,7 +14,7 @@ Database Profiles:
14
14
  --supabase Use Supabase local development profile
15
15
 
16
16
  Additional Services:
17
- --rustfs Include RustFS/S3 environment variables
17
+ --rustfs Include the local RustFS object-store credentials
18
18
 
19
19
  Modes:
20
20
  No command Print export statements for shell evaluation
@@ -23,7 +23,8 @@ Modes:
23
23
  Options:
24
24
  --help, -h Show this help message
25
25
  --supabase Use Supabase profile instead of default Postgres
26
- --rustfs Include CDN_ENDPOINT, AWS_ACCESS_KEY, AWS_SECRET_KEY, AWS_REGION
26
+ --rustfs Include STORAGE_ACCESS_KEY_ID, STORAGE_SECRET_ACCESS_KEY
27
+ (endpoint/provider/region are storage_module rows, not env)
27
28
 
28
29
  Examples:
29
30
  pgpm env Print default Postgres env exports
@@ -44,10 +45,8 @@ const DEFAULT_PROFILE = {
44
45
  ...pg_env_1.defaultPgConfig
45
46
  };
46
47
  const OBJECT_STORE_PROFILE = {
47
- endpoint: 'http://localhost:9000',
48
- accessKey: 'constructive',
49
- secretKey: 'constructive-dev-secret',
50
- region: 'us-east-1',
48
+ accessKeyId: 'constructive',
49
+ secretAccessKey: 'constructive-dev-secret',
51
50
  };
52
51
  function configToEnvVars(config, objectStore) {
53
52
  const vars = {
@@ -58,10 +57,8 @@ function configToEnvVars(config, objectStore) {
58
57
  PGDATABASE: config.database
59
58
  };
60
59
  if (objectStore) {
61
- vars.CDN_ENDPOINT = objectStore.endpoint;
62
- vars.AWS_ACCESS_KEY = objectStore.accessKey;
63
- vars.AWS_SECRET_KEY = objectStore.secretKey;
64
- vars.AWS_REGION = objectStore.region;
60
+ vars.STORAGE_ACCESS_KEY_ID = objectStore.accessKeyId;
61
+ vars.STORAGE_SECRET_ACCESS_KEY = objectStore.secretAccessKey;
65
62
  }
66
63
  return vars;
67
64
  }
@@ -12,7 +12,7 @@ Database Profiles:
12
12
  --supabase Use Supabase local development profile
13
13
 
14
14
  Additional Services:
15
- --rustfs Include RustFS/S3 environment variables
15
+ --rustfs Include the local RustFS object-store credentials
16
16
 
17
17
  Modes:
18
18
  No command Print export statements for shell evaluation
@@ -21,7 +21,8 @@ Modes:
21
21
  Options:
22
22
  --help, -h Show this help message
23
23
  --supabase Use Supabase profile instead of default Postgres
24
- --rustfs Include CDN_ENDPOINT, AWS_ACCESS_KEY, AWS_SECRET_KEY, AWS_REGION
24
+ --rustfs Include STORAGE_ACCESS_KEY_ID, STORAGE_SECRET_ACCESS_KEY
25
+ (endpoint/provider/region are storage_module rows, not env)
25
26
 
26
27
  Examples:
27
28
  pgpm env Print default Postgres env exports
@@ -42,10 +43,8 @@ const DEFAULT_PROFILE = {
42
43
  ...defaultPgConfig
43
44
  };
44
45
  const OBJECT_STORE_PROFILE = {
45
- endpoint: 'http://localhost:9000',
46
- accessKey: 'constructive',
47
- secretKey: 'constructive-dev-secret',
48
- region: 'us-east-1',
46
+ accessKeyId: 'constructive',
47
+ secretAccessKey: 'constructive-dev-secret',
49
48
  };
50
49
  function configToEnvVars(config, objectStore) {
51
50
  const vars = {
@@ -56,10 +55,8 @@ function configToEnvVars(config, objectStore) {
56
55
  PGDATABASE: config.database
57
56
  };
58
57
  if (objectStore) {
59
- vars.CDN_ENDPOINT = objectStore.endpoint;
60
- vars.AWS_ACCESS_KEY = objectStore.accessKey;
61
- vars.AWS_SECRET_KEY = objectStore.secretKey;
62
- vars.AWS_REGION = objectStore.region;
58
+ vars.STORAGE_ACCESS_KEY_ID = objectStore.accessKeyId;
59
+ vars.STORAGE_SECRET_ACCESS_KEY = objectStore.secretAccessKey;
63
60
  }
64
61
  return vars;
65
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgpm",
3
- "version": "5.35.7",
3
+ "version": "5.36.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PostgreSQL Package Manager - Database migration and package management CLI",
6
6
  "main": "index.js",
@@ -47,15 +47,15 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@inquirerer/utils": "^3.3.13",
50
- "@pgpmjs/core": "^7.32.6",
51
- "@pgpmjs/diff": "^0.8.7",
52
- "@pgpmjs/env": "^2.46.3",
53
- "@pgpmjs/export": "^1.23.8",
54
- "@pgpmjs/import": "^0.8.7",
50
+ "@pgpmjs/core": "^7.32.7",
51
+ "@pgpmjs/diff": "^0.8.8",
52
+ "@pgpmjs/env": "^2.47.0",
53
+ "@pgpmjs/export": "^1.23.9",
54
+ "@pgpmjs/import": "^0.8.8",
55
55
  "@pgpmjs/logger": "^2.26.0",
56
- "@pgpmjs/slice": "^0.19.7",
57
- "@pgpmjs/transform": "^0.28.7",
58
- "@pgpmjs/types": "^2.56.3",
56
+ "@pgpmjs/slice": "^0.19.8",
57
+ "@pgpmjs/transform": "^0.28.8",
58
+ "@pgpmjs/types": "^2.57.0",
59
59
  "@pgsql/quotes": "^18.2.4",
60
60
  "appstash": "^0.8.0",
61
61
  "cross-spawn": "^7.0.6",
@@ -63,7 +63,7 @@
63
63
  "genomic": "^5.6.6",
64
64
  "inquirerer": "^4.9.4",
65
65
  "js-yaml": "^4.1.0",
66
- "pg-cache": "^3.29.6",
66
+ "pg-cache": "^3.29.7",
67
67
  "pg-env": "^1.32.0",
68
68
  "pgsql-deparser": "^18.3.10",
69
69
  "semver": "^7.8.5",
@@ -82,5 +82,5 @@
82
82
  "pg",
83
83
  "pgsql"
84
84
  ],
85
- "gitHead": "a95137c03998f4ef18aaba770bdeb598077e5b51"
85
+ "gitHead": "1f3501d518e175803a1a3372cf9249922d82bfe5"
86
86
  }