Skip to content

fix(cli): allow convert command to work without package.json#1008

Open
senzenn wants to merge 2 commits into
codama-idl:mainfrom
senzenn:fix/convert-without-package.json
Open

fix(cli): allow convert command to work without package.json#1008
senzenn wants to merge 2 commits into
codama-idl:mainfrom
senzenn:fix/convert-without-package.json

Conversation

@senzenn

@senzenn senzenn commented Jun 13, 2026

Copy link
Copy Markdown
  • Add @codama/nodes-from-anchor as a dependency of @codama/cli
  • Try direct import before falling back to the install flow

This lets users run codama convert without needing a package.json.

- Add @codama/nodes-from-anchor as a dependency of @codama/cli
- Try direct import before falling back to the install flow

This lets users run codama convert without needing a package.json.
@changeset-bot

changeset-bot Bot commented Jun 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: db941f4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@codama/cli Patch
codama Patch
@codama/dynamic-address-resolution Patch
@codama/dynamic-client Patch
@codama/dynamic-instructions Patch
@codama/errors Patch
@codama/node-types Patch
@codama/nodes Patch
@codama/validators Patch
@codama/visitors-core Patch
@codama/visitors Patch
@codama/dynamic-codecs Patch
@codama/dynamic-parsers Patch
@codama/fragments Patch
@codama/nodes-from-anchor Patch
@codama/renderers-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@senzenn

senzenn commented Jun 13, 2026

Copy link
Copy Markdown
Author

Before

Screenshot 2026-06-13 at 8 29 02 PM

After

Screenshot 2026-06-13 at 9 08 26 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant