Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

All web projects, services, packages built on typescript libraries and frameworks

NotificationsYou must be signed in to change notification settings

coder7475/typescript-monorepo

Repository files navigation

This Turborepo starter is maintained by theRobiul Hossain.

Using this example

Run the following command:

npx create-turbo@latest

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

This monorepo contains the following apps and packages:

Apps

  • docs: aNext.js app for documentation
  • express: a robust Express.js application with user authentication and MongoDB integration
  • node-framework: a custom Node.js framework implementation

Packages

  • @repo/ui: React component library shared across applications
  • @repo/db: Database utilities and MongoDB connector
  • @repo/ds: Data structures implementation (Queue, Stack, RadixTree)
  • @repo/framework: Custom Node.js framework core
  • @repo/math: Mathematical utilities
  • @repo/utils: Common utilities including JWT and password hashing

Configs

  • @repo/eslint-config: ESLint configurations for Next.js and React
  • @repo/prettier-config: Prettier formatting configurations
  • @repo/typescript-config: TypeScript configurations for different project types

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 my-turborepo# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)turbo build# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package managernpx turbo buildyarn dlx turbo buildpnpm exec turbo build

You can build a specific package by using afilter:

# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)turbo build --filter=docs# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package managernpx turbo build --filter=docsyarn exec turbo build --filter=docspnpm exec turbo build --filter=docs

Develop

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

cd my-turborepo# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)turbo dev# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package managernpx turbo devyarn exec turbo devpnpm exec turbo dev

You can develop a specific package by using afilter:

# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)turbo dev --filter=web# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package managernpx turbo dev --filter=webyarn exec turbo dev --filter=webpnpm exec turbo dev --filter=web

Remote Caching

Tip

Vercel Remote Cache is free for all plans. Get started today atvercel.com.

Turborepo can use a technique known asRemote 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 cancreate one, then enter the following commands:

cd my-turborepo# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)turbo login# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package managernpx turbo loginyarn exec turbo loginpnpm exec turbo login

This will authenticate the Turborepo CLI with yourVercel account.

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

# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)turbo link# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package managernpx turbo linkyarn exec turbo linkpnpm exec turbo link

Useful Links

Learn more about the power of Turborepo:

About

All web projects, services, packages built on typescript libraries and frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp