@hagicode/skillsbase 0.1.0-dev.4.1.156c7b1 → 0.1.0-dev.5.1.9f0cdce
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/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/cli.mjs +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@hagicode/skillsbase)
|
|
6
6
|
[](https://www.npmjs.com/package/@hagicode/skillsbase)
|
|
7
7
|
[](./LICENSE)
|
|
8
|
-
[](https://nodejs.org/)
|
|
9
9
|
|
|
10
10
|
`skillsbase` is a standalone Node.js CLI for bootstrapping and maintaining managed skills repositories.
|
|
11
11
|
It ships the CLI and templates only. The generated `skills/` content belongs in the target repository, not in this package repository.
|
|
@@ -14,7 +14,7 @@ It ships the CLI and templates only. The generated `skills/` content belongs in
|
|
|
14
14
|
|
|
15
15
|
Requirements:
|
|
16
16
|
|
|
17
|
-
- Node.js `>=
|
|
17
|
+
- Node.js `>= 24.0.0`
|
|
18
18
|
- npm `>= 10.9.2`
|
|
19
19
|
|
|
20
20
|
Install globally:
|
package/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@hagicode/skillsbase)
|
|
6
6
|
[](https://www.npmjs.com/package/@hagicode/skillsbase)
|
|
7
|
-
[](https://nodejs.org/)
|
|
8
8
|
|
|
9
9
|
`skillsbase` 是一个独立的 Node.js CLI,用于初始化并维护受管 skills 仓库。
|
|
10
10
|
本仓库只提供 CLI 与模板,不提交目标仓库中的 `skills/` 产物。
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
要求:
|
|
15
15
|
|
|
16
|
-
- Node.js `>=
|
|
16
|
+
- Node.js `>= 24.0.0`
|
|
17
17
|
- npm `>= 10.9.2`
|
|
18
18
|
|
|
19
19
|
全局安装:
|
package/dist/cli.mjs
CHANGED
|
@@ -63,7 +63,6 @@ var DEFAULT_INSTALL_AGENT = "codex";
|
|
|
63
63
|
var DEFAULT_SKILLS_ROOT = "skills";
|
|
64
64
|
var DEFAULT_METADATA_FILE = ".skill-source.json";
|
|
65
65
|
var DEFAULT_MANAGED_BY = "skillsbase";
|
|
66
|
-
var DEFAULT_NODE_VERSION = "22.12.0";
|
|
67
66
|
//#endregion
|
|
68
67
|
//#region src/lib/files.ts
|
|
69
68
|
async function pathExists(targetPath) {
|
|
@@ -817,7 +816,7 @@ async function writeManagedFile(targetPath, content, options = {}) {
|
|
|
817
816
|
}
|
|
818
817
|
async function writeGithubActions(repoPath, options = {}) {
|
|
819
818
|
const kind = options.kind ?? "workflow";
|
|
820
|
-
const variables = { NODE_VERSION:
|
|
819
|
+
const variables = { NODE_VERSION: "24" };
|
|
821
820
|
const targets = [];
|
|
822
821
|
if (kind === "workflow" || kind === "all") targets.push({
|
|
823
822
|
relativePath: path.join(".github", "workflows", "skills-sync.yml"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hagicode/skillsbase",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.5.1.9f0cdce",
|
|
4
4
|
"description": "Managed skills repository CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/HagiCode-org/skillsbase#readme",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
39
|
+
"node": ">=24.0.0",
|
|
40
40
|
"npm": ">=10.9.2"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|