@cloudbase/manager-node 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
  2. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +103 -0
  3. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
  4. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +22 -0
  5. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +78 -0
  6. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +21 -0
  7. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +88 -0
  8. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +108 -0
  9. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +13 -0
  10. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +34 -0
  11. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +76 -0
  12. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +20 -0
  13. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +4 -0
  14. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
  15. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +310 -0
  16. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +21 -0
  17. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +344 -0
  18. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +15 -0
  19. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +13 -0
  20. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +8 -0
  21. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +15 -0
  22. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +48 -0
  23. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +106 -0
  24. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +29 -0
  25. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +151 -0
  26. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +24 -0
  27. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +16 -0
  28. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +84 -0
  29. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +8 -0
  30. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +65 -0
  31. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +114 -0
  32. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +14 -0
  33. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +52 -0
  34. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
  35. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +577 -0
  36. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +138 -0
  37. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +9 -0
  38. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +455 -0
  39. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +146 -0
  40. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +54 -0
  41. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +76 -0
  42. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +41 -0
  43. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +226 -0
  44. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +62 -0
  45. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +583 -0
  46. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +672 -0
  47. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +147 -0
  48. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +123 -0
  49. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +263 -0
  50. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +296 -0
  51. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +73 -0
  52. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +58 -0
  53. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +62 -0
  54. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +199 -0
  55. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +85 -0
  56. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +1 -0
  57. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +3049 -0
  58. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +128 -0
  59. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +676 -0
  60. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
  61. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +72 -0
  62. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +68 -0
  63. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
  64. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +29 -0
  65. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +430 -0
  66. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
  67. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +166 -0
  68. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +356 -0
  69. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
  70. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +340 -0
  71. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +156 -0
  72. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +132 -0
  73. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
  74. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +73 -0
  75. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +95 -0
  76. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +305 -0
  77. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +96 -0
  78. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +437 -0
  79. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +38 -0
  80. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +412 -0
  81. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +14 -0
  82. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +19 -0
  83. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
  84. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +3 -0
  85. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +1053 -0
  86. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
  87. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +34 -0
  88. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +24 -0
  89. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +273 -0
  90. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +2 -0
  91. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +204 -0
  92. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +138 -0
  93. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +3 -0
  94. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  95. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +28 -0
  96. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  97. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  98. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +8 -0
  99. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +5 -0
  100. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  101. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  102. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  103. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1272 -0
  104. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1547 -0
  105. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  106. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  107. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  108. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
  109. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +704 -0
  110. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +709 -0
  111. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +173 -0
  112. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +169 -0
  113. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  114. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  115. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  116. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  117. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1172 -0
  118. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1319 -0
  119. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  120. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  121. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +462 -0
  122. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +89 -0
  123. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
  124. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2745 -0
  125. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3976 -0
  126. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  127. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2965 -0
  128. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
  129. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1391 -0
  130. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  131. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +3112 -0
  132. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  133. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +767 -0
  134. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1260 -0
  135. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  136. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  137. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +373 -0
  138. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1939 -0
  139. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  140. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +303 -0
  141. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3196 -0
  142. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +65 -0
  143. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  144. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  145. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  146. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  147. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -0
  148. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  149. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  150. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  151. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  152. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  153. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -0
  154. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -0
  155. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  156. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  157. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  158. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
  159. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  160. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  161. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +115 -0
  162. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  163. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +261 -0
  164. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  165. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +230 -0
  166. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +15 -0
  167. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +328 -0
  168. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  169. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +39 -0
  170. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  171. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +310 -0
  172. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
  173. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +415 -0
  174. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +26 -0
  175. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +168 -0
  176. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +188 -0
  177. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +146 -0
  178. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +12 -0
  179. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +43 -0
  180. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +81 -0
  181. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  182. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +52 -0
  183. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +40 -0
  184. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +4 -0
  185. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
  186. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +286 -0
  187. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +21 -0
  188. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +457 -0
  189. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +52 -0
  190. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +24 -0
  191. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +515 -0
  192. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +156 -0
  193. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +76 -0
  194. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +100 -0
  195. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +94 -0
  196. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +100 -0
  197. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +72 -0
  198. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Info.plist +63 -0
  199. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
  200. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +1 -0
  201. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
  202. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf +29 -0
  203. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  204. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib +0 -0
  205. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
  206. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
  207. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +165 -0
  208. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
  209. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +9 -0
  210. package/lib/cloudrun/index.js +216 -4
  211. package/lib/utils/index.js +37 -10
  212. package/package.json +1 -1
  213. package/types/cloudrun/index.d.ts +31 -1
