|
1 |
| -# pnpm-turbo-monorepo-template |
| 1 | +# tailwindcss-mangle |
2 | 2 |
|
3 |
| -This is a empty pnpm starter turborepo for me. |
| 3 | +A util for mangle tailwindcss |
4 | 4 |
|
5 |
| -## What's inside? |
| 5 | +## Repos |
6 | 6 |
|
7 |
| -This turborepo uses [pnpm](https://pnpm.io) as a package manager. It includes the following packages/apps: |
| 7 | +[tailwindcss-patch](./packages/tailwindcss-patch) |
8 | 8 |
|
9 |
| -### Apps and Packages |
10 |
| - |
11 |
| -- `docs`: a [Next.js](https://nextjs.org/) app |
12 |
| -- `web`: another [Next.js](https://nextjs.org/) app |
13 |
| -- `ui`: a stub React component library shared by both `web` and `docs` applications |
14 |
| -- `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`) |
15 |
| -- `tsconfig`: `tsconfig.json`s used throughout the monorepo |
16 |
| - |
17 |
| -Each package/app is 100% [TypeScript](https://www.typescriptlang.org/). |
18 |
| - |
19 |
| -### Utilities |
20 |
| - |
21 |
| -This turborepo has some additional tools already setup for you: |
22 |
| - |
23 |
| -- [TypeScript](https://www.typescriptlang.org/) for static type checking |
24 |
| -- [ESLint](https://eslint.org/) for code linting |
25 |
| -- [Prettier](https://prettier.io) for code formatting |
26 |
| - |
27 |
| -### Build |
28 |
| - |
29 |
| -To build all apps and packages, run the following command: |
30 |
| - |
31 |
| -``` |
32 |
| -cd my-turborepo |
33 |
| -pnpm run build |
34 |
| -``` |
35 |
| - |
36 |
| -### Develop |
37 |
| - |
38 |
| -To develop all apps and packages, run the following command: |
39 |
| - |
40 |
| -``` |
41 |
| -cd my-turborepo |
42 |
| -pnpm run dev |
43 |
| -``` |
44 |
| - |
45 |
| -### Remote Caching |
46 |
| - |
47 |
| -Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines. |
48 |
| - |
49 |
| -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](https://vercel.com/signup), then enter the following commands: |
50 |
| - |
51 |
| -``` |
52 |
| -cd my-turborepo |
53 |
| -pnpm dlx turbo login |
54 |
| -``` |
55 |
| - |
56 |
| -This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview). |
57 |
| - |
58 |
| -Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo: |
59 |
| - |
60 |
| -``` |
61 |
| -pnpm dlx turbo link |
62 |
| -``` |
63 |
| - |
64 |
| -## Useful Links |
65 |
| - |
66 |
| -Learn more about the power of Turborepo: |
67 |
| - |
68 |
| -- [Pipelines](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks) |
69 |
| -- [Caching](https://turbo.build/repo/docs/core-concepts/caching) |
70 |
| -- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) |
71 |
| -- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering) |
72 |
| -- [Configuration Options](https://turbo.build/repo/docs/reference/configuration) |
73 |
| -- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference) |
| 9 | +[unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mangle) |
0 commit comments