create-kor 0.1.0 → 0.2.0
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/index.js +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -31,6 +31,9 @@ try {
|
|
|
31
31
|
process.exit(1);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
// Remove the scaffolding package from the generated project
|
|
35
|
+
fs.rmSync(path.join(dest, "create-kor"), { recursive: true, force: true });
|
|
36
|
+
|
|
34
37
|
// Update root package.json name
|
|
35
38
|
const pkgPath = path.join(dest, "package.json");
|
|
36
39
|
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
|