We welcome all types of contributions, including but not limited to:
- Code
- Documentation
- Bug reports
- Feature requests
- Design
- Translations
We use the All Contributors specification to recognise all types of contributions!
- Check our issue tracker for open issues.
- Look for issues labeled "good first issue" or "help wanted" if you're new to the project.
- Comment on the issue you'd like to work on to let others know you're tackling it.
If you're new to GitHub, or even git, take a look at the EddieHub open-source-practise repo.
Package | Description |
---|---|
svelte-cloudinary | Documentation here |
playground | Development playground to experiment with svelte-cloudinary |
docs | Source for the docs |
You'll first need to install pnpm@9
and node@>18
. Then, after cloning this repo, you can run:
pnpm install
It's also worth running pnpm package
if you haven't before. The svelte-cloudinary
requires being built to work in the docs or playground. You can run all 3 in watch mode with pnpm dev
.
Both the playground and docs need to have environment variables in order to run. You can find the template in the .env.example
files located in each package. Simply create and fill out a .env
file based on this template.
You can run the packages in dev mode with the pnpm dev
script. This will build svelte-cloudinary
in watch mode, and run the docs/playground.
This is a list of the top-level scripts available, which can be run with pnpm run <script-name>
:
Script Name | Description |
---|---|
dev |
Run all the packages in dev mode - starts the playground/docs, and builds svelte-cloudinary |
build |
Builds every package/site in the monorepo |
package |
Just build svelte-cloudinary |
lint |
Check the codebase is following the style guide |
test |
Runs the automated test suite |
check |
Runs svelte-check and astro-check to find TypeScript/a11y errors |
format |
Format the codebase with prettier |
We use changesets for our release system. If your pull request includes a change that should be released on npm (i.e. a change to the svelte-cloudinary pacakge), then please run pnpm changeset
at the root of the repository and follow the instructions.
Please reach out to us if you need any help: either via the issue you're trying to tackle, or on GitHub discussions.