https://github.com/robeasthope/triton
Boilerplate for Next.js, Sanity, Storybook. Typed in Typescript. Built with Turborepo
https://github.com/robeasthope/triton
cypress jest-tests monorepo nextjs react sanity storybook turborepo typescript typescript-react
Last synced: about 2 months ago
JSON representation
Boilerplate for Next.js, Sanity, Storybook. Typed in Typescript. Built with Turborepo
- Host: GitHub
- URL: https://github.com/robeasthope/triton
- Owner: RobEasthope
- Created: 2021-08-06T12:32:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T02:50:32.000Z (over 2 years ago)
- Last Synced: 2024-04-13T12:19:08.818Z (over 1 year ago)
- Topics: cypress, jest-tests, monorepo, nextjs, react, sanity, storybook, turborepo, typescript, typescript-react
- Language: TypeScript
- Homepage: https://triquetra-next.vercel.app
- Size: 5.33 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Triquetra
## Getting started
### Build dev
- Spin up all apps: `yarn dev`
- Build all apps: `yarn build`
- Next (trq-next): `yarn next`
- Remix (trq-remix): `yarn remix`
- Storybook (trq-storybook): `yarn storybook`
- Sanity (trq-sanity): `yarn sanity`
### Build commands for Vercel
- Next (trq-next): `cd ../.. && npx turbo run build --scope=trq-next --include-dependencies --no-deps`
- Remix (trq-remix): `cd ../.. && npx turbo run build --scope=trq-remix --include-dependencies --no-deps`
- Storybook (trq-storybook): `cd ../.. && npx turbo run build --scope=trq-storybook --include-dependencies --no-deps`
- Sanity (trq-sanity): `cd ../.. && npx turbo run build --scope=trq-sanity --include-dependencies --no-deps`
## Ignore build deployment rules
Next: `git diff --quiet HEAD^ HEAD ./ ../../packages/ui/* ../../packages/utils`
Remix: `git diff --quiet HEAD^ HEAD ./ ../../packages/ui/* ../../packages/utils`
Storybook: `git diff --quiet HEAD^ HEAD ./ ../../packages/ui/*`
Sanity: `git diff --quiet HEAD^ HEAD ./ ../../packages/ui/*.schema.js ../../packages/ui/utils/sanity ../../packages/utils`