fix(format): Improve concurrency control in caching and rollback modules, refine gitignore custom section handling, and enhance Prettier file processing.

This commit is contained in:
2025-08-08 09:46:34 +00:00
parent cef31cf1ff
commit 49e1ee1f39
4 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,14 @@
# Changelog
## 2025-08-08 - 1.16.10 - fix(format)
Improve concurrency control in caching and rollback modules, refine gitignore custom section handling, and enhance Prettier file processing.
- Added mutex locking in ChangeCache and RollbackManager to prevent race conditions during manifest updates
- Updated gitignore logic to detect and preserve custom sections
- Enhanced Prettier batching and file formatting for better performance
## 2025-08-08 - 1.16.9 - fix(format)
Improve concurrency control in cache and rollback modules, refine gitignore custom section handling, and enhance Prettier file processing
- Added mutex locking in ChangeCache and RollbackManager to prevent race conditions during manifest updates

View File

@@ -97,33 +97,28 @@ This plan outlines improvements for the gitzone format module to enhance its fun
### ✅ Completed Features
1. **Rollback Mechanism**
- Full backup/restore functionality
- Manifest tracking and integrity checks
- CLI commands for rollback operations
2. **Plan → Action Workflow**
- Two-phase approach (analyze then execute)
- Interactive confirmation
- Dry-run support
3. **Configuration System**
- Comprehensive npmextra.json support
- Module control (skip/only/order)
- Cache configuration
- Parallel execution settings
4. **Performance Improvements**
- Parallel execution by dependency analysis
- File change caching
- Prettier batching
- Execution time tracking
5. **Reporting & Statistics**
- Detailed diff views
- Execution statistics
- Verbose logging mode
@@ -138,7 +133,6 @@ This plan outlines improvements for the gitzone format module to enhance its fun
### 🚧 Partially Completed
1. **License Management**
- Basic configuration support
- Exception handling for specific packages
- Need: compatibility matrix, compliance reports
@@ -150,13 +144,11 @@ This plan outlines improvements for the gitzone format module to enhance its fun
### ⏳ Not Started
1. **Plugin System**
- Need to design plugin API
- Hook system for pre/post operations
- Custom validation rules
2. **Git Integration**
- Pre-commit hooks
- Automatic formatting on commit

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/cli',
version: '1.16.9',
version: '1.16.10',
description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.'
}

View File

@@ -83,10 +83,10 @@ export const run = async (projectArg: Project) => {
type: 'git',
url: `https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}.git`,
};
(packageJson.bugs = {
((packageJson.bugs = {
url: `https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}/issues`,
}),
(packageJson.homepage = `https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}#readme`);
(packageJson.homepage = `https://${gitzoneData.module.githost}/${gitzoneData.module.gitscope}/${gitzoneData.module.gitrepo}#readme`));
// Check for module type
if (!packageJson.type) {