husky
lerna
husky | lerna | |
---|---|---|
141 | 164 | |
32,545 | 35,717 | |
- | 0.1% | |
8.5 | 8.4 | |
23 days ago | 3 days 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
lerna
-
Starting the Console front-end for Rainbow Platform
For dependency and workflow management in Gaia, we can use any tool available in the Node ecosystem. You might suggest Lerna or even Turborepo. For our needs, the default npm workspaces will suffice.
-
My Journey to Building Flexilla: Headless interactive component library
Thatās how I ended up with the library at version 2.x.x. From that point, I stopped making those mistakes. With Lerna, I no longer have to worry about changing package versions that havenāt been updated; Lerna takes care of that for me.
-
Add Step-up Authentication Using Angular and NestJS
Open the project up in your favorite IDE. Let's take a quick look at the project organization. The project has an Angular frontend and NestJS API backend housed in a Lerna monorepo. If you are curious about how to recreate the project, check out the repo's README file. I'll include all the npx commands, CLI commands, and the manual steps used to create the project.
-
Things I learned while building projects with NX
Lerna currently maintained by Nx team
- tsParticles 3.0.0 is out. Breaking changes ahead.
-
Nx 16.8 Release!!!
On Netlify's enterprise tier, approximately 46% of builds are monorepos, with the majority leveraging Nx and Lerna. Recognizing this trend, Netlify has focused on enhancing the setup and deployment experiences for monorepo projects. In particular they worked on an "automatic monorepo detection" feature. When you connect your project to GitHub, Netlify automatically detects if it's part of a monorepo, reads the relevant settings, and pre-configures your project. This eliminates the need for manual setup. This feature also extends to local development via the Netlify CLI.
- Mocha/Chai with TypeScript (2023 update)
-
Help with library implementation in a big webapp
This is the exact problem monorepos were born to solve. Not only will a monorepo let you share UI components, you'll be able to gradually add shared application logic as well (for instance, do all of your apps have their own logic for connecting to a database? you could roll that into a shared library with a monorepo). There are a lot of tools for accomplishing this in JS, but probably the most popular is lerna, which is built on top of NX (though lots of teams roll their own monorepo in nx without lerna, which IMO is a totally valid option).
-
How to Build and Publish Your First React NPM Package
To begin, you need to prepare your environment. A few ways to build a React package include tools like Bit, Storybook, Lerna, and TSDX. However, for this tutorial, you will use a zero-configuration bundler for tiny modules called Microbundle.
-
Utility for making sure that I'm using the right `@types/react`
If so, are you using a monorepo tool like Nx or Lerna? If not, start there and see if it solves your problem.
What are some alternatives?
simple-git-hooks - A simple git hooks manager for small projects
turborepo - Incremental bundler and build system optimized for JavaScriptĀ and TypeScript, written in Rust ā including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
nx - Smart Monorepos Ā· Fast CI
standard-version - :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
changesets - š¦ A way to manage your versioning and changelogs with a focus on monorepos
prettier - Prettier is an opinionated code formatter.
pnpm - Fast, disk space efficient package manager
pretty-quick - ā” Get Pretty Quick
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
commitlint - š Lint commit messages
single-spa - The router for easy microfrontends