@pgpmjs/core 7.9.0 → 7.9.1
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.
|
@@ -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.
|
|
3
|
+
"version": "7.9.1",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM Package and Migration Tools",
|
|
6
6
|
"main": "index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"pgsql-parser": "^18.1.1",
|
|
67
67
|
"yanse": "^0.2.1"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "dd16395013ff8c9d5e4cd2f5f5bec72c46f4099b"
|
|
70
70
|
}
|