diff options
author | 2021-10-22 15:59:02 -0400 | |
---|---|---|
committer | 2021-10-22 15:59:02 -0400 | |
commit | 28f00566cac7688bd4b958656e1374c4e41be201 (patch) | |
tree | 90ce50124f4550740f237c03b72520f7f73387e3 | |
parent | 6e7a14188fcd8817e9c0ad0d5a924dab89af596f (diff) | |
download | astro-28f00566cac7688bd4b958656e1374c4e41be201.tar.gz astro-28f00566cac7688bd4b958656e1374c4e41be201.tar.zst astro-28f00566cac7688bd4b958656e1374c4e41be201.zip |
Make create-astro use the `latest` branch (#1636)
* Make create-astro use the `latest` branch
* Adds a changeset
Diffstat (limited to '')
-rw-r--r-- | .changeset/slow-panthers-punch.md | 5 | ||||
-rw-r--r-- | packages/create-astro/src/index.ts | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/slow-panthers-punch.md b/.changeset/slow-panthers-punch.md new file mode 100644 index 000000000..1bc0cd1bc --- /dev/null +++ b/.changeset/slow-panthers-punch.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Updates create-astro to use the latest branch diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index aa2cf7c5a..21fa49de1 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/examples/${options.template}`; + const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro#latest/examples/${options.template}`; const emitter = degit(`${templateTarget}${hash}`, { cache: false, |