From e596b99e39542c4cf4ba06cc00bfcd9d383158b8 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 4 Jan 2026 12:12:10 +0100 Subject: [PATCH] chore: stop tracking generated files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove version.g.dart and health.json from git - These are now regenerated during CI/CD build from pubspec.yaml - Fixes version mismatch issue in deployments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .gitignore | 9 +++++---- lib/version.g.dart | 13 ------------- web/health.json | 8 -------- 3 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 lib/version.g.dart delete mode 100644 web/health.json diff --git a/.gitignore b/.gitignore index ba0176c..11afe37 100644 --- a/.gitignore +++ b/.gitignore @@ -13,11 +13,12 @@ pubspec.lock *.gr.dart *.mocks.dart -# Keep version.g.dart - it's generated but should be committed -# so CI/CD builds have version info without running the generator -# Other *.g.dart files (from json_serializable, etc.) are ignored +# All generated *.g.dart files (from json_serializable, riverpod, version_builder) +# These are regenerated by build_runner during CI/CD builds lib/**/*.g.dart -!lib/version.g.dart + +# Generated health.json (regenerated by tool/generate_health_json.dart during build) +web/health.json # IDE .idea/ diff --git a/lib/version.g.dart b/lib/version.g.dart deleted file mode 100644 index f994d82..0000000 --- a/lib/version.g.dart +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED FILE - DO NOT EDIT -// Generated by build_runner from pubspec.yaml - -/// Application version information from pubspec.yaml -class AppVersion { - AppVersion._(); - - static const String name = 'tatlock_ui'; - static const String description = 'Tatlock - a Home Lab AI'; - static const String version = '1.0.4'; - static const int buildNumber = 1; - static const String fullVersion = '1.0.4+1'; -} diff --git a/web/health.json b/web/health.json deleted file mode 100644 index b50cb9a..0000000 --- a/web/health.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "status": "healthy", - "name": "tatlock_ui", - "title": "Tatlock - a Home Lab AI", - "version": "1.0.4", - "buildNumber": 1, - "fullVersion": "1.0.4+1" -} \ No newline at end of file