Repository navigation
Conversation
…uide main has carried the same "create the Next.js app, cd into it, point dev and build at webpack" block in five web-client tutorials, so every SDK bump has had to edit five copies of it. Move that block into the setup guide as "Create a tutorial project" and have each tutorial link to it. The per-tutorial SDK install steps stay where they are, since the commands differ per tutorial. Merges main and reapplies the change on the current v0.17 text.
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
Rebased on current
mainand narrowed: the five web-client tutorials no longer repeat the Next.jsscaffolding, they link to the setup guide instead.
Problem
counter_contract_tutorial.md,create_deploy_tutorial.md,creating_multiple_notes_tutorial.md,foreign_procedure_invocation_tutorial.mdandunauthenticated_note_how_to.mdeach carry the sameblock:
npx create-next-app@latest … --typescript,cdinto the project, and the note that thetemplate defaults to Turbopack so
devandbuildmust be pointed at webpack. Every SDK migration(
chore: migrate tutorials to Miden SDK v0.16,… v0.17) has had to touch all five copies.Change
setup_guide.mdgains a Create a tutorial project section holding that block once, includingthe Turbopack/webpack
package.jsonnote../setup_guide.md#create-a-tutorial-project, mentioning theproject name when it differs (
miden-fpi-appfor the FPI tutorial).(plain
yarn add, or the<CodeSdkTabs>react/typescript pair), so they are not duplication.Net: 6 files, +35/−135. No prose was reworded beyond the replaced block.
Testing
prettier@3.8.4 --checkon all six changed files →All matched files use Prettier code style!(same version/flag the
Format Markdownworkflow uses).setup_guide.md; the file already used the same./setup_guide.md#…link style (#network-and-fee-setup).npm run build:dev(thebuild-docsworkflow) was not run locally.Risk/compatibility
Docs only, no code or SDK-version changes. The risk is a reader following a link instead of inline
steps; all removed content is present verbatim in the guide section.