storyblok 4.26.0 → 4.26.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/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -6896,11 +6896,13 @@ const generateProject = async (blueprint, projectName, targetPath = process.cwd(
|
|
|
6896
6896
|
const fsError = error;
|
|
6897
6897
|
if (fsError.code === "ENOENT") {} else handleFileSystemError("read", fsError);
|
|
6898
6898
|
}
|
|
6899
|
+
await fs.mkdir(targetPath, { recursive: true });
|
|
6899
6900
|
const degitProcess = spawn("npx", [
|
|
6900
6901
|
"degit",
|
|
6901
6902
|
templateRepo,
|
|
6902
|
-
|
|
6903
|
+
projectName
|
|
6903
6904
|
], {
|
|
6905
|
+
cwd: targetPath,
|
|
6904
6906
|
stdio: "inherit",
|
|
6905
6907
|
shell: true
|
|
6906
6908
|
});
|