create-astro 4.5.2 โ 4.6.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 +27 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -249,24 +249,30 @@ async function spinner(args) {
|
|
|
249
249
|
}
|
|
250
250
|
var title = (text2) => align(label(text2), "end", 7) + " ";
|
|
251
251
|
var welcome = [
|
|
252
|
-
`Let's claim your corner of the internet.`,
|
|
253
|
-
`I'll be your assistant today.`,
|
|
254
|
-
`Let's build something awesome!`,
|
|
255
|
-
`Let's build something great!`,
|
|
256
|
-
`Let's build something fast!`,
|
|
257
|
-
`Let's build the web we want.`,
|
|
258
|
-
`Let's make the web weird!`,
|
|
259
|
-
`Let's make the web a better place!`,
|
|
260
|
-
`Let's create a new project!`,
|
|
261
|
-
`Let's create something unique!`,
|
|
262
|
-
`Time to build a new website.`,
|
|
263
|
-
`Time to build a faster website.`,
|
|
264
|
-
`Time to build a sweet new website.`,
|
|
265
|
-
`We're glad to have you on board.`,
|
|
266
|
-
`Keeping the internet weird since 2021.`,
|
|
267
|
-
`Initiating launch sequence...`,
|
|
268
|
-
`Initiating launch sequence... right... now!`,
|
|
269
|
-
`Awaiting further instructions
|
|
252
|
+
// `Let's claim your corner of the internet.`,
|
|
253
|
+
// `I'll be your assistant today.`,
|
|
254
|
+
// `Let's build something awesome!`,
|
|
255
|
+
// `Let's build something great!`,
|
|
256
|
+
// `Let's build something fast!`,
|
|
257
|
+
// `Let's build the web we want.`,
|
|
258
|
+
// `Let's make the web weird!`,
|
|
259
|
+
// `Let's make the web a better place!`,
|
|
260
|
+
// `Let's create a new project!`,
|
|
261
|
+
// `Let's create something unique!`,
|
|
262
|
+
// `Time to build a new website.`,
|
|
263
|
+
// `Time to build a faster website.`,
|
|
264
|
+
// `Time to build a sweet new website.`,
|
|
265
|
+
// `We're glad to have you on board.`,
|
|
266
|
+
// `Keeping the internet weird since 2021.`,
|
|
267
|
+
// `Initiating launch sequence...`,
|
|
268
|
+
// `Initiating launch sequence... right... now!`,
|
|
269
|
+
// `Awaiting further instructions.`,
|
|
270
|
+
`Ho, ho, ho! 'Tis the season to code and create.`,
|
|
271
|
+
`Jingle all the way through your web creation journey!`,
|
|
272
|
+
`Let's unwrap the magic of the web together!`,
|
|
273
|
+
`Bells are ringing, and so are your creative ideas!`,
|
|
274
|
+
`It's starting to look a lot like Christmas on the internet.`,
|
|
275
|
+
`It's time to decorate the web with your festive ideas!`
|
|
270
276
|
];
|
|
271
277
|
var getName = () => new Promise((resolve) => {
|
|
272
278
|
exec("git config user.name", { encoding: "utf-8" }, (_1, gitName) => {
|
|
@@ -384,7 +390,7 @@ function printHelp({
|
|
|
384
390
|
if (headline) {
|
|
385
391
|
message.push(
|
|
386
392
|
linebreak(),
|
|
387
|
-
`${title(commandName)} ${color.green(`v${"4.
|
|
393
|
+
`${title(commandName)} ${color.green(`v${"4.6.0"}`)} ${headline}`
|
|
388
394
|
);
|
|
389
395
|
}
|
|
390
396
|
if (usage) {
|
|
@@ -470,7 +476,8 @@ async function getContext(argv) {
|
|
|
470
476
|
projectName: projectName2,
|
|
471
477
|
template: template2,
|
|
472
478
|
ref: ref ?? "latest",
|
|
473
|
-
hat:
|
|
479
|
+
hat: random(["\u2744\uFE0F", "\u{1F384}", "\u{1F381}"]),
|
|
480
|
+
// fancy ? random(['๐ฉ', '๐ฉ', '๐ฉ', '๐ฉ', '๐', '๐', '๐งข', '๐ฆ']) : undefined,
|
|
474
481
|
yes,
|
|
475
482
|
install: install2 ?? (noInstall ? false : void 0),
|
|
476
483
|
git: git2 ?? (noGit ? false : void 0),
|