From 00edaeeaf4d34974fa85a7fe5cc2248931781e1b Mon Sep 17 00:00:00 2001 From: Oscar Busk Date: Tue, 26 Oct 2021 20:47:09 +0200 Subject: [PATCH] Remove versions from the package.json in templates. To be consistent with #27121. --- packages/create-next-app/create-app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/create-next-app/create-app.ts b/packages/create-next-app/create-app.ts index 246d333ea3f99c..26ee0b5be9d826 100644 --- a/packages/create-next-app/create-app.ts +++ b/packages/create-next-app/create-app.ts @@ -44,7 +44,7 @@ export async function createApp({ try { repoUrl = new URL(example) - } catch (error: any) { + } catch (error) { if (error.code !== 'ERR_INVALID_URL') { console.error(error) process.exit(1) @@ -203,7 +203,6 @@ export async function createApp({ */ const packageJson = { name: appName, - version: '0.1.0', private: true, scripts: { dev: 'next dev',