create-astro 3.0.2 → 3.0.3

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/README.md CHANGED
@@ -40,13 +40,14 @@ May be provided in place of prompts
40
40
 
41
41
  | Name | Description |
42
42
  |:-------------|:----------------------------------------------------|
43
- | `--template <name> | Specify your template. |
44
- | `--install / --no-install | Install dependencies (or not). |
45
- | `--git / --no-git | Initialize git repo (or not). |
46
- | `--yes (-y) | Skip all prompt by accepting defaults. |
47
- | `--no (-n) | Skip all prompt by declining defaults. |
48
- | `--dry-run | Walk through steps without executing. |
49
- | `--skip-houston | Skip Houston animation. |
43
+ | `--template <name>` | Specify your template. |
44
+ | `--install` / `--no-install` | Install dependencies (or not). |
45
+ | `--git` / `--no-git` | Initialize git repo (or not). |
46
+ | `--yes` (`-y`) | Skip all prompt by accepting defaults. |
47
+ | `--no` (`-n`) | Skip all prompt by declining defaults. |
48
+ | `--dry-run` | Walk through steps without executing. |
49
+ | `--skip-houston` | Skip Houston animation. |
50
+ | `--typescript <option>` | TypeScript option: `strict` / `strictest` / `relaxed`. |
50
51
 
51
52
  [examples]: https://github.com/withastro/astro/tree/main/examples
52
53
  [typescript]: https://github.com/withastro/astro/tree/main/packages/astro/tsconfigs
package/dist/index.js CHANGED
@@ -362,7 +362,7 @@ function printHelp({
362
362
  if (headline) {
363
363
  message.push(
364
364
  linebreak(),
365
- `${title(commandName)} ${color.green(`v${"3.0.2"}`)} ${headline}`
365
+ `${title(commandName)} ${color.green(`v${"3.0.3"}`)} ${headline}`
366
366
  );
367
367
  }
368
368
  if (usage) {
@@ -574,7 +574,8 @@ function help() {
574
574
  ["--yes (-y)", "Skip all prompt by accepting defaults."],
575
575
  ["--no (-n)", "Skip all prompt by declining defaults."],
576
576
  ["--dry-run", "Walk through steps without executing."],
577
- ["--skip-houston", "Skip Houston animation."]
577
+ ["--skip-houston", "Skip Houston animation."],
578
+ ["--typescript <option>", "TypeScript option: strict | strictest | relaxed."]
578
579
  ]
579
580
  }
580
581
  });
@@ -987,7 +988,15 @@ async function main() {
987
988
  help();
988
989
  return;
989
990
  }
990
- const steps = [intro, projectName, template, dependencies, git, typescript, next];
991
+ const steps = [
992
+ intro,
993
+ projectName,
994
+ template,
995
+ dependencies,
996
+ typescript,
997
+ git,
998
+ next
999
+ ];
991
1000
  for (const step of steps) {
992
1001
  await step(ctx);
993
1002
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astro",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "devDependencies": {
35
35
  "@types/which-pm-runs": "^1.0.0",
36
36
  "arg": "^5.0.2",
37
- "astro-scripts": "0.0.10",
37
+ "astro-scripts": "0.0.11",
38
38
  "strip-ansi": "^7.0.1",
39
39
  "strip-json-comments": "^5.0.0",
40
40
  "which-pm-runs": "^1.1.0"