This repo contains shared configurations for tools used for linting, formatting, etc, and is based on the "with-changesets" turbo example.
@alexanderliu/prettier-config
: Prettier config@alexanderliu/prettier-config-svelte
: Prettier config with Svelte plugin
yarn build
- Build all packages and the docs siteyarn dev
- Develop all packages and the docs siteyarn lint
- Lint all packagesyarn changeset
- Generate a changesetyarn clean
- Clean up allnode_modules
anddist
folders (runs each package's clean script)
The npm organization scope for this design system starter is @acme
. To change this, it's a bit manual at the moment, but you'll need to do the following:
- Rename folders in
packages/*
to replaceacme
with your desired scope - Search and replace
acme
with your desired scope - Re-run
yarn install
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