skills-manifest 0.3.2 → 0.3.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/dist/cli/add.d.mts +2 -2
- package/dist/cli/index.mjs +2 -2
- package/dist/cli/init.d.mts +2 -2
- package/dist/cli/init.mjs +1 -1
- package/dist/cli/install.d.mts +2 -2
- package/dist/cli/remove.d.mts +2 -2
- package/dist/cli/sync.d.mts +2 -2
- package/dist/{init-4enI_4o6.mjs → init-DbLmaD0L.mjs} +5 -2
- package/package.json +2 -2
package/dist/cli/add.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as citty6 from "citty";
|
|
2
2
|
|
|
3
3
|
//#region src/cli/add.d.ts
|
|
4
|
-
declare const add:
|
|
4
|
+
declare const add: citty6.CommandDef<{
|
|
5
5
|
readonly repo: {
|
|
6
6
|
readonly type: "positional";
|
|
7
7
|
readonly description: "Repository (e.g. owner/repo or full URL)";
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as add } from "../add-CmzBK4br.mjs";
|
|
2
|
-
import { t as init } from "../init-
|
|
2
|
+
import { t as init } from "../init-DbLmaD0L.mjs";
|
|
3
3
|
import { t as install } from "../install-CmdQl0XL.mjs";
|
|
4
4
|
import { t as remove } from "../remove-ByCBLakw.mjs";
|
|
5
5
|
import { t as sync } from "../sync-1OE33hei.mjs";
|
|
6
6
|
import { defineCommand, runMain } from "citty";
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
|
-
var version = "0.3.
|
|
9
|
+
var version = "0.3.3";
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/cli/index.ts
|
package/dist/cli/init.d.mts
CHANGED
package/dist/cli/init.mjs
CHANGED
package/dist/cli/install.d.mts
CHANGED
package/dist/cli/remove.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as citty3 from "citty";
|
|
2
2
|
|
|
3
3
|
//#region src/cli/remove.d.ts
|
|
4
|
-
declare const remove:
|
|
4
|
+
declare const remove: citty3.CommandDef<{
|
|
5
5
|
readonly repo: {
|
|
6
6
|
readonly type: "positional";
|
|
7
7
|
readonly description: "Repository (e.g. owner/repo or full URL)";
|
package/dist/cli/sync.d.mts
CHANGED
|
@@ -29,8 +29,11 @@ const init = defineCommand({
|
|
|
29
29
|
await fs.writeFile(manifestPath, JSON.stringify(content, null, 2));
|
|
30
30
|
}
|
|
31
31
|
const gitignorePath = path.join(cwd, ".gitignore");
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
if (!(await fs.readFile(gitignorePath, "utf-8").catch(() => "")).split("\n").includes("skills")) await fs.appendFile(gitignorePath, [
|
|
33
|
+
"**/skills",
|
|
34
|
+
"!/skills",
|
|
35
|
+
"!/skills/**"
|
|
36
|
+
].join("\n"));
|
|
34
37
|
const pkgPath = path.join(cwd, "package.json");
|
|
35
38
|
const pkg = JSON.parse(await fs.readFile(pkgPath, "utf-8"));
|
|
36
39
|
const prepare = pkg.scripts?.prepare;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skills-manifest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.3",
|
|
5
5
|
"description": "A lightweight manifest manager for skills, enabling project-level skill synchronization and collaborative configuration.",
|
|
6
6
|
"author": "Hairyf <wwu710632@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"vitest": "^4.0.15",
|
|
59
59
|
"vitest-package-exports": "^0.1.1",
|
|
60
60
|
"yaml": "^2.8.2",
|
|
61
|
-
"skills-manifest": "0.3.
|
|
61
|
+
"skills-manifest": "0.3.3"
|
|
62
62
|
},
|
|
63
63
|
"simple-git-hooks": {
|
|
64
64
|
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
|