@regression-io/claude-config 0.38.15 → 0.39.2
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/lib/constants.js +1 -1
- package/package.json +1 -1
- package/scripts/sync-version.js +12 -0
package/lib/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regression-io/claude-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.2",
|
|
4
4
|
"description": "Configuration management UI for Claude Code and Antigravity - manage MCPs, rules, commands, memory, and project folders",
|
|
5
5
|
"author": "regression.io",
|
|
6
6
|
"main": "config-loader.js",
|
package/scripts/sync-version.js
CHANGED
|
@@ -16,6 +16,7 @@ const rootDir = path.join(__dirname, '..');
|
|
|
16
16
|
const packageJsonPath = path.join(rootDir, 'package.json');
|
|
17
17
|
const constantsPath = path.join(rootDir, 'lib', 'constants.js');
|
|
18
18
|
const uiPackageJsonPath = path.join(rootDir, 'ui', 'package.json');
|
|
19
|
+
const tauriConfigPath = path.join(rootDir, 'src-tauri', 'tauri.conf.json');
|
|
19
20
|
|
|
20
21
|
// Read version from package.json (source of truth)
|
|
21
22
|
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
|
|
@@ -62,4 +63,15 @@ if (fs.existsSync(uiPackageJsonPath)) {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
// Update src-tauri/tauri.conf.json
|
|
67
|
+
if (fs.existsSync(tauriConfigPath)) {
|
|
68
|
+
const tauriConfig = JSON.parse(fs.readFileSync(tauriConfigPath, 'utf8'));
|
|
69
|
+
if (tauriConfig.version !== version) {
|
|
70
|
+
const oldVersion = tauriConfig.version;
|
|
71
|
+
tauriConfig.version = version;
|
|
72
|
+
fs.writeFileSync(tauriConfigPath, JSON.stringify(tauriConfig, null, 2) + '\n', 'utf8');
|
|
73
|
+
console.log(` src-tauri/tauri.conf.json: ${oldVersion} -> ${version}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
65
77
|
console.log('Version sync complete!');
|