@intentius/chant-lexicon-github 0.0.24 → 0.1.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 +5 -4
- package/src/codegen/docs.ts +12 -12
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "xxhash64",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "83aca58a0237fd57",
|
|
5
5
|
"meta.json": "317499a992c9c274",
|
|
6
6
|
"types/index.d.ts": "93ce391baebf2afb",
|
|
7
7
|
"rules/missing-recommended-inputs.ts": "42f2f3b0b6c7b52c",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"skills/chant-github-patterns.md": "7678ef5c6b4b9bdf",
|
|
38
38
|
"skills/chant-github-security.md": "f3fcfcd84475b73c"
|
|
39
39
|
},
|
|
40
|
-
"composite": "
|
|
40
|
+
"composite": "18c84a14d05392cc"
|
|
41
41
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-github",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.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",
|
|
@@ -42,10 +42,11 @@
|
|
|
42
42
|
"docs": "bun run src/codegen/docs-cli.ts",
|
|
43
43
|
"prepack": "bun run generate && bun run bundle && bun run validate"
|
|
44
44
|
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@intentius/chant": "0.0.22"
|
|
47
|
-
},
|
|
48
45
|
"devDependencies": {
|
|
46
|
+
"@intentius/chant": "0.1.0",
|
|
49
47
|
"typescript": "^5.9.3"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@intentius/chant": "^0.1.0"
|
|
50
51
|
}
|
|
51
52
|
}
|
package/src/codegen/docs.ts
CHANGED
|
@@ -396,11 +396,11 @@ The \`github\` and \`runner\` objects provide typed access to context properties
|
|
|
396
396
|
\`\`\`typescript
|
|
397
397
|
import { github, runner } from "@intentius/chant-lexicon-github";
|
|
398
398
|
|
|
399
|
-
github.ref //
|
|
400
|
-
github.sha //
|
|
401
|
-
github.actor //
|
|
402
|
-
runner.os //
|
|
403
|
-
runner.arch //
|
|
399
|
+
github.ref // \${{ github.ref }}
|
|
400
|
+
github.sha // \${{ github.sha }}
|
|
401
|
+
github.actor // \${{ github.actor }}
|
|
402
|
+
runner.os // \${{ runner.os }}
|
|
403
|
+
runner.arch // \${{ runner.arch }}
|
|
404
404
|
\`\`\`
|
|
405
405
|
|
|
406
406
|
See [Variables](/chant/lexicons/github/variables/) for the full reference table.
|
|
@@ -412,13 +412,13 @@ Access dynamic context values — secrets, matrix, step outputs, job outputs, in
|
|
|
412
412
|
\`\`\`typescript
|
|
413
413
|
import { secrets, matrix, steps, needs, inputs, vars, env } from "@intentius/chant-lexicon-github";
|
|
414
414
|
|
|
415
|
-
secrets("NPM_TOKEN") //
|
|
416
|
-
matrix("node-version") //
|
|
417
|
-
steps("build").outputs("path") //
|
|
418
|
-
needs("build").outputs("version") //
|
|
419
|
-
inputs("environment") //
|
|
420
|
-
vars("API_URL") //
|
|
421
|
-
env("NODE_ENV") //
|
|
415
|
+
secrets("NPM_TOKEN") // \${{ secrets.NPM_TOKEN }}
|
|
416
|
+
matrix("node-version") // \${{ matrix.node-version }}
|
|
417
|
+
steps("build").outputs("path") // \${{ steps.build.outputs.path }}
|
|
418
|
+
needs("build").outputs("version") // \${{ needs.build.outputs.version }}
|
|
419
|
+
inputs("environment") // \${{ inputs.environment }}
|
|
420
|
+
vars("API_URL") // \${{ vars.API_URL }}
|
|
421
|
+
env("NODE_ENV") // \${{ env.NODE_ENV }}
|
|
422
422
|
\`\`\`
|
|
423
423
|
|
|
424
424
|
## Condition helpers
|