create-astro 4.4.1 โ†’ 4.5.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.
Files changed (2) hide show
  1. package/dist/index.js +21 -29
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -249,31 +249,24 @@ 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.`,
270
- `Booo! Let's scare the interwebs!`,
271
- `Get ready to haunt the internet with Halloween vibes.`,
272
- `Harness the power of the web for your frightful ideas.`,
273
- `It's time to conjure up an online spooktacular masterpiece.`,
274
- `Prepare for a web of Halloween wonders to be woven.`,
275
- `Chills and thrills await as you embark on your web journey`,
276
- `The internet is about to get a whole lot creepier thanks to your new project.`
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.`
277
270
  ];
278
271
  var getName = () => new Promise((resolve) => {
279
272
  exec("git config user.name", { encoding: "utf-8" }, (_1, gitName) => {
@@ -391,7 +384,7 @@ function printHelp({
391
384
  if (headline) {
392
385
  message.push(
393
386
  linebreak(),
394
- `${title(commandName)} ${color.green(`v${"4.4.1"}`)} ${headline}`
387
+ `${title(commandName)} ${color.green(`v${"4.5.0"}`)} ${headline}`
395
388
  );
396
389
  }
397
390
  if (usage) {
@@ -477,8 +470,7 @@ async function getContext(argv) {
477
470
  projectName: projectName2,
478
471
  template: template2,
479
472
  ref: ref ?? "latest",
480
- hat: random(["\u{1F383}", "\u{1F47B}", "\u{1F56F}\uFE0F"]),
481
- //fancy ? random(['๐ŸŽฉ', '๐ŸŽฉ', '๐ŸŽฉ', '๐ŸŽฉ', '๐ŸŽ“', '๐Ÿ‘‘', '๐Ÿงข', '๐Ÿฆ']) : undefined,
473
+ hat: fancy ? random(["\u{1F3A9}", "\u{1F3A9}", "\u{1F3A9}", "\u{1F3A9}", "\u{1F393}", "\u{1F451}", "\u{1F9E2}", "\u{1F366}"]) : void 0,
482
474
  yes,
483
475
  install: install2 ?? (noInstall ? false : void 0),
484
476
  git: git2 ?? (noGit ? false : void 0),
@@ -1050,7 +1042,7 @@ var FILES_TO_UPDATE2 = {
1050
1042
  "package.json": async (file, options) => {
1051
1043
  try {
1052
1044
  if (options.ctx.install)
1053
- await shell(options.ctx.packageManager, ["install", "@astrojs/check", "typescript"], {
1045
+ await shell(options.ctx.packageManager, ["add", "@astrojs/check", "typescript"], {
1054
1046
  cwd: path6.dirname(file),
1055
1047
  stdio: "ignore"
1056
1048
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astro",
3
- "version": "4.4.1",
3
+ "version": "4.5.0",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",