husky
patch-package
husky | patch-package | |
---|---|---|
141 | 66 | |
32,606 | 10,447 | |
- | - | |
8.5 | 2.4 | |
about 1 month ago | 5 months ago | |
JavaScript | TypeScript | |
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.
husky
-
Local Dev Environment and Static Code Analysis
To implement these hooks I have utilised another library called husky
-
How to Leverage Git and AI to View Your Achievements as a Developer
Meaningful commit messages make logs easier to review, and there are other specifications and tools like Conventional Commits and Husky that can also keep your commit history clean and purposeful.
-
Clean Code: Open Source Linting & Formatting
My second approach is to always ask ChatGPT to do a Bing (I wish it was google too, believe me) search for me and find tools that fit my criteria. And it did! I was recommended two packages, Husky and lint-staged, which work together! Husky is a package that provides ultra-fast modern native Git hooks, and lint-staged is a tool that allows running linters against staged Git files!
- Configurando Prettier, ESLint y Husky en Angular
-
Tutorial: Build a Java SDK based on OpenAPI Spec
Husky can be used to set up Git hooks that run scripts before code is committed.
-
Which open-source projects are widely used but maintained by just a few people?
husky (git hooks) https://github.com/typicode/husky
-
Using Husky to help you avoid f****ing up Semantic Versioning
Husky is an NPM package that makes it easy to integrate Git Hooks into your project. It can be used to automate tasks such as running tests, linters, etc. It is extremely fast and weighs only 2kb. Additionally, with Husky, we can create hooks using POSIX shell scripts.
- React with Vite On Steroids
-
How Should You Use an Auto-Formatter?
In the case of pre-commit hooks, the runtime either has to be installed manually by every user (in the case of Husky) or is handled in Python (in the case of pre-commit). Running Node.js through Python/pyenv introduces an additional layer of complexity, which can lead to issues like OpenSSL library incompatibilities.
- Automatizando o versionamento semântico com Git Hooks
patch-package
-
Installing EmberJS v2 addons from GitHub forks using PNPM
patch-package - Lets app authors instantly make and keep fixes to npm dependencies.
-
Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
In order to allow users to use their device as a controller to adjust the position of the camera and find stars, I use the depreciated DeviceOrientationControls by patching it back into Three. In order for DeviceOrientationControls to function, we need access the user to grant access to their device's orientation. I attempt to gain access to this, alongside their camera, during a previous step of the UX using a custom composable I wrote for this purpose. You can see that permission step in the mockup video above. Once this permission is granted, we can initialize our DeviceOrienationControls with a single line.
-
TypeScript NPM Packages Done Right
If you use Yarn, there’s the `yarn patch` command [1], which lets you maintain patches for your dependencies. Even though I try to upstream patches wherever possible, sometimes you just want to apply a quick patch and move on, especially if the dependency is poorly maintained or even worse, deeply nested in your dependency hierarchy. I use `yarn patch` regularly, it’s one of the main reasons why I moved to Yarn in the first place.
If you’re not using Yarn, there seems to be a similar thing on npm, `patch-package`. [2] I never had to use that though.
[1]: https://yarnpkg.com/cli/patch
[2]: https://www.npmjs.com/package/patch-package
- Fix broken node modules instantly
-
How to ignore an error , that happens in a node modules library ?
You can use patch-package to edit the part of the library.
- Jest not recommended to be used in Node.js due to instanceOf operator issues
-
Getting kinda stuck with a build error, any help much appreciated
patch-package
-
Credentials Leak with Knex
NPM doesn't have a patch command, but you can use patch-package to achieve the same result.
-
Why react native is so shit
If there's issue ticket discussing it and someone can fix it, ask for patch file and use patch-package to patch it
- Eas local build, how skip npm install
What are some alternatives?
simple-git-hooks - A simple git hooks manager for small projects
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
lerna - Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
vite - Next generation frontend tooling. It's fast!
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
vercel - Develop. Preview. Ship.
standard-version - :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
basic-ftp - FTP client for Node.js, supports FTPS over TLS, passive mode over IPv6, async/await, and Typescript.
prettier - Prettier is an opinionated code formatter.
cashify - 💸 Lightweight currency conversion library, successor of money.js
pretty-quick - ⚡ Get Pretty Quick
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS