{"_id":"@dr-yaml/adapter-gha","_rev":"2-d5b943d1392880c339660c1e3c10432c","name":"@dr-yaml/adapter-gha","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@dr-yaml/adapter-gha","version":"0.0.1","keywords":["ci","cd","github-actions","gha","yaml","adapter","dr-yaml"],"author":{"name":"Gal Gordon"},"license":"MIT","_id":"@dr-yaml/adapter-gha@0.0.1","maintainers":[{"name":"galgord","email":"gal.gordon@gmail.com"}],"dist":{"shasum":"1436fa5e2042a64461a1e9abeb315a0172894bd8","tarball":"https://registry.npmjs.org/@dr-yaml/adapter-gha/-/adapter-gha-0.0.1.tgz","fileCount":13,"integrity":"sha512-c8N47+lP4CFgfDdtZke700VB778ObW1L7zHTlq1Z769Is+cH9OATJoMf5GPjjRQOTG+4u7SLhayikFL7wexWXA==","signatures":[{"sig":"MEUCIFqY/qsDGZiq0kCsnKNDUWdLE57nlVrE+AWJ9P83TyFCAiEAhD27rMkQX2p4g+Wk/21Ot/afdiVjg1D7vh8aJnz1gnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47189},"main":"./dist/index.js","type":"module","_from":"file:release/dr-yaml-adapter-gha-0.0.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && bun ../../scripts/release/fix-dts.ts dist","type-check":"tsc --noEmit"},"_npmUser":{"name":"galgord","email":"gal.gordon@gmail.com"},"_resolved":"/Users/galgordon/dev/dr-yaml/release/dr-yaml-adapter-gha-0.0.1.tgz","_integrity":"sha512-c8N47+lP4CFgfDdtZke700VB778ObW1L7zHTlq1Z769Is+cH9OATJoMf5GPjjRQOTG+4u7SLhayikFL7wexWXA==","_npmVersion":"11.9.0","description":"GitHub Actions adapter — parse + emit between GHA YAML and @dr-yaml/ir.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yaml":"^2.6.0","@dr-yaml/ir":"^0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.1.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-gha_0.0.1_1776816272548_0.7791647066318872","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@dr-yaml/adapter-gha","version":"0.0.2","description":"GitHub Actions adapter — parse + emit between GHA YAML and @dr-yaml/ir.","license":"MIT","author":{"name":"Gal Gordon"},"type":"module","main":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"keywords":["ci","cd","github-actions","gha","yaml","adapter","dr-yaml"],"scripts":{"test":"bun test","type-check":"tsc --noEmit","build":"rm -rf dist && tsc -p tsconfig.build.json && bun ../../scripts/release/fix-dts.ts dist"},"dependencies":{"@dr-yaml/ir":"^0.0.2","yaml":"^2.6.0"},"devDependencies":{"@types/bun":"^1.1.14","typescript":"^5.9.0"},"types":"./dist/index.d.ts","publishConfig":{"access":"public"},"_id":"@dr-yaml/adapter-gha@0.0.2","_integrity":"sha512-NZMnLJ1DadDH2IS90/HbAOf02w3JH7uQGcR4syvyup8+EMQZ6IycaBjD+uUF1ChdZyDIzSIJIo3FbUvPlrp8cA==","_resolved":"/Users/galgordon/dev/dr-yaml/release/dr-yaml-adapter-gha-0.0.2.tgz","_from":"file:release/dr-yaml-adapter-gha-0.0.2.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-NZMnLJ1DadDH2IS90/HbAOf02w3JH7uQGcR4syvyup8+EMQZ6IycaBjD+uUF1ChdZyDIzSIJIo3FbUvPlrp8cA==","shasum":"ffa2535cc82fda087b026cec64ba2b9354f9c030","tarball":"https://registry.npmjs.org/@dr-yaml/adapter-gha/-/adapter-gha-0.0.2.tgz","fileCount":13,"unpackedSize":47189,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDwXCFHmiUUEXJu2KeledAZEMspgi6b3cxIPYSeDM+MbgIhAMbV021dUgSl7QTDxQozF7ppo9t/y8xJROC3Nf6hCICM"}]},"_npmUser":{"name":"galgord","email":"gal.gordon@gmail.com"},"directories":{},"maintainers":[{"name":"galgord","email":"gal.gordon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-gha_0.0.2_1776816687123_0.6875573992873916"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-22T00:04:32.476Z","modified":"2026-04-22T00:11:27.419Z","0.0.1":"2026-04-22T00:04:32.684Z","0.0.2":"2026-04-22T00:11:27.276Z"},"author":{"name":"Gal Gordon"},"license":"MIT","keywords":["ci","cd","github-actions","gha","yaml","adapter","dr-yaml"],"description":"GitHub Actions adapter — parse + emit between GHA YAML and @dr-yaml/ir.","maintainers":[{"name":"galgord","email":"gal.gordon@gmail.com"}],"readme":"# `@dr-yaml/adapter-gha`\n\nGitHub Actions adapter for the\n[dr-yaml](https://github.com/galgord/dr-yaml) toolchain. Parses GHA\nYAML into [`@dr-yaml/ir`](../ir) and emits IR back to GHA YAML\ndeterministically (round-trip stable modulo source positions).\n\n## Install\n\n```bash\nnpm install @dr-yaml/adapter-gha @dr-yaml/ir\n```\n\n## Usage\n\n```ts\nimport { parse, emit, capabilities } from \"@dr-yaml/adapter-gha\";\n\nconst { ok, pipeline, errors } = parse(yamlString);\nconst { yaml, lossReport } = emit(pipeline);\n```\n\nParser preserves source positions on every Job and Step for accurate\nlint + error reporting. Emitter records a `LossEntry` rather than\nsilently dropping any concept the target can't represent.\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}