Repository navigation
[Advancement] Introduce a project manifest (starforge.toml) as the single source of truth - #1100
Merged
Nanle-code merged 3 commits intoOct 1, 2026
Conversation
…#938) - Add project manifest module () supporting [contracts], [networks], [deploy], [scripts], versioning, and upward directory discovery. - Add command suite (, , , ) in . - Update to generate starter for contract and dApp projects. - Update and to read contract WASM targets, deployment environments, and wallets from when is omitted. - Add JSON Schema (), manifest documentation (), and migration guide (). Closes Nanle-code#938
|
@rindicomfort Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Owner
|
@rindicomfort resolve conflicts |
Contributor
Author
|
resloved @Nanle-code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #938 by introducing a standard project manifest (
starforge.toml) as the single source of truth for StarForge projects.Changes Made
Manifest Core Module (
src/manifest.rs):ProjectManifestdata structures withserdesupporting[package],[contracts],[networks],[deploy], and[scripts]tables.version = "1") and strict schema validation.discover_manifestandfind_and_load_manifest).ProjectManifest::json_schema()).Manifest Command Suite (
src/commands/manifest.rs):starforge manifest validateto validate project manifests.starforge manifest schemato output or export JSON Schema (starforge.schema.json).starforge manifest initto scaffoldstarforge.tomlin existing projects.starforge manifest showto view summary or JSON representation of discovered manifests.starforge newIntegration (src/commands/new.rs):starforge.toml.starforge deploy&starforge testIntegration:--wasmoptional when a validstarforge.tomlis present in the working directory or parent directories.starforge.toml.Documentation & Migration:
docs/starforge.schema.json.docs/manifest.md.docs/MANIFEST_MIGRATION.md.Closes #938