create-astro 4.11.3 → 4.12.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/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -442,7 +442,7 @@ function printHelp({
|
|
|
442
442
|
if (headline) {
|
|
443
443
|
message.push(
|
|
444
444
|
linebreak(),
|
|
445
|
-
`${title(commandName)} ${color.green(`v${"4.
|
|
445
|
+
`${title(commandName)} ${color.green(`v${"4.12.0"}`)} ${headline}`
|
|
446
446
|
);
|
|
447
447
|
}
|
|
448
448
|
if (usage) {
|
|
@@ -518,7 +518,7 @@ async function getContext(argv) {
|
|
|
518
518
|
prompt,
|
|
519
519
|
packageManager,
|
|
520
520
|
username: getName(),
|
|
521
|
-
version: getVersion(packageManager, "astro", "5.
|
|
521
|
+
version: getVersion(packageManager, "astro", "5.8.0"),
|
|
522
522
|
skipHouston,
|
|
523
523
|
fancy,
|
|
524
524
|
add,
|
|
@@ -628,7 +628,7 @@ async function astroAdd({
|
|
|
628
628
|
}
|
|
629
629
|
async function install({ packageManager, cwd }) {
|
|
630
630
|
if (packageManager === "yarn") await ensureYarnLock({ cwd });
|
|
631
|
-
return shell(packageManager, ["
|
|
631
|
+
return shell(packageManager, ["install"], { cwd, timeout: 9e4, stdio: "ignore" });
|
|
632
632
|
}
|
|
633
633
|
async function ensureYarnLock({ cwd }) {
|
|
634
634
|
const yarnLock = path.join(cwd, "yarn.lock");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-astro",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "withastro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"astro-scripts": "0.0.14"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": "
|
|
36
|
+
"node": "18.20.8 || ^20.3.0 || >=22.0.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"provenance": true
|