The Dopex frontend monorepo
Please have these installed on your machine:
yarn
yarn global add turbo
dev
- Runs the dapp in dev mode
Via yarn:
yarn dev
Via turbo:
turbo dev
build
- Builds the dapp
Via yarn:
yarn build
Via turbo:
turbo build
storybook
- Run the storybook in dev mode
Via yarn:
yarn storybook
Via turbo:
turbo storybook
lint
- Runs linting
Via yarn:
yarn lint
Via turbo:
turbo lint
generate
- Runs the graphql codegen in dapp
Via yarn:
yarn generate
Via turbo:
turbo generate
build-ui
- Builds the UI package
Via yarn:
yarn build-ui
Via turbo:
turbo build-ui
build-storybook
- Builds the storybook
Via yarn:
yarn build-storybook
Via turbo:
turbo build-storybook
Since this is a monorepo configured via yarn workspaces adding dependencies to a workspace should be done in the following manner - https://turbo.build/repo/docs/handbook/package-installation#addingremovingupgrading-packages
Look into the specific README of the workspace to begin.