From 025f5e3f22a2ed756a53114d7045901117493bba Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Fri, 22 Oct 2021 16:18:33 -0400 Subject: [PATCH] Revert "Make create-astro use the `latest` branch (#1636)" (#1638) * Revert "Make create-astro use the `latest` branch (#1636)" This reverts commit 28f00566cac7688bd4b958656e1374c4e41be201. * Adds a changeset --- .changeset/early-chicken-scream.md | 5 +++++ packages/create-astro/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/early-chicken-scream.md diff --git a/.changeset/early-chicken-scream.md b/.changeset/early-chicken-scream.md new file mode 100644 index 000000000..bbe63e94b --- /dev/null +++ b/.changeset/early-chicken-scream.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Fix to revert change pointing create-astro at the latest branch diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index 21fa49de1..aa2cf7c5a 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -64,7 +64,7 @@ export async function main() { const hash = args.commit ? `#${args.commit}` : ''; - const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro#latest/examples/${options.template}`; + const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro/examples/${options.template}`; const emitter = degit(`${templateTarget}${hash}`, { cache: false,