diff --git a/.changeset/pre.json b/.changeset/pre.json index 7c8a70640c..05de26cd1b 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -39,7 +39,6 @@ "@example/subpath": "0.0.1" }, "changesets": [ - "beige-hairs-design", "beige-kings-listen", "bright-glasses-jump", "curvy-glasses-rest", @@ -47,14 +46,11 @@ "dull-bikes-doubt", "dull-steaks-dance", "giant-shirts-sing", - "heavy-boxes-deliver", "little-dogs-help", "many-donkeys-report", "pink-trainers-learn", "polite-ladybugs-train", "quick-cheetahs-itch", - "real-cats-act", - "serious-knives-hug", "shaggy-guests-type", "silly-apples-build", "silly-peas-battle", diff --git a/package.json b/package.json index d4e112a9fb..28173b2b6d 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "benchmark": "yarn workspace astro run benchmark", "build": "yarn build:core", "build:one": "lerna run build --scope", - "build:all": "lerna run build --scope \"{astro,@astrojs/*}\"", + "build:all": "lerna run build --scope \"{astro,create-astro,@astrojs/*}\"", "build:core": "lerna run build --scope \"{astro,@astrojs/parser,@astrojs/markdown-remark}\"", "dev": "yarn dev:core --parallel --stream", "dev:one": "lerna run dev --scope --parallel --stream", diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index a4a72f6dc9..ce78bfa127 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -20,7 +20,7 @@ prompts.override(args); export function mkdirp(dir: string) { try { fs.mkdirSync(dir, { recursive: true }); - } catch (e) { + } catch (e: any) { if (e.code === 'EEXIST') return; throw e; } @@ -102,7 +102,7 @@ export async function main() { // emitter.on('info', info => { console.log(info.message) }); console.log(`${green(`>`)} ${gray(`Copying project files...`)}`); await emitter.clone(cwd); - } catch (err) { + } catch (err: any) { // degit is compiled, so the stacktrace is pretty noisy. Just report the message. console.error(red(err.message));