summaryrefslogtreecommitdiff
path: root/packages/create-astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/create-astro')
-rw-r--r--packages/create-astro/README.md2
-rw-r--r--packages/create-astro/package.json2
-rw-r--r--packages/create-astro/src/index.ts8
3 files changed, 6 insertions, 6 deletions
diff --git a/packages/create-astro/README.md b/packages/create-astro/README.md
index d8c6213de..5709fa426 100644
--- a/packages/create-astro/README.md
+++ b/packages/create-astro/README.md
@@ -43,4 +43,4 @@ May be provided in place of prompts
| `--template` | Specify the template name ([list][examples]) |
| `--commit` | Specify a specific Git commit or branch to use from this repo (by default, `main` branch of this repo will be used) |
-[examples]: https://github.com/snowpackjs/astro/tree/main/examples
+[examples]: https://github.com/withastro/astro/tree/main/examples
diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json
index 67376df5c..c6a148486 100644
--- a/packages/create-astro/package.json
+++ b/packages/create-astro/package.json
@@ -4,7 +4,7 @@
"type": "module",
"repository": {
"type": "git",
- "url": "https://github.com/snowpackjs/astro.git",
+ "url": "https://github.com/withastro/astro.git",
"directory": "packages/create-astro"
},
"exports": {
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index fb4dfe26a..1334c747a 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -32,7 +32,7 @@ const POSTPROCESS_FILES = ['package.json', 'astro.config.mjs', 'CHANGELOG.md'];
export async function main() {
console.log(`\n${bold('Welcome to Astro!')} ${gray(`(create-astro v${version})`)}`);
- console.log(`If you encounter a problem, visit ${cyan('https://github.com/snowpackjs/astro/issues')} to search or file a new issue.\n`);
+ console.log(`If you encounter a problem, visit ${cyan('https://github.com/withastro/astro/issues')} to search or file a new issue.\n`);
console.log(`${green(`>`)} ${gray(`Prepare for liftoff.`)}`);
console.log(`${green(`>`)} ${gray(`Gathering mission details...`)}`);
@@ -70,7 +70,7 @@ export async function main() {
const hash = args.commit ? `#${args.commit}` : '';
- const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro/examples/${options.template}#latest`;
+ const templateTarget = options.template.includes('/') ? options.template : `withastro/astro/examples/${options.template}#latest`;
const emitter = degit(`${templateTarget}${hash}`, {
cache: false,
@@ -109,13 +109,13 @@ export async function main() {
// Warning for issue #655
if (err.message === 'zlib: unexpected end of file') {
console.log(yellow("This seems to be a cache related problem. Remove the folder '~/.degit/github/snowpackjs' to fix this error."));
- console.log(yellow('For more information check out this issue: https://github.com/snowpackjs/astro/issues/655'));
+ console.log(yellow('For more information check out this issue: https://github.com/withastro/astro/issues/655'));
}
// Helpful message when encountering the "could not find commit hash for ..." error
if (err.code === 'MISSING_REF') {
console.log(yellow("This seems to be an issue with degit. Please check if you have 'git' installed on your system, and install it if you don't have (https://git-scm.com)."));
- console.log(yellow("If you do have 'git' installed, please file a new issue here: https://github.com/snowpackjs/astro/issues"));
+ console.log(yellow("If you do have 'git' installed, please file a new issue here: https://github.com/withastro/astro/issues"));
}
process.exit(1);
}