@olegkoval/agent-skills 1.35.1 → 1.35.3
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/docs/versioning.md +5 -2
- package/package.json +1 -1
- package/plugins/olko-apple-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-creative/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-garmin-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-git-tools/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-github-pr/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-obsidian/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-product/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-reflection/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-release/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-skill-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-web-ops/.claude-plugin/plugin.json +1 -1
- package/scripts/build-adapters.sh +2 -1
- package/scripts/semantic-release-build.cjs +5 -2
package/docs/versioning.md
CHANGED
|
@@ -9,8 +9,11 @@ The version source is `package.json`. Conventional commits on `main` and
|
|
|
9
9
|
`beta` are evaluated by semantic-release, which updates the package version,
|
|
10
10
|
changelog, Git tag, GitHub release, and npm publication. The generated Claude
|
|
11
11
|
plugin manifests receive that same version during semantic-release's `prepare`
|
|
12
|
-
phase
|
|
13
|
-
commit is created.
|
|
12
|
+
phase from semantic-release's explicit `nextRelease.version`, before the
|
|
13
|
+
release commit is created. The release commit explicitly includes the generated
|
|
14
|
+
plugin manifests; otherwise semantic-release would generate the right files and
|
|
15
|
+
then omit them from the commit. This avoids depending on the order in which
|
|
16
|
+
release plugins update `package.json`.
|
|
14
17
|
|
|
15
18
|
Do not add a version to an individual skill unless that skill becomes an
|
|
16
19
|
independently distributed package with its own compatibility and release
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ import { loadCatalog } from './scripts/lib/catalog.mjs'
|
|
|
9
9
|
const root = process.cwd()
|
|
10
10
|
const catalog = loadCatalog()
|
|
11
11
|
const packageJson = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'))
|
|
12
|
+
const manifestVersion = process.env.RELEASE_VERSION || packageJson.version
|
|
12
13
|
const MARKETPLACE = 'olko-agent-skills'
|
|
13
14
|
const DESCRIPTION = 'Agent-agnostic skill catalog for Codex, Claude, Cursor, Grok, Copilot, Windsurf, Kiro, and other skill-aware tools.'
|
|
14
15
|
const generatedHeader = '<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->'
|
|
@@ -48,7 +49,7 @@ for (const plugin of catalog.plugins) {
|
|
|
48
49
|
writeJson(join(root, 'plugins', plugin.name, '.claude-plugin', 'plugin.json'), {
|
|
49
50
|
name: plugin.name,
|
|
50
51
|
description: plugin.description,
|
|
51
|
-
version:
|
|
52
|
+
version: manifestVersion,
|
|
52
53
|
author: { name: 'Oleg Koval' },
|
|
53
54
|
homepage: 'https://github.com/oleg-koval/agent-skills',
|
|
54
55
|
repository: 'https://github.com/oleg-koval/agent-skills',
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
const { execFileSync } = require('node:child_process')
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
prepare() {
|
|
5
|
-
execFileSync('npm', ['run', 'build'], {
|
|
4
|
+
prepare(_pluginConfig, context) {
|
|
5
|
+
execFileSync('npm', ['run', 'build'], {
|
|
6
|
+
stdio: 'inherit',
|
|
7
|
+
env: { ...process.env, RELEASE_VERSION: context.nextRelease.version },
|
|
8
|
+
})
|
|
6
9
|
},
|
|
7
10
|
}
|