Commit Graph

49 Commits

Author SHA1 Message Date
typicode 20603175c1 show message instead of automatically remove deprecated code 2024-07-25 14:53:39 +02:00
typicode b9f5889511 automatically rm deprecated code 2024-07-18 14:28:43 +02:00
typicode e0994a4f60
v9.1.0 (#1467) 2024-07-17 17:41:58 +02:00
typicode 29056db846
fix: husky=0 in init (#1395)
* refactor: husky and add tests

* style: indent
2024-02-13 23:58:09 +01:00
typicode b98985d411
test: expect init to exit with 0 2024-01-29 15:15:09 +01:00
typicode 56619ec80f
fix: init error (#1353)
* fix: init error

* Update config.mts
2024-01-25 16:07:57 +01:00
typicode ec13855c16
v9 (#1333) 2024-01-25 02:49:33 +01:00
typicode 356714bed0 test: command not found message 2022-05-08 23:04:16 +02:00
typicode 74a88ef9b4 test: skip sub-dir 2022-04-28 07:58:54 +02:00
typicode d400b3b29c test: skip sub-dir 2022-04-28 07:46:08 +02:00
mataha 0bcdac6b4d
fix: force `basename`/`dirname` to treat `$0` as an argument (#1132)
* fix: basename: force $0 to be treated as argument

* fix: dirname: force $0 to be treated as argument
2022-04-16 15:55:12 +02:00
typicode a80ead5fd8 test: add test 2021-07-06 13:02:12 +02:00
typicode a8e427a3db feat: husky 7 2021-07-01 06:32:55 +02:00
typicode b5f4bbd723
fix(ci): errors (#976)
* fix(ci): fsevents

* fix(ci): cipm error

* refactor: move devDependency

* fix(test): use POSIX syntax

* fix(test): support Node 6 in tests

* fix(ci): use npm 7
2021-05-20 14:50:54 +02:00
typicode 122da817a1 chore: rename @husky/init to husky-init 2021-03-29 11:02:08 +02:00
typicode ee1b29976c
update (#916)
Husky 6
2021-03-29 09:26:19 +02:00
typicode 3a9b03b5fc test: reduce output 2021-03-21 19:27:22 +01:00
typicode b5e00f21e9 test: set/add commands 2021-03-21 17:36:26 +01:00
typicode 61e271b887 test: fix and refactor tests 2021-03-02 03:42:27 +01:00
typicode 77a7f033b4 test: fix yarn v1 test 2021-03-02 02:55:51 +01:00
typicode 4c52a12568 fix(init): use postinstall for yarn v2 2021-03-02 02:40:58 +01:00
typicode 84be6755c7
docs: prepare script instead of postinstall (#890)
Co-authored-by: Nathan Smith <nathan@sonspring.com>
2021-03-01 02:34:29 +01:00
typicode e011e76044 docs: rollback to npx --no-install 2021-02-22 19:52:58 +01:00
typicode 3e8baaa7bd fix(init): update package.json postinstall 2021-02-22 17:10:12 +01:00
typicode c61ba5fbbe feat(cli): add init 2021-02-21 22:26:29 +01:00
typicode 61977ad0a2 chore(test): use npm 7 --no option 2021-02-21 22:03:33 +01:00
typicode f8f1afe920 fix(install): do not fail if not inside a Git directory 2021-02-08 18:39:55 +01:00
typicode b0322dc47f style: lint 2021-01-27 05:06:11 +01:00
Jonas Thelemann 91e2d4e196
fix(shell): double quote params (#824) 2021-01-27 04:20:49 +01:00
typicode 66cf8beacc fix(cli): custom dir install 2020-12-11 22:47:01 +01:00
typicode 9b13a9a829
fix(preuninstall): run uninstall command on preuninstall hook (#811) 2020-11-22 06:35:17 +01:00
typicode cde7acedb6 fix(install): use relative hook path instead of absolute 2020-09-21 09:00:20 +02:00
typicode a3db0d372f chore(test): improve output 2020-09-21 08:55:20 +02:00
typicode 07f3fedd7a update 2020-09-14 02:19:16 +02:00
typicode e649c6b50b 0.14 (#142)
0.14
2017-06-22 19:55:43 +02:00
Alexey Ten 333ca98f96 Correct work with worktrees (#114)
Worktree's `.git` file contains absolute path to repository.
`path.join` incorrectly concatenates `/path/to/worktree`
with `/path/to/real/.git/worktrees/worktree` to
`/path/to/worktree/path/to/real/.git/worktrees/worktree`
instead of simple `/path/to/real/...`

Using `path.resolve` instead of `path.join` resolves this problem
while relative paths of submodules still works correctly.
2017-06-13 12:38:22 +02:00
typicode 244a6086c8 Make it easier to migrate from ghooks 2017-01-22 01:31:55 +01:00
typicode 2f70374047 Prevent installing from node_modules/project/node_modules/husky 2017-01-12 00:57:13 +01:00
typicode 6de2176241 Update hook script and lint 2017-01-12 00:28:32 +01:00
typicode 503b4c07ec Fix tests on Node 0.12 2016-12-14 13:21:20 +01:00
typicode a7f3f223bb Next (#85)
* Update README.md

* Update

* Update index2.js

* Add submodules support and fix uninstall

* Rename

* Update uninstall

* Update script

* Update

* Update

* 0.12.0-0

* Fix path

* 0.12.0-1

* Update (WIP)

* Update

* 0.12.0-2

* Update README.md
2016-12-13 23:18:00 +01:00
Typicode c86cce0a34 Fix tests 2015-09-03 04:12:31 +02:00
Typicode 30fea6a85b Style 2015-09-03 03:39:51 +02:00
Typicode 8d6553b4e4 Fix Travis 2015-09-03 03:24:35 +02:00
Typicode a1c0579b0f Fix tests 2015-09-03 03:16:00 +02:00
Typicode 3bf41965df Fix #11 2014-08-21 12:34:37 +02:00
Typicode 3d2aaeceb7 Update test 2014-07-18 22:08:50 +02:00
Typicode 35202d5eb6 Better hooks dir detection 2014-07-12 08:07:47 +02:00
Typicode a2b447c88d First commit 2014-06-23 14:15:29 +02:00