Fix Turbo v2 setup issues when following official Midnight Network tutorial#1002
Open
ShawnTseng wants to merge 14 commits into
Open
Fix Turbo v2 setup issues when following official Midnight Network tutorial#1002ShawnTseng wants to merge 14 commits into
ShawnTseng wants to merge 14 commits into
Conversation
…rbo v2 requirement
…o.json for Turbo v2
|
|
claudebarde
reviewed
Sep 1, 2025
- Added "engines" field to enforce Node version >=20 - Standalone script remains using ts-node/esm with experimental specifier resolution
Add dangerouslyDisablePackageManagerCheck flag to resolve build failures when running npx turbo build. This allows flexibility in package manager usage without requiring a specific npm version in packageManager field. ref: https://turborepo.com/docs/reference/configuration#dangerouslydisablepackagemanagercheck
bytrangle
reviewed
Sep 5, 2025
bytrangle
left a comment
There was a problem hiding this comment.
Look neat to me. There are some changes in Turbo that are not documented unless you dig deep into their blog. These changes look neat to me.
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.
While following the official Midnight Network tutorial for building the example-bboard DApp (https://docs.midnight.network/develop/tutorial/creating/bboard-dapp#compiling-and-running-the-dapp), several issues prevented
npx turbo buildfrom running correctly.This PR fixes those issues:
packageManagerfield: Added to root package.json as required by Turbo v2.turbo.jsonlocation: Moved to the repository root to comply with Turbo v2 expectations.outputMode: Replaced withoutputLogsin turbo.json.pipelinefield: Renamed totasksin turbo.json for Turbo v2.dependsOnsyntax: Updated to correctly referencecompacttasks..turboto .gitignore.These fixes make the build scripts run successfully while following the tutorial instructions.