galaxyrepowatch 2.0.6 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +23 -0
  2. package/dist/cli.js +274 -185
  3. package/package.json +4 -2
package/README.md CHANGED
@@ -41,6 +41,13 @@ The setup wizard will configure everything automatically.
41
41
  - 🔍 Highlights affected files, APIs, databases, and frontend components
42
42
  - 🤖 Recommends relevant tests to run before pushing your changes
43
43
 
44
+ ### 3. 🗄️ Database Analyzer
45
+ - 🏗️ Analyzes database schema changes for architectural issues
46
+ - 🔒 Detects security risks like exposed PII and plain-text credentials
47
+ - 📈 Identifies missing indexes and foreign key constraints
48
+ - ⚡ Suggests performance optimizations and normalization improvements
49
+ - 💾 Supports Prisma, SQLAlchemy, and other ORM configurations
50
+
44
51
  ---
45
52
 
46
53
  # 📦 What Happens During Setup
@@ -138,6 +145,21 @@ The impact report is informational only and does not block your commit.
138
145
 
139
146
  ---
140
147
 
148
+ ### 🗄️ Database Analyzer
149
+
150
+ Introduced in **v2.5.0**, Database Analyzer provides detailed analysis of database schema changes and architectural impacts.
151
+
152
+ When your commit includes database schema modifications (Prisma, SQLAlchemy, etc.), Galaxy Repo Watch automatically analyzes:
153
+
154
+ - **Security Issues** — Detects exposed PII, plain-text credentials, and unencrypted sensitive data
155
+ - **Performance Concerns** — Identifies missing indexes on frequently queried or foreign key fields
156
+ - **Architecture Quality** — Flags missing constraints, normalization issues, and design patterns
157
+ - **Optimization Opportunities** — Recommends best practices for scalability and maintenance
158
+
159
+ The database analysis output is informational and helps teams maintain database health standards before changes reach production.
160
+
161
+ ---
162
+
141
163
  # 📁 Configuration
142
164
 
143
165
  Galaxy Repo Watch creates a configuration file named:
@@ -270,6 +292,7 @@ Galaxy Repo Watch only analyzes your staged changes before a commit.
270
292
  - ✅ Commit Risk Scoring
271
293
  - ✅ Automatic Project Setup
272
294
  - ✅ Code Impact Analyzer
295
+ - ✅ Database Analyzer
273
296
 
274
297
  ### Coming Soon
275
298