Thanks for your interest in contributing to Noisekun! Please take a moment to review this document before submitting a pull request.
The audio URLs is hard coded on src/data/sounds/index
, update file with your URLs.
The icons is on src/data/sounds/icons/
.
The audio files are stored on Noisekun CDN, but you can access them at .github/assets/sounds
.
This project is using pnpm as package manager.
Install dependencies
pnpm install
Init development server
pnpm dev
or...
Init production server
pnpm build && pnpm start
Please ask first before starting work on any significant new features.
It's never a fun experience to have your pull request declined after investing a lot of time and effort into a new feature. To avoid this from happening, we request that contributors create a feature request to first discuss any significant new ideas. This includes things like adding new utilities, creating new at-rules, etc.
If you create a new branch to contributing, make a Draft Pull Requets, even if you haven't finished the implementation yet, to prevent other contributors from making changes that break your implementation, and to keep everyone aware of your progress. After you finish your changes, enable your PR for review and merging.
- Fork this repository
- Clone your new repository to your system
- Create a new branch from main (i.e. feat/[your-branch-name])
- Push the new branch to your fork
- Open and submit a Draft PR
- Make necessary changes
- Commit changes and push the new branch
- Enable the PR for review and merging
Our code formatting rules are defined in .eslintrc.js and .prettierrc.cjs. You can check your code against these standards by running:
pnpm lint
To automatically fix any style violations in your code, you can run:
pnpm lint -- --fix
You can run the test suite using the following command:
pnpm test:ci
Or, for watch changes, just:
pnpm test
Please ensure that the tests are passing when submitting a pull request for review and merging. If you're adding new features or fixing a bug on Noisekun, please include tests that simulate that feature or bug.