This repository serves as a template for creating a monorepo project using pnpm. It provides a convenient structure for managing multiple packages within a single repository.
It provides a structured setup for managing multiple packages and applications within a single repository. The included packages are trpc-definition
, tailwind-configuration
, tsconfig
, and ui
, while the apps are built using SvelteKit.
- Keep all libraries in the
devDependencies
section.
- SvelteKit will handle the compilation of all dependencies.
- Ensure the
node_modules
folder remains empty when uploading to production.
This package contains the trpc definitions for your project. It defines the API endpoints, data models, and any other necessary definitions for your trpc server.
The tailwind-configuration
package contains the configuration files and settings for Tailwind CSS in your project. You can customize the theme, add or modify utility classes, and manage your project's overall styling using this package.
The tsconfig
package contains the TypeScript configuration for your project. It includes compiler options, module resolution settings, and any other necessary configurations to ensure smooth TypeScript development across all packages in your monorepo.
The ui
package houses the user interface components and related code for your project. This package serves as the frontend layer of your application, providing a cohesive and reusable set of UI components that can be used across different parts of your project.
To get started with your monorepo project using this template, follow these steps:
- Clone this repository:
git clone https://github.com/binsarjr/kitmono.git
. - Install pnpm globally:
npm install -g pnpm
. - Install dependencies for all packages:
pnpm install
. - Start the development server:
pnpm --filter kitmono.vercel.app dev
.
Feel free to customize and extend this template to fit your specific project requirements. Happy coding!
This repository is licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license.
We'd like to acknowledge the following tools and frameworks that made this template possible:
- pnpm
- SvelteKit
- Tailwind CSS
- TypeScript
Thank you for using our monorepo template! We hope it helps you build amazing projects efficiently and collaboratively. If you have any questions or feedback, please don't hesitate to reach out.