-
Ensure the bug was not already reported by searching on GitHub under Issues.
-
If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
-
Open a new GitHub pull request with the patch.
-
Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
Changes that are cosmetic in nature and do not add anything substantial to the stability, functionality, or testability of zUIx will generally not be accepted unless discussed via the issue tracker.
File a new enhancement issue.
File a new question issue.
This project follows standardjs.com coding rules.
The build script also includes ESLint checks that are mainly based off the
eslint-config-google.
You may find out that some of these rules are not fully respected in the existing code,
but this will be fixed from time to time.
See the src/README.md file.
Clone the zUIx repository and install dependencies:
npm install
To build the source and create the minified version in the ./dist/js folder:
npm run build
The release process is automated using GitHub Actions and triggered by pushing a new version tag.
Step 1: Create the new version
Ensure you are on the main branch and all changes are committed. Then, run the npm version command. This will automatically update the README.md, update the version in package.json, and create a version commit and tag.
# For a patch release (e.g., 1.0.0 -> 1.0.1)
npm version patch
# For a minor release (e.g., 1.0.1 -> 1.1.0)
npm version minor
# For a major release (e.g., 1.1.0 -> 2.0.0)
npm version majorStep 2: Push the commit and tag to GitHub
Push the newly created commit and tag to the repository. This will trigger the automated release workflow.
git push --follow-tagsAutomated Process via GitHub Actions
Once the new tag is pushed, a GitHub Actions workflow will automatically:
- Build the project.
- Run post-build tasks (like adding version headers to JS files).
- Publish the
zuix-distpackage from the/distfolder to NPM. - Generate API documentation.
- Copy the final distribution files and API docs to the
/docsfolder. - Commit and push the updated
/docsfolder back to the repository.
zUIx is a volunteer effort. We encourage you to pitch in and join the team!
Thanks! ❤️