claude-code-autoconfig 1.0.163 → 1.0.165
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/CHANGELOG.md +9 -9
- package/bin/cli.js +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.0.165
|
|
4
|
+
- debug: add temporary changelog debug logging
|
|
5
|
+
|
|
6
|
+
## v1.0.164
|
|
7
|
+
- fix: use postversion hook so changelog includes current version
|
|
8
|
+
|
|
9
|
+
## v1.0.163
|
|
10
|
+
- fix: correct AUTOCONFIG_FILES list (guide→docs, add rules)
|
|
11
|
+
|
|
3
12
|
## v1.0.162
|
|
4
13
|
- feat: show changelog on upgrade
|
|
5
14
|
|
|
@@ -141,12 +150,3 @@
|
|
|
141
150
|
## v1.0.116
|
|
142
151
|
- feat: improve FEEDBACK.md reliability and add rule migration hook
|
|
143
152
|
|
|
144
|
-
## v1.0.115
|
|
145
|
-
- feat: add @version tracking to all command files
|
|
146
|
-
|
|
147
|
-
## v1.0.114
|
|
148
|
-
- fix: detect updated commands, remove redundant update file
|
|
149
|
-
|
|
150
|
-
## v1.0.113
|
|
151
|
-
- fix: remove redundant installed commands list from upgrade output
|
|
152
|
-
|
package/bin/cli.js
CHANGED
|
@@ -658,8 +658,10 @@ if (isUpgrade) {
|
|
|
658
658
|
console.log('\x1b[33m╚════════════════════════════════════════════╝\x1b[0m');
|
|
659
659
|
}
|
|
660
660
|
// Show changelog on upgrade
|
|
661
|
+
console.log('\x1b[90m%s\x1b[0m', ` [debug] isUpgrade=${isUpgrade} previousVersion=${previousVersion} currentVersion=${currentVersion}`);
|
|
661
662
|
if (isUpgrade && previousVersion) {
|
|
662
663
|
const changelogPath = path.join(packageDir, 'CHANGELOG.md');
|
|
664
|
+
console.log('\x1b[90m%s\x1b[0m', ` [debug] changelogPath=${changelogPath} exists=${fs.existsSync(changelogPath)}`);
|
|
663
665
|
if (fs.existsSync(changelogPath)) {
|
|
664
666
|
const changelog = fs.readFileSync(changelogPath, 'utf8');
|
|
665
667
|
const prevPatch = parseInt(previousVersion.split('.').pop(), 10);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.165",
|
|
4
4
|
"description": "Intelligent, self-configuring setup for Claude Code. One command analyzes your project, configures Claude, and shows you what it did.",
|
|
5
5
|
"author": "ADAC 1001 <info@adac1001.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test:box": "node test/box-alignment.test.js",
|
|
27
27
|
"test:install": "node test/cli-install.test.js",
|
|
28
28
|
"test:update": "node test/update-system.test.js",
|
|
29
|
-
"
|
|
29
|
+
"postversion": "node scripts/generate-changelog.js && git add CHANGELOG.md && git commit --amend --no-edit"
|
|
30
30
|
},
|
|
31
31
|
"bin": {
|
|
32
32
|
"claude-code-autoconfig": "./bin/cli.js"
|