Skip to content

[bug]: Fresh install causes husky to run #76

@maxbaddeley

Description

@maxbaddeley

What version of @strapi/blocks-react-renderer are you using?

node version = v24.15.0
npm version = 11.12.1
react version = 19.2.5

What's Wrong?

Running a fresh install npm install @strapi/blocks-react-renderer -D will cause:

npm error path \node_modules@strapi\blocks-react-renderer
npm error 'husky' is not recognized as an internal or external command.

Has something been left in the latest version that checks husky? I shouldn't have to install husky to get this package into my repo.

To Reproduce

create vite@latest
npm install @strapi/blocks-react-renderer -D

Expected Behaviour

Installed package with 0 vulnerabilities

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions