@codama/renderers-core@1.4.0
·
2 commits
to main
since this release
Minor Changes
-
#1085
cc37342Thanks @lorisleiva! - Add awriteIdlVisitorthat writes the visitedRootNodeto a JSON file at the given path. Use it as a Codama CLI script to write the IDL back to a file after allbeforevisitors have been applied.// codama.mjs export default { idl: 'interface-idl.json', before: [...], scripts: { idl: { from: '@codama/renderers-core#writeIdlVisitor', args: ['idl.json'] }, }, };
Patch Changes
- Updated dependencies [
21c278c]:- @codama/errors@1.10.2
- @codama/fragments@0.1.5
- @codama/nodes@1.10.2
- @codama/visitors-core@1.10.2