diff options
| author | Matt Pocock <mattpocockvoice@gmail.com> | 2026-08-05 18:54:44 +0100 |
|---|---|---|
| committer | Matt Pocock <mattpocockvoice@gmail.com> | 2026-08-05 18:54:44 +0100 |
| commit | f3554acafee0f1549d3f8f7881eca0634fd446d0 (patch) | |
| tree | 6e8eddb8c9c1205e7de571549c8746557bb5662d /package.json | |
| parent | 07999e06b58541362f2f3d6de9e2b108ac28dc52 (diff) | |
chore: sync the plugin version from package.json on releasesync-plugin-version
`npm run version` now runs `changeset version` and then
`scripts/sync-plugin-version.mjs`, which copies the new version into
`.claude-plugin/plugin.json`. The release workflow calls `npm run version`
instead of `npx changeset version`, so the version PR carries both files.
Also closes the drift this replaces: `plugin.json` was manually bumped to
1.2.1 while `package.json` stayed at 1.2.0. `package.json` moves up to
1.2.1 so the plugin version never goes backwards.
`npm run check-plugin-version` reports drift without writing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json index 6e870b8..c03fe7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mattpocock-skills", - "version": "1.2.0", + "version": "1.2.1", "private": true, "description": "Matt Pocock's agent skills for real engineering", "repository": { @@ -10,7 +10,8 @@ "license": "MIT", "scripts": { "changeset": "changeset", - "version": "changeset version" + "version": "changeset version && node scripts/sync-plugin-version.mjs", + "check-plugin-version": "node scripts/sync-plugin-version.mjs --check" }, "devDependencies": { "@changesets/changelog-github": "^0.7.0", |
