npm-run-all
husky
Our great sponsors
npm-run-all | husky | |
---|---|---|
8 | 122 | |
5,608 | 31,360 | |
- | - | |
0.0 | 8.8 | |
9 months ago | 5 days ago | |
JavaScript | 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.
npm-run-all
-
Why does default TypeScript create-vue app only run type checking against Vitest config?
Now, the tsconfig.vitest.json seems to be the most "complete" (it will check app files as well as test files), so it's a good choice if you really had to choose one config and run with it (and you still get type checking in the IDE for each config). But, this doesn't include the files from tsconfig.config.json, and as an app grows, the "app" and "vitest" configs may diverge, so wouldn't it be best to use something like concurrently or npm-run-all to run vue-tsc against all 3 configs?
-
Cypress installation with Mochaversome reporter with fail test screenshots. Fix viewport screen size in headless mode.
Install the npm-run-all package (if not present)
-
Prettier and ESLint Automation Cheat Sheet
We can run all these scripts in parallel by using npm-run-all
-
Using Typescript with hapi
dev uses npm-run-all to run both commands at the same time, so you don't have to have two terminals open.
-
Create a sample app with TypeScript, React, typeorm, type-graphql. graphql-code-generator while reading "Learning GraphQL"
Used npm-run-all to enable to run commands for the front-end and back-end at once.
-
UIengine project setup
npm-run-all
husky
- 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.
- Como adicionar hooks aos commits de seu projeto utilizando Husky
-
My script to install husky, commitlint and lint-staged with zx
In all my projects I use husky, lint-staged and commitlint.
-
Joys and woes of monorepos
One of the greatest things about a monorepo is that you can centralise a lot of tooling configuration. For example, chuck a .prettierrc in the root of your monorepo and you'll never have arguments about code style again. Put a few base tsconfigs in the there to extend, and suddenly TypeScript behaves with beautiful consistency across all your packages. Add formatting, linting and husky as dependencies in the root of your workspace and you no longer need to work through upgrading everything individually when a new version comes out.
-
Automating code patterns with Husky
In the world of software development, maintaining consistent code quality and ensuring that the codebase adheres to predefined patterns and guidelines is crucial. However, manually enforcing these standards can be time-consuming and error-prone. This is where automation tools like Husky, Lint-Staged, Commitlint, and Commitizen come to the rescue. In this post, we will explore how these tools can be combined to streamline your development workflow.
-
Adding code formatting, linting, pre-commit hooks and beyond...
This week I had to set up and configure Prettier, ESLint, Husky & lint-staged dependencies to my codebase for better code formatting and linting and VSCode integration with prettier, eslint and pre-commit hooks using husky and lint-staged for achieving automation for linting and formatting.
What are some alternatives?
simple-git-hooks - A simple git hooks manager for small projects
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
standard-version - :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
prettier - Prettier is an opinionated code formatter.
pretty-quick - ⚡ Get Pretty Quick
commitlint - 📓 Lint commit messages
pre-commit-rust - Rust hooks for pre-commit
patch-package - Fix broken node modules instantly 🏃🏽♀️💨
Gatsby - The best React-based framework with performance, scalability and security built in.
semver - The semver parser for node (the one npm uses)
jest - Delightful JavaScript Testing.