From c3783c3666def6e71ac068343b5ffceed6f92d26 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 15 Oct 2023 19:02:40 +0200 Subject: [PATCH] refactor: Unify package .gitignores Signed-off-by: jld3103 --- .gitignore | 13 ++++- packages/app/.gitignore | 48 ------------------- packages/dynamite/dynamite/.gitignore | 12 ----- packages/dynamite/dynamite_runtime/.gitignore | 8 ---- packages/file_icons/.gitignore | 10 ---- packages/neon/neon/.gitignore | 48 ------------------- packages/neon/neon_files/.gitignore | 48 ------------------- packages/neon/neon_news/.gitignore | 48 ------------------- packages/neon/neon_notes/.gitignore | 48 ------------------- packages/neon/neon_notifications/.gitignore | 48 ------------------- packages/neon_lints/.gitignore | 12 ----- packages/nextcloud/.gitignore | 12 ----- packages/sort_box/.gitignore | 32 ------------- 13 files changed, 11 insertions(+), 376 deletions(-) delete mode 100644 packages/app/.gitignore delete mode 100644 packages/dynamite/dynamite/.gitignore delete mode 100644 packages/dynamite/dynamite_runtime/.gitignore delete mode 100644 packages/file_icons/.gitignore delete mode 100644 packages/neon/neon/.gitignore delete mode 100644 packages/neon/neon_files/.gitignore delete mode 100644 packages/neon/neon_news/.gitignore delete mode 100644 packages/neon/neon_notes/.gitignore delete mode 100644 packages/neon/neon_notifications/.gitignore delete mode 100644 packages/neon_lints/.gitignore delete mode 100644 packages/nextcloud/.gitignore delete mode 100644 packages/sort_box/.gitignore diff --git a/.gitignore b/.gitignore index cb14981b..54cde9a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,15 @@ -/.dart_tool/ -/pubspec.lock +.dart_tool +pubspec.lock + +packages/**/.idea +packages/**/*.iml +packages/**/.flutter-plugins +packages/**/.flutter-plugins-dependencies packages/**/coverage +packages/**/build +packages/**/doc/api + +!packages/app/pubspec.lock # Melos reccomends not adding them to vcs but we need them as we don't use melos in CI # **/pubspec_overrides.yaml diff --git a/packages/app/.gitignore b/packages/app/.gitignore deleted file mode 100644 index 8b7bed4a..00000000 --- a/packages/app/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release - -.flatpak-builder/ \ No newline at end of file diff --git a/packages/dynamite/dynamite/.gitignore b/packages/dynamite/dynamite/.gitignore deleted file mode 100644 index 840b0cc8..00000000 --- a/packages/dynamite/dynamite/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -# Files and directories created by pub. -.dart_tool/ -.packages - -# Conventional directory for build outputs. -build/ - -# Omit committing pubspec.lock for library packages; see -# https://dart.dev/guides/libraries/private-files#pubspeclock. -pubspec.lock - -coverage/ diff --git a/packages/dynamite/dynamite_runtime/.gitignore b/packages/dynamite/dynamite_runtime/.gitignore deleted file mode 100644 index e3ce1c0a..00000000 --- a/packages/dynamite/dynamite_runtime/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# https://dart.dev/guides/libraries/private-files -# Created by `dart pub` -.dart_tool/ -build/ - -# Avoid committing pubspec.lock for library packages; see -# https://dart.dev/guides/libraries/private-files#pubspeclock. -pubspec.lock diff --git a/packages/file_icons/.gitignore b/packages/file_icons/.gitignore deleted file mode 100644 index 65c34dc8..00000000 --- a/packages/file_icons/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# Files and directories created by pub. -.dart_tool/ -.packages - -# Conventional directory for build outputs. -build/ - -# Omit committing pubspec.lock for library packages; see -# https://dart.dev/guides/libraries/private-files#pubspeclock. -pubspec.lock diff --git a/packages/neon/neon/.gitignore b/packages/neon/neon/.gitignore deleted file mode 100644 index 7944852f..00000000 --- a/packages/neon/neon/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/packages/neon/neon_files/.gitignore b/packages/neon/neon_files/.gitignore deleted file mode 100644 index 7944852f..00000000 --- a/packages/neon/neon_files/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/packages/neon/neon_news/.gitignore b/packages/neon/neon_news/.gitignore deleted file mode 100644 index 7944852f..00000000 --- a/packages/neon/neon_news/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/packages/neon/neon_notes/.gitignore b/packages/neon/neon_notes/.gitignore deleted file mode 100644 index 7944852f..00000000 --- a/packages/neon/neon_notes/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/packages/neon/neon_notifications/.gitignore b/packages/neon/neon_notifications/.gitignore deleted file mode 100644 index 7944852f..00000000 --- a/packages/neon/neon_notifications/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/packages/neon_lints/.gitignore b/packages/neon_lints/.gitignore deleted file mode 100644 index 840b0cc8..00000000 --- a/packages/neon_lints/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -# Files and directories created by pub. -.dart_tool/ -.packages - -# Conventional directory for build outputs. -build/ - -# Omit committing pubspec.lock for library packages; see -# https://dart.dev/guides/libraries/private-files#pubspeclock. -pubspec.lock - -coverage/ diff --git a/packages/nextcloud/.gitignore b/packages/nextcloud/.gitignore deleted file mode 100644 index 840b0cc8..00000000 --- a/packages/nextcloud/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -# Files and directories created by pub. -.dart_tool/ -.packages - -# Conventional directory for build outputs. -build/ - -# Omit committing pubspec.lock for library packages; see -# https://dart.dev/guides/libraries/private-files#pubspeclock. -pubspec.lock - -coverage/ diff --git a/packages/sort_box/.gitignore b/packages/sort_box/.gitignore deleted file mode 100644 index 82dbb1d4..00000000 --- a/packages/sort_box/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.packages -build/ - -coverage/