Contributing to @involvex/create-wizard
We welcome contributions to the @involvex/create-wizard
project! By contributing, you help us make this CLI tool even better for the community.
How to Contribute
Reporting Bugs
If you find a bug, please open an issue on our GitHub repository. When reporting a bug, please include:
- A clear and concise description of the bug.
- Steps to reproduce the behavior.
- Expected behavior.
- Actual behavior.
- Screenshots or error messages (if applicable).
- Your operating system, Node.js version, and
create-wizard
version.
Suggesting Enhancements
We're always looking for ways to improve create-wizard
. If you have an idea for a new feature or an enhancement to an existing one, please open an issue on GitHub. Describe your suggestion clearly and explain why you think it would be valuable.
Code Contributions
We encourage code contributions! If you'd like to submit code, please follow these steps:
-
Fork the repository: Go to [https://github.com/involvex/create-wizard]https://github.com/involvex/create-wizard and click the "Fork" button.
-
Clone your forked repository:
git clone https://github.com/YOUR_USERNAME/create-wizard.git
cd create-wizard -
Install dependencies:
npm install
-
Create a new branch: Choose a descriptive name for your branch (e.g.,
feature/add-new-template
,fix/bug-in-git-init
).git checkout -b feature/your-feature-name
-
Make your changes: Implement your feature or bug fix. Ensure your code adheres to the project's coding style and conventions.
-
Run tests: Before committing, make sure all existing tests pass and add new tests for your changes if applicable.
npm test
-
Lint and format your code: Ensure your code is properly linted and formatted.
npm run check
-
Commit your changes: Write a clear and concise commit message. We follow Conventional Commits specification.
git commit -m "feat: add new template for XYZ"
(Replace
feat
withfix
,docs
,chore
, etc., as appropriate.) -
Push your branch:
git push origin feature/your-feature-name
-
Open a Pull Request (PR): Go to your forked repository on GitHub and open a new pull request to the
main
branch of the originalinvolvex/create-wizard
repository. Provide a clear description of your changes and reference any related issues.
Code Style and Conventions
- Linting: We use ESLint to enforce code quality. Please run
npm run lint
andnpm run lint:fix
before committing. - Formatting: We use Prettier for code formatting. Please run
npm run format
before committing. - Commit Messages: Follow the Conventional Commits specification.
License
By contributing to @involvex/create-wizard
, you agree that your contributions will be licensed under the project's MIT License.