powertools-lambda-typescript
powertools-lambda-typescript copied to clipboard
Maintenance: Migrate to husky v9 syntax to remove deprecation warning
Summary
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
- [X] This request meets Powertools for AWS Lambda (TypeScript) Tenets
- [ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.