create-macostack 0.1.0 → 0.1.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.
@@ -227,6 +227,7 @@ const runCommand = ({
227
227
  }: RunCommandProps) => {
228
228
  const result = Bun.spawnSync(command, {
229
229
  cwd,
230
+ stdin: "inherit",
230
231
  stdout: "inherit",
231
232
  stderr: "inherit",
232
233
  });
@@ -433,7 +434,9 @@ const buildTemplates = (selectedParts: StackPart[]) => {
433
434
  },
434
435
  } satisfies Record<StackPart, TemplateConfig>;
435
436
 
436
- return selectedParts.map((part) => templates[part]);
437
+ return [STACK_PART.SERVER, STACK_PART.CLIENT]
438
+ .filter((part) => selectedParts.includes(part))
439
+ .map((part) => templates[part]);
437
440
  };
438
441
 
439
442
  const scaffoldTemplate = async (config: ScaffoldConfig, template: TemplateConfig) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-macostack",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Private macostack scaffold orchestrator for detached server/client repos.",
5
5
  "type": "module",
6
6
  "bin": {