Thank you for your valuable contribution and dedication to improving this project! We greatly appreciate your involvement. To ensure a smooth and cohesive collaboration, we have provided some guidelines to help you get started. Kindly take a moment to review them before submitting your contributions. Your efforts will undoubtedly make this project even better, and we look forward to working together on its success!.
This project is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to adhere to it.
All work happens directly on GitHub
. Both core team members and external contributors send pull requests which go through the same code review
process.
This project follows semantic versioning. We release patch versions for bug fixes or other changes that do not change the behavior of the API, minor versions for new features that are backward-compatible, and major versions for any breaking changes.
Every significant change is documented in the changelog file.
Welcome to Windi UI! We value your feedback and contributions to make this project better. If you encounter any bugs or have feature requests, please use Github issues issues to submit them.
Before reporting an issue, we ask you to:
-
Search for Similar Issues
: Ensure you have searched through our existing issues to see if the problem or feature request has already been addressed or is under discussion. -
Reproduce the Bug
: If reporting a bug, please provide the minimum code required to reproduce the issue. This will help us understand and resolve the problem more efficiently. -
Describe Feature Requests
: For feature requests, please describe the desired functionality and any additional context that might be helpful.
Your participation and attention to these guidelines will help us maintain a more organized and effective development process.
- Fork the repository,and create your branch from
main
. For new feature, please submit your changes directly to thefeature
branch. Other changes should go againstmain
branch. - Use
pnpm install
install the dependencies - Use
pnpm run dev
start project, RUNpnpm run play
start theplayground
, RUNpnpm run docs
to write docs, usually a dev server and document server can be debugged. - Make changes to the codebase. Please add
tests
if applicable. - Make sure the test suite passes with
pnpm run test
. - Use
pnpm run test:ci
to RUNCI
tests before you commit your code. - Commit your changes, adhering to the Commit Guidelines.
- Open a new pull request, referencing corresponding issues if available.
Commit messages are required to follow the conventional-changelog standard:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
The following is a list of commit types:
-
feat
: Adding a new UI component or significant functionality to the library. Examples:- Added a new dropdown menu component.
- Implemented a dark mode feature for all components.
-
fix
: Addressing bugs or issues in existing UI components. Examples:- Fixed misalignment in the button component.
- Resolved an issue with the modal not closing correctly.
-
docs
: Commits related to documentation changes for Windi UI components. Examples:- Updated usage examples in the README for the carousel component.
- Added API documentation for the accordion component.
-
style
: Commits related to code formatting, styling, or theming of UI components. Examples:- Improved button styles for better consistency across browsers.
- Updated color palette for a more cohesive design.
-
refactor
: Code changes that enhance the library's structure without introducing new features or fixing bugs. Examples:- Reorganized folder structure for better modularity.
- Simplified the logic in a component to improve maintainability.
-
perf
: Commits aimed at improving performance for UI components. Examples:- Optimized rendering logic in the data table component.
- Reduced the size of assets for faster loading times.
-
test
: Commits related to testing Windi UI components. Examples:- Added unit tests for the accordion component to ensure functionality.
- Fixed failing test cases for the dropdown menu.
-
chore
: Other commits not affecting source or test files directly. Examples:- Updated third-party dependencies in package.json.
- Ignored build output in .gitignore.
This repository is managed by pnpm
and includes the following packages:
nuxt-ui-vue
: Main UI component library for Vue
By contributing your code to the repository, you agree to license your contribution under the MIT license.