From b07bb60f6b69dc697ab128978e0e79f98e7beddf Mon Sep 17 00:00:00 2001 From: osdevisnot Date: Mon, 10 Aug 2020 16:42:28 -0700 Subject: [PATCH] style: ignore yarn lock and package lock in gitignore --- src/init-create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-create.js b/src/init-create.js index f204512..2161b3e 100644 --- a/src/init-create.js +++ b/src/init-create.js @@ -68,7 +68,7 @@ export const getDefaults = (pkg, template) => }, { file: '.gitignore', - content: ['node_modules', 'dist', 'coverage', '.idea', '*.log'].join('\n'), + content: ['node_modules', 'dist', 'coverage', '.idea', '*.log', 'yarn.lock', 'package-lock.json'].join('\n'), }, { file: 'public/index.html',