Beautiful calendar components for React/Next.js, built with Tailwind CSS & Day.js.
Run the following command:
npx create-turbo@latest -e with-changesets
This repo includes the following:
@datekit/docs
: Documentation site powered by Next.js@datekit/website
: Main website powered by Next.js@datekit/core
: Datekit core components@datekit/utils
: Datekit shared utilities@datekit/typescript-config
: TypeScript preset@datekit/eslint-config
: ESLint presetEach package and app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
npm run build
- Build all packages and both the website and the docs sitenpm run dev
- Develop all packages and both the website and the docs sitenpm run lint
- Lint all packagesnpm run changeset
- Generate a changesetnpm run clean
- Clean up all node_modules
and dist
folders (runs each package's clean script)Package publishing has been configured using Changesets. Please review their documentation to familiarize yourself with the workflow.
This example comes with automated npm releases setup in a GitHub Action. To get this working, you will need to create an NPM_TOKEN
and GITHUB_TOKEN
in your repository settings. You should also install the Changesets bot on your GitHub repository as well.
For more information about this automation, refer to the official changesets documentation
If you want to publish package to the public npm registry and make them publicly available, this is already setup.
To publish packages to a private npm organization scope, remove the following from each of the package.json
's
- "publishConfig": {
- "access": "public"
- },