Skip to content

Commit

Permalink
Add yarn 2 Setup Files to Valid Files for create-next-app (#30936)
Browse files Browse the repository at this point in the history
* added yarn 2 based files/dirs to valid files

* remove package.json

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
sicarius97 and ijjk committed Aug 8, 2022
1 parent 4da09da commit b30ae64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/create-next-app/helpers/is-folder-empty.ts
Expand Up @@ -23,6 +23,8 @@ export function isFolderEmpty(root: string, name: string): boolean {
'npm-debug.log',
'yarn-debug.log',
'yarn-error.log',
'yarnrc.yml',
'.yarn',
]

const conflicts = fs
Expand Down

0 comments on commit b30ae64

Please sign in to comment.