Add multi-version support without git branches#1
Open
critesjosh wants to merge 1 commit intomainfrom
Open
Conversation
This refactors versioning to work with marketplace installs by embedding all version-specific content in a single plugin installation. Changes: - Add versions/ directory with syntax references for devnet/testnet/mainnet - Add versions.json with version patterns for auto-detection - Replace git-branch setup.sh with config-based version selector - Add /aztec:detect-version command to scan Nargo.toml - Update CLAUDE.md with version detection instructions - Update README.md and NETWORK.md documentation - Bump plugin version to 2.0.0 The plugin now: - Auto-detects version from Nargo.toml tag patterns - Defaults to devnet if no version specified - Works without requiring git (marketplace compatible) - Stores version choice in .aztec-version config file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Changes
New Files
versions/versions.json- Version definitions and tag patternsversions/devnet/syntax.md- Complete devnet syntax referenceversions/testnet/syntax.md- Testnet syntax referenceversions/mainnet/syntax.md- Mainnet placeholder (future)commands/detect-version.md- Slash command to detect project versionModified Files
setup.sh- Replaced git-branch switching with config-based approachCLAUDE.md- Added version detection instructionsplugin.json- Bumped to v2.0.0, added version configREADME.md- Updated versioning documentationNETWORK.md- Complete rewrite for new approach.gitignore- Changednetwork.jsonto.aztec-versionHow It Works
Nargo.tomlforaztec-packages-v*tags.aztec-versionTest plan
./setup.sh testnet, verify version changes/aztec:detect-version, verify output.gitfolder from plugin, verify it still works🤖 Generated with Claude Code