{"id":25281928,"url":"https://github.com/pnstack/template-turbo-ui","last_synced_at":"2025-04-06T13:13:27.177Z","repository":{"id":273814473,"uuid":"920965583","full_name":"pnstack/template-turbo-ui","owner":"pnstack","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-23T06:14:10.000Z","size":1542,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-12T19:08:54.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pnstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["nvp2k1"]}},"created_at":"2025-01-23T04:55:55.000Z","updated_at":"2025-01-23T06:14:15.000Z","dependencies_parsed_at":"2025-01-23T11:15:25.750Z","dependency_job_id":null,"html_url":"https://github.com/pnstack/template-turbo-ui","commit_stats":null,"previous_names":["pnstack/template-turbo-ui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnstack%2Ftemplate-turbo-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnstack%2Ftemplate-turbo-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnstack%2Ftemplate-turbo-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnstack%2Ftemplate-turbo-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pnstack","download_url":"https://codeload.github.com/pnstack/template-turbo-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485290,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-12T19:08:56.729Z","updated_at":"2025-04-06T13:13:27.153Z","avatar_url":"https://github.com/pnstack.png","language":"TypeScript","funding_links":["https://github.com/sponsors/nvp2k1"],"categories":[],"sub_categories":[],"readme":"# Turborepo Tailwind CSS starter\n\nThis Turborepo starter is maintained by the Turborepo core team.\n\n## Using this example\n\nRun the following command:\n\n```sh\nnpx create-turbo@latest -e with-tailwind\n```\n\n## What's inside?\n\nThis Turborepo includes the following packages/apps:\n\n### Apps and Packages\n\n- `docs`: a [Next.js](https://nextjs.org/) app with [Tailwind CSS](https://tailwindcss.com/)\n- `web`: another [Next.js](https://nextjs.org/) app with [Tailwind CSS](https://tailwindcss.com/)\n- `ui`: a stub React component library with [Tailwind CSS](https://tailwindcss.com/) shared by both `web` and `docs` applications\n- `@pnstack/eslint-config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)\n- `@pnstack/typescript-config`: `tsconfig.json`s used throughout the monorepo\n\nEach package/app is 100% [TypeScript](https://www.typescriptlang.org/).\n\n### Building packages/ui\n\nThis example is set up to produce compiled styles for `ui` components into the `dist` directory. The component `.tsx` files are consumed by the Next.js apps directly using `transpilePackages` in `next.config.js`. This was chosen for several reasons:\n\n- Make sharing one `tailwind.config.js` to apps and packages as easy as possible.\n- Make package compilation simple by only depending on the Next.js Compiler and `tailwindcss`.\n- Ensure Tailwind classes do not overwrite each other. The `ui` package uses a `ui-` prefix for it's classes.\n- Maintain clear package export boundaries.\n\nAnother option is to consume `packages/ui` directly from source without building. If using this option, you will need to update the `tailwind.config.js` in your apps to be aware of your package locations, so it can find all usages of the `tailwindcss` class names for CSS compilation.\n\nFor example, in [tailwind.config.js](packages/tailwind-config/tailwind.config.js):\n\n```js\n  content: [\n    // app content\n    `src/**/*.{js,ts,jsx,tsx}`,\n    // include packages if not transpiling\n    \"../../packages/ui/*.{js,ts,jsx,tsx}\",\n  ],\n```\n\nIf you choose this strategy, you can remove the `tailwindcss` and `autoprefixer` dependencies from the `ui` package.\n\n### Utilities\n\nThis Turborepo has some additional tools already setup for you:\n\n- [Tailwind CSS](https://tailwindcss.com/) for styles\n- [TypeScript](https://www.typescriptlang.org/) for static type checking\n- [ESLint](https://eslint.org/) for code linting\n- [Prettier](https://prettier.io) for code formatting\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnstack%2Ftemplate-turbo-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpnstack%2Ftemplate-turbo-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnstack%2Ftemplate-turbo-ui/lists"}