From a94f3d81cbeb19b1de311000bcfaf18e0f1f1226 Mon Sep 17 00:00:00 2001 From: Binyuan Hui Date: Wed, 20 Mar 2024 21:35:51 +0800 Subject: [PATCH] fix: merge multiple .gitignore to unify management (#61) --- .gitignore | 29 +++++++++++++++++++++++++++++ agent/.gitignore | 3 --- frontend/.gitignore | 24 ------------------------ server/.gitignore | 1 - 4 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 agent/.gitignore delete mode 100644 frontend/.gitignore delete mode 100644 server/.gitignore diff --git a/.gitignore b/.gitignore index 44bbb13b473b..5e212b253169 100644 --- a/.gitignore +++ b/.gitignore @@ -159,3 +159,32 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea/ .vscode/ + +# frontend + +# dependencies +frontend/node_modules +frontend/.pnp +.pnp.js + +# testing +frontend/coverage + +# production +frontend/build +frontend/dist + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# agent +.envrc +agent/workspace diff --git a/agent/.gitignore b/agent/.gitignore deleted file mode 100644 index 205bd12e7fc6..000000000000 --- a/agent/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.envrc -__pycache__ -./workspace diff --git a/frontend/.gitignore b/frontend/.gitignore deleted file mode 100644 index 800f3a80c348..000000000000 --- a/frontend/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build -/dist - -# misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local - -npm-debug.log* -yarn-debug.log* -yarn-error.log* diff --git a/server/.gitignore b/server/.gitignore deleted file mode 100644 index bee8a64b79a9..000000000000 --- a/server/.gitignore +++ /dev/null @@ -1 +0,0 @@ -__pycache__