powertools-lambda-typescript icon indicating copy to clipboard operation
powertools-lambda-typescript copied to clipboard

Maintenance: Migrate to husky v9 syntax to remove deprecation warning

Open hjgraca opened this issue 1 year ago • 0 comments

Summary

image

When running init-environment command we get a deprecation notice for husky install command. Husky has deprecated that command in favour of husky command and has new syntax for the hooks as well.

Why is this needed?

Prevent the display of deprecation notice and support new version to avoid issues when deprecated.

Which area does this relate to?

Automation

Solution

Update hooks and init-environment command. Migration steps can be found on the release https://github.com/typicode/husky/releases/tag/v9.0.1

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

hjgraca avatar Feb 23 '24 12:02 hjgraca