- Replaces shell-based execution of `chmod` with native Node.js filesystem API calls to improve performance
- Switches to `execFileSync` in stream event handlers to avoid shell spawning overhead
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
Co-authored-by: Tunglies <tunglies.dev@outlook.com>
- Unified handler to IEC standard.
- Change handler to parse number in a unified style, even with number less than 1000.
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
* build(deps): Adds husky for Git hooks
- Integrates the husky package as a development dependency.
- Enables the configuration and enforcement of pre-commit and pre-push Git hooks.
- Improves code quality and consistency by automating checks before commits.
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
* feat: Add Husky prepare hook
- Automatically installs Git hooks for developers
- Ensures consistent code quality checks before commits or pushes
- Streamlines the developer setup process
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
* ci: Avoid installing Git Hooks on GitHub Workflows
- Adds `HUSKY: 0` environment variable to all workflow definitions.
- Prevents local development hooks from executing in CI, which can cause unnecessary failures or overhead.
- See https://typicode.github.io/husky/how-to.html#ci-server-and-docker
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
---------
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
- Prevent users from creating issue without a template
- Always use a template for guiding users to provide necessary information for us
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
- Increase `fetch-depth` to 50 for more accurate commit history in CI
- Update `release-version.mjs` to use `bash` explicitly for improved compatibility
- Also avoid errors when invoking the script
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>