Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nano-staged

usmanyunusov105.2kMIT0.8.0

Tiny tool to run commands for modified, staged, and committed git files.

runner, lint, git, staged, unstaged, diff, eslint, prettier, stylelint

readme

Nano Staged

Tiny tool to run commands for modified, staged, and committed git files.
It help speeding up the run tests, linters, scripts, and more

Docs

Read full docs on GitHub.

changelog

Change Log

This project adheres to Semantic Versioning.

0.8

  • Support .nanostagedrc config files (by Azat S.)

0.7

  • Suppor git config dir location if .git is a file

0.6

  • Add JS API
  • Add multispinner output
  • Support CI terminal
  • Support run script for diff files

0.5

  • Support run script for unstaged files
  • Added allowing empty git commit
  • Update docs
  • Replace yarn to pnpm
  • Add logo

0.4.5

  • Fix publish npm

0.4.4

  • Added support no-color flags

0.4.3

  • Added run task output status

0.4.2

  • Better output on script error
  • Updated dependencies
  • Add support are no-colors output

0.4.1

  • Postpublish npm

0.4

  • Support windows platform

0.3.1

  • Fix glob parse
  • Added globstar to glob parse
  • Updated docs

0.3

  • Added config load from file

0.2.1

  • Fixed test

0.2

  • Added external configs (nano-staged.json, .nano-staged.json)
  • Update tests and doc

0.1.5

  • Update docs.

0.1.4

  • Fixed to run ./node_modules/.bin/nano-staged.

0.1.3

  • Removed globstart.

0.1.2

  • Update docs.

0.1.1

  • Added size benchmarks.

0.1

  • Initial release.