diff options
-rw-r--r-- | .changeset/rare-pumpkins-end.md | 5 | ||||
-rw-r--r-- | packages/create-astro/README.md | 1 | ||||
-rw-r--r-- | packages/create-astro/src/actions/help.ts | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/rare-pumpkins-end.md b/.changeset/rare-pumpkins-end.md new file mode 100644 index 000000000..c7a48d5f0 --- /dev/null +++ b/.changeset/rare-pumpkins-end.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +`create-astro` help info add `--typescript` flag diff --git a/packages/create-astro/README.md b/packages/create-astro/README.md index a7f721d57..0b0c9813c 100644 --- a/packages/create-astro/README.md +++ b/packages/create-astro/README.md @@ -47,6 +47,7 @@ May be provided in place of prompts | `--no` (`-n`) | Skip all prompt by declining defaults. | | `--dry-run` | Walk through steps without executing. | | `--skip-houston` | Skip Houston animation. | +| `--typescript <option>` | TypeScript option: `strict` / `strictest` / `relaxed`. | [examples]: https://github.com/withastro/astro/tree/main/examples [typescript]: https://github.com/withastro/astro/tree/main/packages/astro/tsconfigs diff --git a/packages/create-astro/src/actions/help.ts b/packages/create-astro/src/actions/help.ts index 3ab4ca8b3..1c972aaca 100644 --- a/packages/create-astro/src/actions/help.ts +++ b/packages/create-astro/src/actions/help.ts @@ -14,6 +14,7 @@ export function help() { ['--no (-n)', 'Skip all prompt by declining defaults.'], ['--dry-run', 'Walk through steps without executing.'], ['--skip-houston', 'Skip Houston animation.'], + ['--typescript <option>', 'TypeScript option: strict | strictest | relaxed.'], ], }, }); |