valibot
husky
valibot | husky | |
---|---|---|
7 | 127 | |
5,245 | 31,666 | |
- | - | |
9.9 | 8.6 | |
about 23 hours ago | 6 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
valibot
-
Next.js and Bunny CDN: Complete Guide to Image Uploading with Server Actions
I'll use Valibot library, which is a pretty new and cool library for schema validation, similar to Zod.
-
Effortlessly Generate Structured Information with Ollama, Zod, and ModelFusion
The ModelFusion zodSchema function wraps the Zod object definition. This is necessary because ModelFusion supports Zod and unchecked JSON schemas and is adaptable to other schema validation libraries such as Valibot.
-
Hacktoberfest Week 2 PR
There was already existing validation in place for the question form page using Valibot, so I only needed to change two lines of code. I imported includes in addition to the other Valibot functions, and I also added an a new line of validation using the includes function to ensure the string has at least one space (If it does not the corresponding error message will be displayed). I had never used Valibot before, but it was easy to learn by looking at the web documentation as well as the existing code. See screenshots of my fix in my PR.
-
Database Review: Top Five Missing Features from Database APIs
Valibot (good for types and constraints)
-
Angular vs. React vs. Vue.js: Comparing performance
Valibot: A lightweight schema declaration and validation library. Its bundle size is less than 1kb
- Valibot, a <1kb Alternative to Zod
husky
- Supercharge your workflow with Husky, Lint Staged and Commitlint
-
Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes
In this post, I will primarily discuss client-side hooks. I'll delve into three specific hooks: pre-commit, commit-msg, and pre-push. The central tool discussed will be Husky, which simplifies the configuration of Git Hooks, making it more straightforward.
-
I switch from Eslint to Biome
Reading Biome doc I also switched from husky to lefthook.
-
Streamline Your Workflow: Setting Up Git Hooks with Husky to Simplify Version Updates
Dive deeper into the world of Husky with the official documentation. Explore the capabilities of Standard Version through its comprehensive documentation. Unravel the mysteries of semantic-release with its detailed documentation. Discover the versatility of bumpp with its comprehensive documentation.
-
Git Project Configuration With Husky and ESLint
Let’s walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions.
- Padronizando seu código através dos Git Hooks
- Angular 14 + Prettier + Husky Setup
-
How Automation Saved Me from Oops Moments: Never Skip Tests in Production Again!
We were already using lint-staged and have a pre-commit hook in place using Husky in our project for linter and prettier. So it made sense to add a check here.
- Pre-commit with husky & lint-staged
-
How to Improve Development Experience of your React Project
Now, let's talk about Husky. It's a wonderful tool that enables you to run scripts on any Git hooks. We'll add a pre-commit hook to run ESLint and Stylelint checks before committing. This ensures that we don't commit code with errors.
What are some alternatives?
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
simple-git-hooks - A simple git hooks manager for small projects
vuelidate - Simple, lightweight model-based validation for Vue.js
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
zoxy - A small type-safe object proxy around Zod to help you stay safe after your data is loaded while continuing to edit them.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
standard-version - :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
prettier - Prettier is an opinionated code formatter.
zustand - 🐻 Bear necessities for state management in React
pretty-quick - ⚡ Get Pretty Quick