Skip to content

Commit

Permalink
create-astro help info add --typescript flag (#6294)
Browse files Browse the repository at this point in the history
* create-astro help info add --typescript flag

* changeset

* changeset
  • Loading branch information
liruifengv authored Feb 21, 2023
1 parent f218188 commit d0dbee8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-pumpkins-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-astro': patch
---

`create-astro` help info add `--typescript` flag
1 change: 1 addition & 0 deletions packages/create-astro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions packages/create-astro/src/actions/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.'],
],
},
});
Expand Down

0 comments on commit d0dbee8

Please sign in to comment.