jhernandezb / microcosmbot

Home Page:https://microcosmbot-web.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MicroCosmBot

Apps and Packages

  • web: the NextJS web application that also runs the telegram bot
  • bot: all the bot logic
  • eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • tsconfig: tsconfig.jsons used throughout the monorepo
  • tailwind-config: tailwind.config.jss used through web and docs application as well as package/ui components

Each package/app is 100% TypeScript.

Utilities

This turborepo has some additional tools already setup for you:

Build

To build all apps and packages, run the following command:

cd nouns-stream
yarn build

Develop

To develop all apps and packages, run the following command:

cd nouns-stream
yarn dev

Testing

The web and docs NextJS projects are setup to run with Vitetest and web3 is setup to run test via Forge.

To test all apps and packages, run the following command:

cd nouns-stream
yarn test

To run tests in watch mode, run the following command:

cd nouns-stream
yarn test:watch

Remote Caching

Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:

cd microcosms
npx turbo login

This will authenticate the Turborepo CLI with your Vercel account.

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:

npx turbo link

Useful Links

Learn more about the power of Turborepo:

About

https://microcosmbot-web.vercel.app

License:GNU General Public License v3.0


Languages

Language:TypeScript 96.0%Language:JavaScript 2.2%Language:CSS 1.8%