keep-sorted icon indicating copy to clipboard operation
keep-sorted copied to clipboard

Add npm version

Open antonmedv opened this issue 11 months ago • 3 comments

Will be cool to have npm version too for front end project. And easy integration with https://lefthook.dev/

antonmedv avatar Feb 04 '25 17:02 antonmedv

We do already support https://pre-commit.com/, is that sufficient for your npm projects?

JeffFaer avatar Feb 14 '25 22:02 JeffFaer

Nope. Unfortunately, not. As pre-commit is written in python, it is not ideal for frontend projects.

We at https://github.com/google/zx switched to lefthook: https://github.com/google/zx/blob/main/lefthook.yml

If you cloud release a npm version, it will solve a lot of our problems. Also, npm distribution will be very popular ;)

antonmedv avatar Feb 14 '25 23:02 antonmedv

Interesting, I thought https://typicode.github.io/husky/ was the popular choice for git pre-commit hook management in npm land.

thiagowfx avatar Mar 03 '25 00:03 thiagowfx