pumuki-ast-hooks 5.5.35 → 5.5.36
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pumuki-ast-hooks",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.36",
|
|
4
4
|
"description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -104,8 +104,8 @@ function getInstalledVersion() {
|
|
|
104
104
|
|
|
105
105
|
function getLatestVersion() {
|
|
106
106
|
try {
|
|
107
|
-
// Try npm view
|
|
108
|
-
const output = execSync('npm view
|
|
107
|
+
// Try npm view (correct package name: pumuki-ast-hooks)
|
|
108
|
+
const output = execSync('npm view pumuki-ast-hooks version', {
|
|
109
109
|
encoding: 'utf-8',
|
|
110
110
|
stdio: ['ignore', 'pipe', 'ignore'],
|
|
111
111
|
timeout: 5000
|
|
@@ -112,11 +112,10 @@ function step2_syncDevelop() {
|
|
|
112
112
|
log(COLORS.cyan, '═══════════════════════════════════════════════════════════════\n');
|
|
113
113
|
|
|
114
114
|
log(COLORS.blue, 'Fetching from origin...');
|
|
115
|
-
exec('git fetch origin'
|
|
115
|
+
exec('git fetch origin');
|
|
116
116
|
|
|
117
117
|
log(COLORS.blue, 'Pulling latest changes from develop...');
|
|
118
|
-
exec('git pull origin develop'
|
|
119
|
-
|
|
118
|
+
exec('git pull --ff-only origin develop');
|
|
120
119
|
log(COLORS.green, '✅ Develop synced');
|
|
121
120
|
}
|
|
122
121
|
|
|
@@ -125,13 +124,19 @@ function step3_syncMain() {
|
|
|
125
124
|
log(COLORS.cyan, '🔄 Step 3: Sync Main');
|
|
126
125
|
log(COLORS.cyan, '═══════════════════════════════════════════════════════════════\n');
|
|
127
126
|
|
|
127
|
+
const current = getCurrentBranch();
|
|
128
|
+
|
|
128
129
|
log(COLORS.blue, 'Fetching from origin...');
|
|
129
|
-
exec('git fetch origin'
|
|
130
|
+
exec('git fetch origin');
|
|
130
131
|
|
|
131
132
|
log(COLORS.blue, 'Pulling latest changes from main...');
|
|
132
|
-
exec('git
|
|
133
|
-
|
|
133
|
+
exec('git checkout main');
|
|
134
|
+
exec('git pull --ff-only origin main');
|
|
134
135
|
log(COLORS.green, '✅ Main synced');
|
|
136
|
+
|
|
137
|
+
if (current && current !== 'main') {
|
|
138
|
+
exec(`git checkout ${current}`);
|
|
139
|
+
}
|
|
135
140
|
}
|
|
136
141
|
|
|
137
142
|
function step4_createReleasePR(prTitle, prBody) {
|