@susu-eng/trunk-sync 2.3.0 → 2.3.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.
@@ -1,11 +1,17 @@
1
1
  {
2
2
  "name": "trunk-sync",
3
- "version": "1.0.0",
3
+ "version": "2.3.2",
4
4
  "description": "Maximum continuous integration for multi-agent coding — every edit is committed and pushed to trunk immediately",
5
5
  "author": {
6
6
  "name": "Eli Mydlarz"
7
7
  },
8
8
  "repository": "https://github.com/elimydlarz/trunk-sync",
9
9
  "license": "MIT",
10
- "keywords": ["hooks", "git", "multi-agent", "sync", "trunk-based-development"]
10
+ "keywords": [
11
+ "hooks",
12
+ "git",
13
+ "multi-agent",
14
+ "sync",
15
+ "trunk-based-development"
16
+ ]
11
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@susu-eng/trunk-sync",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "type": "module",
5
5
  "description": "Maximum continuous integration for multi-agent coding — every edit is committed and pushed to trunk immediately",
6
6
  "bin": {
@@ -36,6 +36,7 @@
36
36
  "build": "tsc",
37
37
  "postbuild": "chmod +x dist/cli.js",
38
38
  "dev": "tsx src/cli.ts",
39
- "test": "node --test --test-reporter spec 'dist/**/*.test.js'"
39
+ "test": "node --test --test-reporter spec 'dist/**/*.test.js'",
40
+ "version": "node scripts/sync-plugin-version.js && git add .claude-plugin/plugin.json"
40
41
  }
41
42
  }
@@ -0,0 +1,7 @@
1
+ import { readFileSync, writeFileSync } from 'fs';
2
+
3
+ const pkg = JSON.parse(readFileSync('package.json', 'utf8'));
4
+ const pluginPath = '.claude-plugin/plugin.json';
5
+ const plugin = JSON.parse(readFileSync(pluginPath, 'utf8'));
6
+ plugin.version = pkg.version;
7
+ writeFileSync(pluginPath, JSON.stringify(plugin, null, 2) + '\n');