Skip to content

feat(cli): Allow configuring IDL JSON location in workspace config#4483

Open
jamie-osec wants to merge 6 commits into
otter-sec:masterfrom
jamie-osec:idl-json-config
Open

feat(cli): Allow configuring IDL JSON location in workspace config#4483
jamie-osec wants to merge 6 commits into
otter-sec:masterfrom
jamie-osec:idl-json-config

Conversation

@jamie-osec
Copy link
Copy Markdown
Collaborator

Closes #3533 by clarifying the docs and allowing configuring the location of the IDL JSON as well as types.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 28, 2026

@jamie-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread cli/src/lib.rs Outdated
Comment thread docs/content/docs/references/anchor-toml.mdx Outdated
Copy link
Copy Markdown
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a reasonable feature to add. The comments are only for small issues.

Comment thread cli/src/config.rs Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will be deployed immediately after the merge, which could cause issues when people try to use this feature before the next version is out. This has been a common problem. I see someone already working on v2 docs (#4460), so thoughts on versioning the docs going forward?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, we should probably figure this out before touching the docs too much

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That PR seems to update how the TS package docs work, but the issue was about the main docs site. I believe TS package docs never automatically updated on every merge anyway.

Comment thread tests/idl/Anchor.toml Outdated
Comment thread tests/idl/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to control the location of IDL and types.

3 participants