- Consider opening an issue before submitting a pull-request to avoid unnecessary work
- Ensure pull request titles adhere to the Conventional Commits specification
The module is released automatically from the main and next branches using multi-semantic-release. Version bumps and change logs are generated from the commit messages.
This repository uses pnpm as its package manager. See the pnpm installation guide to set it up through whatever method you prefer.
After cloning the repository, use the setup script to install dependencies, build, and run all checks:
pnpm run setupTo build types and docs:
pnpm run buildRun auto-formatting to ensure any changes adhere to the code style of the repository:
pnpm run formatTo run lint and format checks without making any changes:
pnpm run lintRun unit tests once or in watch mode:
pnpm test
pnpm run test:watchUse the provided script to set up your environment for different versions of Svelte:
# Svelte 5
pnpm run install:5
pnpm run all
# Svelte 4
pnpm run install:4
pnpm run all:legacy
# Svelte 3
pnpm run install:3
pnpm run all:legacyUse contributors:add to add a contributor to the README:
pnpm run contributors:addUse contributors:generate to ensure the README's contributor list is up to date:
pnpm run contributors:generate