@intentius/chant-lexicon-github 0.27.0 → 0.29.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "09fc642a25663cddcc9d470ab23fd1406cca6aa373543e256fb715901b7891a1",
4
+ "manifest.json": "e19684cd19bc81190004d8f34cb52d5a4b30c3df5e5597af4ec8801224b51bfa",
5
5
  "meta.json": "798c5f5f37b0174756d2451299acfdc95c014f11d06d32b9153bbdfa9f3a580c",
6
6
  "types/index.d.ts": "39c0791f0e58025bcef82e0f7a92240508f899fc2771d5dd51b2369b4d330f13",
7
7
  "rules/deprecated-action-version.ts": "d41e6e532ab7f623af1bee4ac5279fcb2baada7defa1c5d022a5bc71983e8797",
@@ -67,5 +67,5 @@
67
67
  "skills/chant-github-patterns.md": "bb3abef289a8fdfcf07d6bb2d7289dcb2f38bc0cb0321ea320b78b45a6f548c0",
68
68
  "skills/chant-github-security.md": "aab111cb0871cad30281ce48d7da23663689619351029219e2be019a1a61e394"
69
69
  },
70
- "composite": "91d129271976b6c6b6da939effb02a002ee735bcd383a044f0884a523002365f"
70
+ "composite": "ed44120fa7ef4635da6dd58561124c8efb6f62f2ec44deafd931d275a0151950"
71
71
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "github",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "GitHub",
6
6
  "intrinsics": [
7
7
  {
8
- "name": "expression",
9
- "description": "${{ }} expression wrapper for GitHub Actions contexts",
8
+ "name": "Expression",
9
+ "description": "Typed class wrapping a raw GitHub Actions expression, serializing to `${{ }}` (chant #1069 was registered as \"expression\", which src/index.ts never exported)",
10
10
  "outputKey": "expression",
11
11
  "isTag": false
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-github",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "description": "GitHub Actions lexicon for chant — declarative IaC in TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -61,7 +61,7 @@
61
61
  "typescript": "^5.9.3"
62
62
  },
63
63
  "peerDependencies": {
64
- "@intentius/chant": "^0.27.0",
64
+ "@intentius/chant": "^0.29.0",
65
65
  "typescript": "^5.9.3"
66
66
  }
67
67
  }
@@ -82,9 +82,11 @@ describe("githubPlugin", () => {
82
82
  });
83
83
 
84
84
  test("provides intrinsics", () => {
85
+ // chant #1069 — registered as the `Expression` class (capitalized), the
86
+ // real export of src/index.ts; "expression" (lowercase) was never exported.
85
87
  const intrinsics = githubPlugin.intrinsics!();
86
88
  expect(intrinsics.length).toBe(1);
87
- expect(intrinsics[0].name).toBe("expression");
89
+ expect(intrinsics[0].name).toBe("Expression");
88
90
  });
89
91
 
90
92
  test("provides init templates", () => {
package/src/plugin.ts CHANGED
@@ -65,8 +65,8 @@ export const githubPlugin: LexiconPlugin = {
65
65
  intrinsics(): IntrinsicDef[] {
66
66
  return [
67
67
  {
68
- name: "expression",
69
- description: "${{ }} expression wrapper for GitHub Actions contexts",
68
+ name: "Expression",
69
+ description: "Typed class wrapping a raw GitHub Actions expression, serializing to `${{ }}` (chant #1069 was registered as \"expression\", which src/index.ts never exported)",
70
70
  outputKey: "expression",
71
71
  isTag: false,
72
72
  },