Skip to content

feat: Add clarinet manifest schema to generate JSON schema for Clarinet.toml#2300

Open
jbencin-stacks wants to merge 7 commits intostx-labs:mainfrom
jbencin-stacks:feat/schema
Open

feat: Add clarinet manifest schema to generate JSON schema for Clarinet.toml#2300
jbencin-stacks wants to merge 7 commits intostx-labs:mainfrom
jbencin-stacks:feat/schema

Conversation

@jbencin-stacks
Copy link
Copy Markdown
Contributor

@jbencin-stacks jbencin-stacks commented Mar 17, 2026

Description

Add clarinet manifest schema to generate JSON schema for Clarinet.toml. This is a minor change, as all the heavy lifing is done by serde and schemars, which we already had here. This will allow users to validate their Clarinet.toml files without running Clarinet, and will give LLMs guidance on how to modify the files

Also adds clarinet manifest check [file] to validate a Cargo.toml file without running anything else

Related Issues

Checklist

  • Tests added in this PR (if applicable)

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 70.31250% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
components/clarinet-cli/src/frontend/cli.rs 20.83% 19 Missing ⚠️

📢 Thoughts on this report? Let us know!

@jbencin-stacks jbencin-stacks marked this pull request as ready for review March 17, 2026 22:35
@jbencin-stacks jbencin-stacks changed the title feat: Add clarinet schema to generate JSON schema for Clarinet.toml feat: Add clarinet manifest schema to generate JSON schema for Clarinet.toml Mar 17, 2026
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