chore: stop tracking generated files
- 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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
9c41a8805d
commit
e596b99e39
+5
-4
@@ -13,11 +13,12 @@ pubspec.lock
|
|||||||
*.gr.dart
|
*.gr.dart
|
||||||
*.mocks.dart
|
*.mocks.dart
|
||||||
|
|
||||||
# Keep version.g.dart - it's generated but should be committed
|
# All generated *.g.dart files (from json_serializable, riverpod, version_builder)
|
||||||
# so CI/CD builds have version info without running the generator
|
# These are regenerated by build_runner during CI/CD builds
|
||||||
# Other *.g.dart files (from json_serializable, etc.) are ignored
|
|
||||||
lib/**/*.g.dart
|
lib/**/*.g.dart
|
||||||
!lib/version.g.dart
|
|
||||||
|
# Generated health.json (regenerated by tool/generate_health_json.dart during build)
|
||||||
|
web/health.json
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.idea/
|
.idea/
|
||||||
|
|||||||
@@ -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';
|
|
||||||
}
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user