git clone [email protected]:turbo-eth/turbo-eth.git
The pnpm
package manager is required for node module management.
Please reference the pnpm
documentation for installation instructions.
pnpm install
Packages use direnv to manage environment variables. You'll likely need to install it.
cp .envrc.example .envrc
Build flows are handled via tasks pipelines: schedule, execute, and cache.
Edit the turbo.json
file in the root directory to define new pipelines
Start Building
pnpm lab
The fastest way to start hacking is to run the lab
task pipeline: starts local blockchain, creates frontend development server and watches for packages
files for changes.
Example:
{
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/main",
"pipeline": {
"chain": {
"dependsOn": ["^chain"],
"outputs": [""],
"inputs": ["contracts/**/*.sol"]
},
"watch": {
"dependsOn": ["^watch"],
"outputs": [""]
},
"dev": {
"dependsOn": ["^dev"],
"outputs": [""]
},
"lab": {
"dependsOn": ["^watch", "^chain", "@turbo-eth/demo-app#dev"],
"outputs": [""]
}
}
}
The monorepo includes 3 primary folders
Copyright 2022 Kames Geraghty