@intentius/chant-lexicon-forgejo 0.54.3 → 0.55.0
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/integrity.json +2 -2
- package/dist/manifest.json +1 -1
- package/package.json +3 -3
- package/src/plugin.test.ts +18 -0
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "49d18bb804a425a2d495b63a0f118e0d4197e61527e6cc4fd567712bf85150e5",
|
|
5
5
|
"meta.json": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
|
|
6
6
|
"types/index.d.ts": "66204549b2a864ab5489e3f02c1878e73ab4b3c9d938cfb480b66f71543a43de",
|
|
7
7
|
"rules/delegate-to-github.ts": "1060cda40f4b73d6cca3ba3fa13b80b4886147d4034c88584c2d80c5510dbe5e",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"rules/wfj011.ts": "fcb8bf6685d744af20ad804ce929488257995c74b9a3353b2eacae3768d1c83e",
|
|
10
10
|
"skills/chant-forgejo.md": "a1a560429db736c187e0b34cf8dd9efc6ad771afefcbf6f802d160d3d5274257"
|
|
11
11
|
},
|
|
12
|
-
"composite": "
|
|
12
|
+
"composite": "4651e1edd05dc2375975fb16a17c5c4653cc9663ccb713438671983b45f09184"
|
|
13
13
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-forgejo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0",
|
|
4
4
|
"description": "Forgejo / Codeberg / Gitea Actions lexicon for chant — a thin GitHub Actions dialect",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"zod": "^4.3.6",
|
|
57
|
-
"@intentius/chant": "^0.
|
|
58
|
-
"@intentius/chant-lexicon-github": "^0.
|
|
57
|
+
"@intentius/chant": "^0.55.0",
|
|
58
|
+
"@intentius/chant-lexicon-github": "^0.55.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"generate": "tsx src/codegen/generate-cli.ts",
|
package/src/plugin.test.ts
CHANGED
|
@@ -82,6 +82,24 @@ describe("forgejo plugin", () => {
|
|
|
82
82
|
expect(forgejoPlugin.migrationSource?.("gitlab")).toBeUndefined();
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
+
// #2066 regression (the gitlab wrapper dropped both fields; lock the
|
|
86
|
+
// forgejo seam too): security passes through, securityPosture comes back.
|
|
87
|
+
it("migrationSource transform with security: true carries securityPosture", async () => {
|
|
88
|
+
const src = forgejoPlugin.migrationSource!("github")!;
|
|
89
|
+
const workflow = `on: push
|
|
90
|
+
permissions:
|
|
91
|
+
contents: read
|
|
92
|
+
jobs:
|
|
93
|
+
build:
|
|
94
|
+
runs-on: ubuntu-latest
|
|
95
|
+
steps:
|
|
96
|
+
- run: echo hello
|
|
97
|
+
`;
|
|
98
|
+
const result = await src.transform(workflow, { emit: "yaml", security: true });
|
|
99
|
+
expect(result.securityPosture).toContain("## Security posture");
|
|
100
|
+
expect(result.securityPosture).toContain("Least-privilege permissions");
|
|
101
|
+
});
|
|
102
|
+
|
|
85
103
|
it("mcpTools() includes the diff tool and context tools", () => {
|
|
86
104
|
const tools = forgejoPlugin.mcpTools?.();
|
|
87
105
|
expect(Array.isArray(tools)).toBe(true);
|