Thanks for your interest in contributing!
This is a guideline for contributing to JDER Core.
Please install the following dependencies:
| Dependencies | Description |
|---|---|
| Node.js | JavaScript runtime |
| pnpm | Package manager for Node.js |
| just | Command runner |
| ls-lint | Linting tool for directories and files |
| typos-cli | Spell checker |
The following commands are available:
This command will install Node.js dependencies.
just iThis command will do linting, formatting and testing.
justThis command will lint the code.
just lintThis command will format the code.
just fmtThis command will build the code.
just buildThis command will run all tests.
just testThis command will run all tests with all JavaScript runtimes.
denoandbunmust be installed to run this command.
just test-allThis command will clean the unnecessary files.
just cleanThis command will clean all unnecessary files including the node_modules directory.
just clean-allWhen committing changes to the code, use the following prefixes:
chore: updates in dependencies/toolsbuild: changes to the build systemfix: fixes a bugfeat: adds a new featurerefactor: other code changesperf: performance improvementssecurity: security related changesstyle: style changestest: adding or updating testsdocs: documentation only changesci: CI configuration updatesrelease: new version release
For example:
feat: add xxx feature
docs: fix typos