@@ -0,0 +1,310 @@
1
+ # CHANGELOG
2
+
3
+ Changes for 3.0.0+ can now be found in https://github.com/typicode/husky/releases
4
+
5
+ ## 3.0.0
6
+
7
+ * Fix HUSKY_SKIP_INSTALL=1 not skipping install
8
+ * __Breaking change__ husky requires now Git `>= 2.13.2`. If you're already using husky `v2` and don't use an old version of Git, you can safely upgrade.
9
+
10
+ ## 2.7.0
11
+
12
+ Due to issues with Git `< 2.13.2`, this version is a rollback and is the same as husky `v2.4.1`. Changes introduced in `v2.5.0` and `v2.6.0` will be published in `v3.0.0`.
13
+
14
+ ## 2.6.0
15
+
16
+ * Optional `HUSKY_USE_YARN` setting to use Yarn to run Husky
17
+ * Add more debug information
18
+ * Show a warning for Node `<= 8.6.0`
19
+
20
+ __Deprecated__
21
+
22
+ ## 2.5.0
23
+
24
+ * Use more accurate git hooks directory resolution
25
+ * Add `CWD` in debug messages
26
+
27
+ __Deprecated__
28
+
29
+ ## 2.4.1
30
+
31
+ * Fix husky crash on install/uninstall with very old Node versions
32
+
33
+ ## 2.4.0
34
+
35
+ * Add `HUSKY_SKIP_HOOKS` to skip all hooks
36
+
37
+ ## 2.3.0
38
+
39
+ * Make `HUSKY_DEBUG=1` effective like `HUSKY_DEBUG=true`
40
+ * Refactor script to point to `run-node/run-node` rather than `.bin/run-node`
41
+
42
+ ## 2.2.0
43
+
44
+ * Improve Git worktree support
45
+
46
+ ## 2.1.0
47
+
48
+ * Improve shell script portability by using `.` rather than `source`
49
+
50
+ ## 2.0.0
51
+
52
+ * Update dependencies
53
+ * Update messages
54
+ * __Breaking change__ drop `Node 6` support
55
+
56
+ ## 1.3.1
57
+
58
+ * Update docs
59
+ * Upgrade `is-ci` and support more CIs
60
+ * Disable `1.3.0` change related to `stdin` due to a bug on Windows
61
+
62
+ ## 1.3.0
63
+
64
+ * Enable `stdin` if hook is running in a terminal
65
+
66
+ ## 1.2.1
67
+
68
+ * Fix don't fail if directory in project contains whitespace
69
+
70
+ ## 1.2.0
71
+
72
+ * Add comments to generated hooks to specify which package has installed husky and when
73
+
74
+ ## 1.1.4
75
+
76
+ * Upgrade `execa` dependency
77
+
78
+ ## 1.1.3
79
+
80
+ * Fix don't fail if `package.json` doesn't exist
81
+
82
+ ## 1.1.2
83
+
84
+ * Add debug message
85
+
86
+ ## 1.1.1
87
+
88
+ * Check `HUSKY_SKIP_INSTALL` value first before checking if `.git` exists
89
+ * Check Node version before running hooks
90
+
91
+ ## 1.1.0
92
+
93
+ * Create `.git/hooks` if it doesn't exist
94
+
95
+ ## 1.0.1
96
+
97
+ * Various `husky-upgrade` changes ([#362](https://github.com/typicode/husky/pull/362), [#360](https://github.com/typicode/husky/pull/360), [#359](https://github.com/typicode/husky/pull/359))
98
+
99
+ ## 1.0.0
100
+
101
+ After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶🎉.
102
+
103
+ ### Notable changes
104
+
105
+ Below you'll find consolidated changes since `0.14.3`. There's no change in code between `1.0.0-rc.15` and `1.0.0`.
106
+
107
+ * Hooks
108
+ * Add `sendemail-validate` hook
109
+
110
+ * Config
111
+ * Move hooks config from `scripts` field to `husky` field
112
+ * Prefer raw names for hooks (e.g. `pre-commit` rather than `precommit`)
113
+ * Support `.huskyrc` config
114
+
115
+ * Package managers
116
+ * Support environments where [yarn](https://github.com/yarnpkg/yarn/) is the only package manager installed
117
+ * Support [pnpm](https://github.com/pnpm/pnpm) package manager
118
+
119
+ * Environment variables
120
+ * Add `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation
121
+ * Add `HUSKY_GIT_STDIN` environment variable for `pre-push`, `pre-receive`, `post-receive` and `post-rewrite` to access arguments passed by Git via stdin
122
+ * Rename `GIT_PARAMS` to `HUSKY_GIT_PARAMS`
123
+
124
+ * Messages
125
+ * Add many more messages in case of errors
126
+ * Add [please-upgrade-node](https://github.com/typicode/please-upgrade-node) message if using with unsupported Node version
127
+ * Make `--no-verify` message more accurate and only show it for hooks that can be skipped
128
+
129
+ * Upgrade
130
+ * Add `husky-upgrade` command to automatically migrate hooks in `package.json`
131
+ * Add deprecation warning for hooks that are still defined in `scripts`
132
+
133
+ * Other
134
+ * Drop `Node 4` support
135
+ * Drop integrated `nvm` support (see Node version management in docs)
136
+
137
+ ### Credits
138
+
139
+ Huge thanks to all the Contributors and [Patreon Supporters](https://thanks.typicode.com)! 🙏
140
+
141
+ ## 1.0.0-rc.15
142
+
143
+ * Update docs
144
+
145
+ ## 1.0.0-rc.14
146
+
147
+ * Make `--no-verify` message more accurate and only show it for hooks that can be skipped
148
+ * Improve error messages
149
+
150
+ ## 1.0.0-rc.13
151
+
152
+ * Show a message when Node can't be found in PATH
153
+
154
+ ## 1.0.0-rc.12
155
+
156
+ * Fix exit code when used with unsupported Node version
157
+ * Update dependencies
158
+
159
+ ## 1.0.0-rc.11
160
+
161
+ * Show a message instead of crashing if Node version is unsupported by Husky
162
+
163
+ ## 1.0.0-rc.10
164
+
165
+ * Fix `HUSKY_GIT_PARAMS` containing only the first Git param
166
+
167
+ ## 1.0.0-rc.9
168
+
169
+ * If `node_modules/husky` is missing, show message but do not crash
170
+ * Remove and upgrade some `dependencies`
171
+
172
+ ## 1.0.0-rc.8
173
+
174
+ * Add `HUSKY_GIT_STDIN` environment variable for `pre-push`, `pre-receive`, `post-receive` and `post-rewrite` to access arguments passed by Git via stdin.
175
+
176
+ ## 1.0.0-rc.7
177
+
178
+ * Update `cosmiconfig` dependency
179
+ * Fix `package.json` normalization error
180
+
181
+ ## 1.0.0-rc.6
182
+
183
+ * Fix install error with `pnpm`
184
+
185
+ ## 1.0.0-rc.5
186
+
187
+ * Auto migrate `yorkie` hooks
188
+
189
+ ## 1.0.0-rc.4
190
+
191
+ * Re-enable Git submodule and worktree support
192
+
193
+ ## 1.0.0-rc.3
194
+
195
+ * Re-enable subdirectory support
196
+
197
+ ## 1.0.0-rc.2
198
+
199
+ * Upgrade `run-node` dependency
200
+
201
+ ## 1.0.0-rc.1
202
+
203
+ * Namespace environment variable created by husky
204
+ * `GIT_PARAMS` becomes `HUSKY_GIT_PARAMS`
205
+ * Starting also with `1.0.0` versioning
206
+
207
+ ## 0.15.0-rc.13
208
+
209
+ * Revert `GIT_STDIN` for the moment. Needs more testing.
210
+
211
+ `rc.10`, `rc.11` and `rc.12` are broken for some GUI clients due to `read` command
212
+
213
+ ## 0.15.0-rc.9
214
+
215
+ * Handle case where `.git/hooks` directory doesn't exit
216
+
217
+ ## 0.15.0-rc.8
218
+
219
+ * Handle case where `v0.14` git hooks wouldn't have been uninstalled
220
+
221
+ ## 0.15.0-rc.7
222
+
223
+ * Move `postinstall` script to `install`
224
+ * Fix line ending error when running `upgrader` from OS X/Linux
225
+
226
+ ## 0.15.0-rc.6
227
+
228
+ * Fix `[[` error
229
+
230
+ ## 0.15.0-rc.5
231
+
232
+ * Fix error with GitHub Desktop on Windows
233
+
234
+ ## 0.15.0-rc.4
235
+
236
+ * Catch error if `git` command fails
237
+
238
+ ## 0.15.0-rc.3
239
+
240
+ * Fix `husky-upgrade`
241
+ * Drop `Node 4` support
242
+
243
+ ## 0.15.0-rc.2
244
+
245
+ * Fix install error
246
+
247
+ ## 0.15.0-rc.1
248
+
249
+ * `sendemail-validate` hook [#173](https://github.com/typicode/husky/pull/173)
250
+ * `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation [#178](https://github.com/typicode/husky/pull/178)
251
+ * `.huskyrc` config [#209](https://github.com/typicode/husky/pull/209)
252
+ * [`pnpm`](https://github.com/pnpm/pnpm) support
253
+ * Support environments where `yarn` is the only package manager installed
254
+ * Move config from `scripts` field to `husky` field
255
+ * Prefer raw names for Git hooks (`pre-commit` rather than `precommit`)
256
+ * Drop integrated `nvm` support
257
+ * To ease upgrade:
258
+ * Provide `husky-upgrade` command
259
+ * Add deprecation warning for hooks that are defined in `scripts` (but still run them)
260
+
261
+ ## 0.14.3
262
+
263
+ * Fix handle space in `PATH` [#150](https://github.com/typicode/husky/pull/114)
264
+
265
+ ## 0.14.2
266
+
267
+ * Fix handle space in `HOME`
268
+
269
+ ## 0.14.1
270
+
271
+ * Fix Git hooks install on Windows
272
+ * Fix hook script when `nvm` was installed with Brew
273
+
274
+ ## 0.14.0
275
+
276
+ * Fix `npm@5` `Error: Cannot find module` warning when uninstalling
277
+ * Drop `Node 0.12` support
278
+ * Don't reload `nvm` if it's already in `PATH`
279
+ * Add Git worktree support [#114](https://github.com/typicode/husky/pull/114)
280
+ * Hide irrelevant `--no-verify` message for `prepare-commit-msg` [#137](https://github.com/typicode/husky/issues/137)
281
+
282
+ ## 0.13.4
283
+
284
+ * Add Node version to husky output
285
+
286
+ ## 0.13.3
287
+
288
+ * Revert `Fixes issue with OS X + brew where nvm was loaded even when npm was already present` that was introduced in `v0.13.0` as it was preventing Husky to load `nvm` in some cases [#106](https://github.com/typicode/husky/issues/106)
289
+
290
+ ## 0.13.2
291
+
292
+ * Fixes issue [#103](https://github.com/typicode/husky/issues/103)
293
+
294
+ ## 0.13.1
295
+
296
+ * Makes it easier for projects to transition from [ghooks](https://github.com/gtramontina/ghooks) by detecting ghooks installed scripts and automatically migrating them
297
+
298
+ ## 0.13.0
299
+
300
+ * Makes `husky` a little less verbose by default
301
+ * Fixes issue with `OS X + brew` where `nvm` was loaded even when `npm` was already present
302
+ * Fixes issue with Git `v1.9` on Windows
303
+ * Prevents Git hooks being installed when husky is in a sub `node_modules` directory (i.e. `./node_modules/A/node_modules/husky`)
304
+
305
+ ## 0.12.0
306
+
307
+ * Adds Git submodule support
308
+ * Adds Cygwin support
309
+ * Improves edge cases support (`.git` not found and `git` not in `PATH`)
310
+ * If `npm` is already present in path, doesn't load `nvm` default or `.nvmrc` version, which makes things faster in terminal. In GUI apps, the behavior is unchanged.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,344 @@
1
+ __Announcement__ you can support the development of v4 major release on [__Open Collective__](https://opencollective.com/husky) and [__GitHub Sponsors__](https://github.com/users/typicode/sponsorship) 🚀
2
+
3
+ See [next](https://github.com/typicode/husky/tree/next) branch. Feedback is welcome 🙏
4
+
5
+ ---
6
+
7
+ # Husky
8
+
9
+ [![Financial Contributors on Open Collective](https://opencollective.com/husky/all/badge.svg?label=financial+contributors)](https://opencollective.com/husky) [![](https://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/husky/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/husky) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/husky/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/husky)
10
+
11
+ > Git hooks made easy
12
+
13
+ Husky can prevent bad `git commit`, `git push` and more 🐶 _woof!_
14
+
15
+ ## Install
16
+
17
+ ```sh
18
+ npm install husky --save-dev
19
+ ```
20
+
21
+ ```js
22
+ // package.json
23
+ {
24
+ "husky": {
25
+ "hooks": {
26
+ "pre-commit": "npm test",
27
+ "pre-push": "npm test",
28
+ "...": "..."
29
+ }
30
+ }
31
+ }
32
+ ```
33
+
34
+ ```sh
35
+ git commit -m 'Keep calm and commit'
36
+ ```
37
+
38
+ _Existing hooks are kept. Requires Node `>= 8.6.0` and Git `>= 2.13.0`._
39
+
40
+ __Note__: if you're trying Yarn v2, please install `husky@next`. See [next](https://github.com/typicode/husky/tree/next) branch.
41
+
42
+ ## Uninstall
43
+
44
+ ```sh
45
+ npm uninstall husky
46
+ ```
47
+
48
+ _Git hooks installed by husky will be removed._
49
+
50
+ ## Financial Contributors
51
+
52
+ Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/husky/contribute)]
53
+
54
+ ### Organizations
55
+
56
+ Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/husky/contribute)]
57
+
58
+ <!-- oc -->
59
+ #### Gold Sponsors ($500/mo)
60
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/0/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/0/avatar.svg" height="60px"></a>
61
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/1/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/1/avatar.svg" height="60px"></a>
62
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/2/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/2/avatar.svg" height="60px"></a>
63
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/3/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/3/avatar.svg" height="60px"></a>
64
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/4/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/4/avatar.svg" height="60px"></a>
65
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/5/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/5/avatar.svg" height="60px"></a>
66
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/6/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/6/avatar.svg" height="60px"></a>
67
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/7/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/7/avatar.svg" height="60px"></a>
68
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/8/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/8/avatar.svg" height="60px"></a>
69
+ <a href="https://opencollective.com/husky/tiers/gold-sponsor/9/website"><img src="https://opencollective.com/husky/tiers/gold-sponsor/9/avatar.svg" height="60px"></a>
70
+
71
+ #### Silver Sponsors ($250/mo)
72
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/0/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/0/avatar.svg" height="45px"></a>
73
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/1/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/1/avatar.svg" height="45px"></a>
74
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/2/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/2/avatar.svg" height="45px"></a>
75
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/3/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/3/avatar.svg" height="45px"></a>
76
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/4/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/4/avatar.svg" height="45px"></a>
77
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/5/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/5/avatar.svg" height="45px"></a>
78
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/6/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/6/avatar.svg" height="45px"></a>
79
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/7/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/7/avatar.svg" height="45px"></a>
80
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/8/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/8/avatar.svg" height="45px"></a>
81
+ <a href="https://opencollective.com/husky/tiers/silver-sponsor/9/website"><img src="https://opencollective.com/husky/tiers/silver-sponsor/9/avatar.svg" height="45px"></a>
82
+
83
+ #### Bronze Sponsors ($100/mo)
84
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/0/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/0/avatar.svg" height="30px"></a>
85
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/1/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/1/avatar.svg" height="30px"></a>
86
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/2/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/2/avatar.svg" height="30px"></a>
87
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/3/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/3/avatar.svg" height="30px"></a>
88
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/4/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/4/avatar.svg" height="30px"></a>
89
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/5/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/5/avatar.svg" height="30px"></a>
90
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/6/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/6/avatar.svg" height="30px"></a>
91
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/7/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/7/avatar.svg" height="30px"></a>
92
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/8/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/8/avatar.svg" height="30px"></a>
93
+ <a href="https://opencollective.com/husky/tiers/bronze-sponsor/9/website"><img src="https://opencollective.com/husky/tiers/bronze-sponsor/9/avatar.svg" height="30px"></a>
94
+ <!-- oc-end -->
95
+
96
+ ### Individuals
97
+
98
+ <a href="https://opencollective.com/husky"><img src="https://opencollective.com/husky/individuals.svg?width=890" height="100px"></a>
99
+
100
+ ## Used by
101
+
102
+ * [webpack](https://github.com/webpack/webpack)
103
+ * [babel](https://github.com/babel/babel)
104
+ * [create-react-app](https://github.com/facebookincubator/create-react-app)
105
+ * ... and many other awesome projects
106
+
107
+ ## Guides
108
+
109
+ <!-- toc -->
110
+
111
+ * [Upgrading from 0.14](#upgrading-from-014)
112
+ * [Supported hooks](#supported-hooks)
113
+ * [Access Git params and stdin](#access-git-params-and-stdin)
114
+ * [Skip all hooks (rebase)](#skip-all-hooks-rebase)
115
+ * [Disable auto-install](#disable-auto-install)
116
+ * [CI servers](#ci-servers)
117
+ * [Monorepos](#monorepos)
118
+ * [Node version managers](#node-version-managers)
119
+ * [Local commands (~/.huskyrc)](#local-commands-huskyrc)
120
+ * [Multiple commands](#multiple-commands)
121
+ * [Troubleshoot](#troubleshoot)
122
+ + [Debug messages](#debug-messages)
123
+ + [Hooks aren't running](#hooks-arent-running)
124
+ + [Commits aren't blocked](#commits-arent-blocked)
125
+ + [Commits are slow](#commits-are-slow)
126
+ + [Testing husky in a new repo](#testing-husky-in-a-new-repo)
127
+ + [ENOENT error 'node_modules/husky/.git/hooks'](#enoent-error-node_moduleshuskygithooks)
128
+
129
+ <!-- tocstop -->
130
+
131
+ ### Upgrading from 0.14
132
+
133
+ Run `husky-upgrade` to automatically upgrade your configuration:
134
+
135
+ ```
136
+ npx --no-install husky-upgrade
137
+ ```
138
+
139
+ You can also do it manually. Move your existing hooks to `husky.hooks` field and use raw Git hooks names. Also, if you were using `GIT_PARAMS` env variable, rename it to `HUSKY_GIT_PARAMS`.
140
+
141
+ ```diff
142
+ {
143
+ "scripts": {
144
+ - "precommit": "npm test",
145
+ - "commitmsg": "commitlint -E GIT_PARAMS"
146
+ },
147
+ + "husky": {
148
+ + "hooks": {
149
+ + "pre-commit": "npm test",
150
+ + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
151
+ + }
152
+ + }
153
+ }
154
+ ```
155
+
156
+ Starting with `1.0.0`, husky can be configured using `.huskyrc`, `.huskyrc.json` or `.huskyrc.js` file.
157
+
158
+ ```js
159
+ // .huskyrc
160
+ {
161
+ "hooks": {
162
+ "pre-commit": "npm test"
163
+ }
164
+ }
165
+ ```
166
+
167
+ ### Supported hooks
168
+
169
+ Husky supports all Git hooks defined [here](https://git-scm.com/docs/githooks). Server-side hooks (`pre-receive`, `update` and `post-receive`) aren't supported.
170
+
171
+ ### Access Git params and stdin
172
+
173
+ Git hooks can get parameters via command-line arguments and stdin. Husky makes them accessible via `HUSKY_GIT_PARAMS` and `HUSKY_GIT_STDIN` environment variables.
174
+
175
+ ```
176
+ "commit-msg": "echo $HUSKY_GIT_PARAMS"
177
+ ```
178
+
179
+ ### Skip all hooks (rebase)
180
+
181
+ During a rebase you may want to skip all hooks, you can use `HUSKY_SKIP_HOOKS` environment variable.
182
+
183
+ ```sh
184
+ HUSKY_SKIP_HOOKS=1 git rebase ...
185
+ ```
186
+
187
+ ### Disable auto-install
188
+
189
+ If you don't want husky to automatically install Git hooks, simply set `HUSKY_SKIP_INSTALL` environment variable.
190
+
191
+ ```sh
192
+ HUSKY_SKIP_INSTALL=1 npm install
193
+ ```
194
+
195
+ ### CI servers
196
+
197
+ By default, Husky won't install on CI servers.
198
+
199
+ ### Monorepos
200
+
201
+ If you have a multi-package repository, it's __recommended__ to use tools like [lerna](https://github.com/lerna/lerna) and have husky installed ONLY in the root `package.json` to act as the source of truth.
202
+
203
+ Generally speaking, you should AVOID defining husky in multiple `package.json`, as each package would overwrite previous husky installation.
204
+
205
+ ```sh
206
+ .
207
+ └── root
208
+ ├── .git
209
+ ├── package.json 🐶 # Add husky here
210
+ └── packages
211
+ ├── A
212
+ │ └── package.json
213
+ ├── B
214
+ │ └── package.json
215
+ └── C
216
+ └── package.json
217
+ ```
218
+
219
+ ```js
220
+ // root/package.json
221
+ {
222
+ "private": true,
223
+ "devDependencies": {
224
+ "husky": "..."
225
+ },
226
+ "husky": {
227
+ "hooks": {
228
+ "pre-commit": "lerna run test"
229
+ }
230
+ }
231
+ }
232
+ ```
233
+
234
+ ### Node version managers
235
+
236
+ If you're on Windows, husky will simply use the version installed globally on your system.
237
+
238
+ For macOS and Linux users:
239
+ - if you're running `git` commands in the terminal, husky will use the version defined in your shell `PATH`. In other words, if you're a `nvm` user, husky will use the version that you've set with `nvm`.
240
+ - if you're using a GUI client and `nvm`, it may have a different `PATH` and not load `nvm`, in this case the highest `node` version installed by `nvm` will usually be picked. You can also check `~/.node_path` to see which version is used by GUIs and edit if you want to use something else.
241
+
242
+ ### Local commands (~/.huskyrc)
243
+
244
+ Husky will source `~/.huskyrc` file if it exists before running hook scripts.
245
+ You can use it, for example, to load a node version manager or run some `shell` commands before hooks.
246
+
247
+ ```sh
248
+ # ~/.huskyrc
249
+ export NVM_DIR="$HOME/.nvm"
250
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
251
+ ```
252
+
253
+ ### Multiple commands
254
+
255
+ By design and just like `scripts` defined in `package.json`, husky will run hook scripts as a single command.
256
+
257
+ ```json
258
+ "pre-commit": "cmd && cmd"
259
+ ```
260
+
261
+ That said, if you prefer to use an array, the recommended approach is to define them in `.huskyrc.js`.
262
+
263
+ ```js
264
+ const tasks = arr => arr.join(' && ')
265
+
266
+ module.exports = {
267
+ 'hooks': {
268
+ 'pre-commit': tasks([
269
+ 'cmd',
270
+ 'cmd'
271
+ ])
272
+ }
273
+ }
274
+ ```
275
+
276
+ Tools like [npm-run-all](https://github.com/mysticatea/npm-run-all) can help too.
277
+
278
+ ### Troubleshoot
279
+
280
+ #### Debug messages
281
+
282
+ `HUSKY_DEBUG=1` can provide additional information when running commands.
283
+
284
+ ```
285
+ HUSKY_DEBUG=1 npm install husky --save-dev
286
+ HUSKY_DEBUG=1 git commit ...
287
+ ```
288
+
289
+ #### Hooks aren't running
290
+
291
+ Check if hooks were installed. Verify that `.git/hooks/pre-commit` exists and have husky code. It should start with:
292
+
293
+ ```sh
294
+ #!/bin/sh
295
+ # husky...
296
+ ```
297
+
298
+ If not, you may have another Git hooks manager defined in your `package.json` overwriting husky's hooks. Check also the output during install, you should see:
299
+
300
+ ```
301
+ husky > Setting up git hooks
302
+ husky > Done
303
+ ```
304
+
305
+ #### Commits aren't blocked
306
+
307
+ For a commit to be blocked, `pre-commit` script must exit with a non-zero exit code. If you commit isn't blocked, check your script exit code.
308
+
309
+ #### Commits are slow
310
+
311
+ Husky is fast and only adds a few tenth of seconds to commits (`~0.3s` on a low-end PC). So it's most probably related to how many things are done during `pre-commit`. You can often improve this by using cache on your tools (babel, eslint, ...) and using [lint-staged](https://github.com/okonet/lint-staged).
312
+
313
+ #### Testing husky in a new repo
314
+
315
+ To isolate your issue, you can also create a new repo:
316
+
317
+ ```sh
318
+ mkdir foo && cd foo
319
+ git init && npm init -y
320
+ npm install husky --save-dev
321
+
322
+ # Add a failing pre-commit hook to your package.json:
323
+ # "pre-commit": "echo \"this should fail\" && exit 1"
324
+
325
+ # Make a commit
326
+ ```
327
+
328
+ #### ENOENT error 'node_modules/husky/.git/hooks'
329
+
330
+ Verify that your version of Git is `>=2.13.0`.
331
+
332
+ ## See also
333
+
334
+ * [pkg-ok](https://github.com/typicode/pkg-ok) - Prevents publishing a module with bad paths or incorrect line endings
335
+ * [please-upgrade-node](https://github.com/typicode/please-upgrade-node) - Show a message to upgrade Node instead of a stacktrace in your CLIs
336
+ * [pinst](https://github.com/typicode/pinst) - dev only postinstall hook
337
+
338
+ ## Patreon
339
+
340
+ People and companies supporting via Patreon: [thanks](https://thanks.typicode.com)
341
+
342
+ ## License
343
+
344
+ MIT
@@ -0,0 +1,15 @@
1
+ /* eslint-disable */
2
+ const pleaseUpgradeNode = require('please-upgrade-node')
3
+ const pkg = require('./package.json')
4
+
5
+ // Node version isn't supported, skip install
6
+ pleaseUpgradeNode(pkg, {
7
+ exitCode: 0,
8
+ message: function(requiredVersion) {
9
+ return 'Husky requires Node ' + requiredVersion + ', skipping Git hooks installation.'
10
+ }
11
+ })
12
+
13
+ // Node version is supported, continue
14
+ require('./lib/installer/bin')
15
+