Skip to content

Commit d5ca588

Browse files
committed
feat(yarn): remove package-lock.json when Yarn 2 is setting up
1 parent ce46703 commit d5ca588

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/actions/CreateYarn2ConfigsAction.ts

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export class CreateYarn2ConfigsAction extends Action {
3030
// Remove old .yarnrc
3131
await removeFile(withCurrentDir("./.yarnrc"));
3232

33+
// Remove package-lock.json
34+
await removeFile(withCurrentDir("./package-lock.json"));
35+
3336
// Configure .gitignore for yarn
3437
await writeContentToFile(
3538
withCurrentDir("./.gitignore"),

0 commit comments

Comments
 (0)