@regression-io/claude-config 0.14.18 → 0.14.19

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/config-loader.js CHANGED
@@ -19,7 +19,7 @@ const fs = require('fs');
19
19
  const path = require('path');
20
20
  const { execSync } = require('child_process');
21
21
 
22
- const VERSION = '0.14.18';
22
+ const VERSION = '0.14.19';
23
23
 
24
24
  class ClaudeConfigManager {
25
25
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regression-io/claude-config",
3
- "version": "0.14.18",
3
+ "version": "0.14.19",
4
4
  "description": "Configuration management UI for Claude Code - manage MCPs, rules, commands, memory, and .claude folders",
5
5
  "author": "regression.io",
6
6
  "main": "config-loader.js",
@@ -20,7 +20,8 @@
20
20
  "build:ci": "cd ui && npm install && npm run build",
21
21
  "prepublishOnly": "npm run build",
22
22
  "postinstall": "node scripts/postinstall.js",
23
- "test": "node --test test/*.test.js"
23
+ "test": "node --test test/*.test.js",
24
+ "release": "./scripts/release.sh"
24
25
  },
25
26
  "keywords": [
26
27
  "claude",
@@ -0,0 +1,71 @@
1
+ #!/bin/bash
2
+ # Auto-release script: bumps patch version, commits, tags, and pushes
3
+ # Usage: ./scripts/release.sh "commit message"
4
+ # ./scripts/release.sh "commit message" --minor
5
+ # ./scripts/release.sh "commit message" --major
6
+
7
+ set -e
8
+
9
+ if [ -z "$1" ]; then
10
+ echo "Usage: $0 \"commit message\" [--minor|--major]"
11
+ exit 1
12
+ fi
13
+
14
+ MESSAGE="$1"
15
+ BUMP_TYPE="${2:---patch}"
16
+
17
+ # Get current version
18
+ CURRENT_VERSION=$(node -p "require('./package.json').version")
19
+
20
+ # Parse version
21
+ IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT_VERSION"
22
+
23
+ # Bump based on type
24
+ case "$BUMP_TYPE" in
25
+ --major)
26
+ MAJOR=$((MAJOR + 1))
27
+ MINOR=0
28
+ PATCH=0
29
+ ;;
30
+ --minor)
31
+ MINOR=$((MINOR + 1))
32
+ PATCH=0
33
+ ;;
34
+ --patch|*)
35
+ PATCH=$((PATCH + 1))
36
+ ;;
37
+ esac
38
+
39
+ NEW_VERSION="$MAJOR.$MINOR.$PATCH"
40
+ TAG="v$NEW_VERSION"
41
+
42
+ echo "Releasing $CURRENT_VERSION -> $NEW_VERSION"
43
+
44
+ # Update version in package.json
45
+ node -e "
46
+ const fs = require('fs');
47
+ const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
48
+ pkg.version = '$NEW_VERSION';
49
+ fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
50
+ "
51
+
52
+ # Sync version to other files
53
+ npm run version:sync
54
+
55
+ # Stage all changes
56
+ git add -A
57
+
58
+ # Commit
59
+ git commit -m "$MESSAGE
60
+
61
+ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>"
62
+
63
+ # Tag
64
+ git tag "$TAG"
65
+
66
+ # Push with tags
67
+ git push && git push --tags
68
+
69
+ echo ""
70
+ echo "✅ Released $TAG"
71
+ echo " CI will publish to npm automatically"