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.
- package/bin/create-macostack.ts +4 -1
- package/package.json +1 -1
package/bin/create-macostack.ts
CHANGED
|
@@ -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
|
|
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) => {
|