create-astro 4.0.0 → 4.0.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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -388,7 +388,7 @@ function printHelp({
|
|
|
388
388
|
if (headline) {
|
|
389
389
|
message.push(
|
|
390
390
|
linebreak(),
|
|
391
|
-
`${title(commandName)} ${color.green(`v${"4.0.
|
|
391
|
+
`${title(commandName)} ${color.green(`v${"4.0.1"}`)} ${headline}`
|
|
392
392
|
);
|
|
393
393
|
}
|
|
394
394
|
if (usage) {
|
|
@@ -799,7 +799,7 @@ async function template(ctx) {
|
|
|
799
799
|
ctx.exit(1);
|
|
800
800
|
}
|
|
801
801
|
}
|
|
802
|
-
var FILES_TO_REMOVE = ["
|
|
802
|
+
var FILES_TO_REMOVE = ["CHANGELOG.md", ".codesandbox"];
|
|
803
803
|
var FILES_TO_UPDATE = {
|
|
804
804
|
"package.json": (file, overrides) => fs4.promises.readFile(file, "utf-8").then((value) => {
|
|
805
805
|
const indent = /(^\s+)/m.exec(value)?.[1] ?? " ";
|