create-mikstack 0.1.0 → 0.1.2
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.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -198,7 +198,8 @@ function scaffold(config) {
|
|
|
198
198
|
if (fs.existsSync(target)) {
|
|
199
199
|
if (fs.readdirSync(target).length > 0) throw new Error(`Target directory "${config.targetDir}" is not empty. Please choose a different name or remove the directory.`);
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
const svBin = new URL("../bin.mjs", import.meta.resolve("sv")).pathname;
|
|
202
|
+
execSync(`node ${svBin} create ${target} --template minimal --types ts --add devtools-json --no-install`, { stdio: "pipe" });
|
|
202
203
|
const overlay = (dir) => {
|
|
203
204
|
copyDir(dir, target);
|
|
204
205
|
mergePartials(target);
|