github codama-idl/codama @codama/renderers-core@1.4.0

latest releases: codama@1.10.2, @codama/nodes-from-anchor@1.5.5, @codama/visitors@1.10.2...
4 hours ago

Minor Changes

  • #1085 cc37342 Thanks @lorisleiva! - Add a writeIdlVisitor that writes the visited RootNode to a JSON file at the given path. Use it as a Codama CLI script to write the IDL back to a file after all before visitors 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

Don't miss a new codama release

NewReleases is sending notifications on new releases.