From 24df6070076187e848c106702a44f2edccd72263 Mon Sep 17 00:00:00 2001 From: Pranav Yadav Date: Tue, 25 Jul 2023 09:41:24 -0700 Subject: [PATCH] Delete and `gitignore` unwanted lock files (#4899) Summary: This diff deletes unnecessary lock files which were checked out but aren't necessary and `gitignore` those files: - `yarn.lock` - `js/yarn.lock` - `react-native/yarn.lock` ## Changelog [General] [Removed] - Delete unnecessary lock files. Pull Request resolved: https://github.com/facebook/flipper/pull/4899 Test Plan: - None Reviewed By: aigoncharov Differential Revision: D47755862 Pulled By: passy fbshipit-source-id: 8e9a03b59df1a2891004de3edbd9c3569d2d6055 --- .gitignore | 8 ++++++++ js/yarn.lock | 4 ---- react-native/yarn.lock | 4 ---- yarn.lock | 4 ---- 4 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 js/yarn.lock delete mode 100644 react-native/yarn.lock delete mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore index 3d918d220..9a301999a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,14 @@ manifest.json # conflicts with FB internal infra .watchmanconfig +# Don't checkout the yarn/npm lock files that we don't need +./yarn.lock +./package-lock.json +js/yarn.lock +js/package-lock.json +react-native/yarn.lock +react-native/package-lock.json + # iOS / Xcode *.xcworkspace **/Pods/ diff --git a/js/yarn.lock b/js/yarn.lock deleted file mode 100644 index fb57ccd13..000000000 --- a/js/yarn.lock +++ /dev/null @@ -1,4 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - diff --git a/react-native/yarn.lock b/react-native/yarn.lock deleted file mode 100644 index fb57ccd13..000000000 --- a/react-native/yarn.lock +++ /dev/null @@ -1,4 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index fb57ccd13..000000000 --- a/yarn.lock +++ /dev/null @@ -1,4 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - -