summaryrefslogtreecommitdiff
path: root/packages/create-astro/src/index.ts
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2023-08-16 14:37:43 -0500
committerGravatar GitHub <noreply@github.com> 2023-08-16 14:37:43 -0500
commite6e1de4f08ddba3a7703136a81f275de1976dc9e (patch)
treecf053566e682cb866e028d0dbbc11614cca7660f /packages/create-astro/src/index.ts
parent42ed85b3e263bb5e28725395924d0b595e1e0041 (diff)
downloadastro-e6e1de4f08ddba3a7703136a81f275de1976dc9e.tar.gz
astro-e6e1de4f08ddba3a7703136a81f275de1976dc9e.tar.zst
astro-e6e1de4f08ddba3a7703136a81f275de1976dc9e.zip
[create-astro] verify connectivity and --template (#8102)
* feat(create-astro): verify that --template exists * feat: verify internet connectivity * chore: skip connectivity check on --dry-run * chore: fix lint
Diffstat (limited to '')
-rw-r--r--packages/create-astro/src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index b99aa1cc3..d23163c7e 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -3,6 +3,7 @@ import { getContext } from './actions/context.js';
import { dependencies } from './actions/dependencies.js';
import { git } from './actions/git.js';
import { help } from './actions/help.js';
+import { verify } from './actions/verify.js';
import { intro } from './actions/intro.js';
import { next } from './actions/next-steps.js';
import { projectName } from './actions/project-name.js';
@@ -30,6 +31,7 @@ export async function main() {
}
const steps = [
+ verify,
intro,
projectName,
template,
@@ -51,6 +53,7 @@ export {
dependencies,
getContext,
git,
+ verify,
intro,
next,
projectName,