# Contributing

Thank you for your interest in contributing to the Auto Deselect Uncategorized project.

Contributions in the way of [Pull Requests](https://github.com/gnowland/auto-deselect-uncategorized/pulls) are welcome. Please follow the WordPress.org Block Editor Handbook [Development Environment](https://developer.wordpress.org/block-editor/tutorials/devenv/) setup and familiarize yourself with the [JS Build Setup](https://developer.wordpress.org/block-editor/tutorials/javascript/js-build-setup/) instructions and [Coding Guidelines](https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/).

> ⚠️ NOTE: the following files are auto-generated by the `npm run release` command, DO NOT MODIFY as they will be overwritten on every build:
> 
> - `README.md`
> - `js/index.asset.php`
> - `build/`

The following script actions are available:

- `npm run dev`

    Start the testing WordPress Docker container.

- `npm run release`

    ✳️ Before running `npm run release`, remember to first:

    1. Update the Changelog in `readme.txt`
    2. Bump the version in `package.json`
    3. *Then* run `npm run release`
    4. Commit changes
    5. Add `git tag v`+1
    6. `git push --tags`

- `npm run destroy`

    ⚠️ WARNING: Destructive

    When you're finished development run the `clean` script to destroy the testing WordPress Docker container and remove the `build` folder.
