@pgpmjs/core 7.9.0 → 7.10.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/README.md CHANGED
@@ -109,6 +109,7 @@ Common issues and solutions for pgpm, PostgreSQL, and testing.
109
109
  ### 🧪 Testing
110
110
 
111
111
  * [pgsql-test](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
112
+ * [pglite-test](https://github.com/constructive-io/constructive/tree/main/postgres/pglite-test): **🪶 Drop-in pgsql-test replacement backed by PGlite** — in-process Postgres, no server required, instance-per-suite isolation.
112
113
  * [pgsql-seed](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-seed): **🌱 PostgreSQL seeding utilities** for CSV, JSON, SQL data loading, and pgpm deployment.
113
114
  * [supabase-test](https://github.com/constructive-io/constructive/tree/main/postgres/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
114
115
  * [graphile-test](https://github.com/constructive-io/constructive/tree/main/graphile/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
@@ -93,7 +93,11 @@ async function scaffoldTemplate(options) {
93
93
  fromPath: effectiveFromPath,
94
94
  answers,
95
95
  noTty,
96
- prompter,
96
+ // In noTty mode, never reuse a caller prompter: it may have been created
97
+ // in interactive mode (or already closed), which would route template
98
+ // questions through the TTY prompt path. Letting the templatizer build
99
+ // its own prompter guarantees the noTty flag cascades.
100
+ prompter: noTty ? undefined : prompter,
97
101
  // When dir is specified, bypass .boilerplates.json resolution entirely
98
102
  useBoilerplatesConfig: !dir,
99
103
  });
@@ -84,7 +84,11 @@ export async function scaffoldTemplate(options) {
84
84
  fromPath: effectiveFromPath,
85
85
  answers,
86
86
  noTty,
87
- prompter,
87
+ // In noTty mode, never reuse a caller prompter: it may have been created
88
+ // in interactive mode (or already closed), which would route template
89
+ // questions through the TTY prompt path. Letting the templatizer build
90
+ // its own prompter guarantees the noTty flag cascades.
91
+ prompter: noTty ? undefined : prompter,
88
92
  // When dir is specified, bypass .boilerplates.json resolution entirely
89
93
  useBoilerplatesConfig: !dir,
90
94
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/core",
3
- "version": "7.9.0",
3
+ "version": "7.10.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM Package and Migration Tools",
6
6
  "main": "index.js",
@@ -48,23 +48,23 @@
48
48
  "makage": "^0.3.0"
49
49
  },
50
50
  "dependencies": {
51
- "@pgpmjs/ast": "^0.5.0",
52
- "@pgpmjs/bundle": "^0.6.0",
53
- "@pgpmjs/env": "^2.33.0",
54
- "@pgpmjs/logger": "^2.18.0",
55
- "@pgpmjs/server-utils": "^3.19.0",
56
- "@pgpmjs/slice": "^0.5.0",
57
- "@pgpmjs/types": "^2.40.0",
58
- "csv-to-pg": "^4.4.0",
51
+ "@pgpmjs/ast": "^0.6.0",
52
+ "@pgpmjs/bundle": "^0.7.0",
53
+ "@pgpmjs/env": "^2.34.0",
54
+ "@pgpmjs/logger": "^2.19.0",
55
+ "@pgpmjs/server-utils": "^3.20.0",
56
+ "@pgpmjs/slice": "^0.6.0",
57
+ "@pgpmjs/types": "^2.42.0",
58
+ "csv-to-pg": "^4.5.0",
59
59
  "genomic": "^5.6.2",
60
60
  "glob": "^13.0.6",
61
61
  "parse-package-name": "^1.0.0",
62
62
  "pg": "^8.21.0",
63
- "pg-cache": "^3.19.0",
64
- "pg-env": "^1.22.0",
63
+ "pg-cache": "^3.20.0",
64
+ "pg-env": "^1.23.0",
65
65
  "pgsql-deparser": "^18.1.1",
66
66
  "pgsql-parser": "^18.1.1",
67
67
  "yanse": "^0.2.1"
68
68
  },
69
- "gitHead": "f36bcdd2b5dada626955e9e05b19c80ca9f92ed5"
69
+ "gitHead": "bb3269d48cdf2bc8f361bdd79b4833c921c13ec3"
70
70
  }