create-nextblock 0.2.4 → 0.2.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.
@@ -202,7 +202,7 @@ async function runSetupWizard(projectDir, projectName) {
202
202
  cwd: projectPath,
203
203
  stdin: 'inherit',
204
204
  stdout: 'pipe',
205
- stderr: 'inherit',
205
+ stderr: 'pipe',
206
206
  });
207
207
  if (linkProcess.stdout) {
208
208
  linkProcess.stdout.on('data', (chunk) => {
@@ -211,7 +211,22 @@ async function runSetupWizard(projectDir, projectName) {
211
211
  process.stdout.write(text);
212
212
  });
213
213
  }
214
+ if (linkProcess.stderr) {
215
+ linkProcess.stderr.on('data', (chunk) => {
216
+ const text = chunk.toString();
217
+ linkOutput += text;
218
+ process.stderr.write(text);
219
+ });
220
+ }
214
221
  await linkProcess;
222
+ if (process.stdin.isTTY) {
223
+ try {
224
+ process.stdin.setRawMode(false);
225
+ } catch (_) {
226
+ // ignore if not supported
227
+ }
228
+ }
229
+ process.stdin.resume();
215
230
 
216
231
  const configTomlPath = resolve(projectPath, 'supabase', 'config.toml');
217
232
  let configToml = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextblock",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextblock-cms/template",
3
- "version": "0.2.0",
3
+ "version": "0.2.5",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev",