Skip to content

Commit

Permalink
Remove versions from the package.json in templates.
Browse files Browse the repository at this point in the history
To be consistent with vercel#27121.
  • Loading branch information
oBusk committed Oct 26, 2021
1 parent cb36233 commit 00edaee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/create-next-app/create-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -203,7 +203,6 @@ export async function createApp({
*/
const packageJson = {
name: appName,
version: '0.1.0',
private: true,
scripts: {
dev: 'next dev',
Expand Down

0 comments on commit 00edaee

Please sign in to comment.