Hi! We are really excited that you are interested in contributing to Svelte Meta Tags. Before submitting your contribution, please make sure to take a moment and read through the following guide:
It requires the use of pnpm. You can install pnpm with:
npm i -g pnpm
- Pull the repo and install the dependencies:
git clone [email protected]:oekazuma/svelte-meta-tags.git
pnpm install
- Make your modifications / additions
- Update / Add Documentation
- Write / Update Tests. End to end tests are required for all changes and new features.
- Open pull request
All the code for the library is located in the src/lib
directory.
The src/routes
directory contains a fully working SvelteKit app. This will be used for end-to-end testing. You can run pnpm dev
to run this app. You can also run it in a production build by running pnpm build
and pnpm preview
.
To run Playwright, you can run pnpm test
.
The Changesets GitHub action will create and update a PR that applies changesets and publishes new versions of changed packages to npm.