Skip to content

Make git hook installation optional/controlled #3880

Open
@ziazon

Description

@ziazon

What problem does this feature solve?

per: https://cli.vuejs.org/guide/cli-service.html#git-hooks

when running npm ci or npm install it also force instals placeholders for all git hooks, which each looks for your packages.json file to see if there are any rules specified. This slows down git actions taken... even if you have no rules specified.

Can we somehow skip this step optionally? or opt into the use of yorkie?

Currently to resolve this I have to the run rm -fr .git/hooks/* any time I do an install.

What does the proposed API look like?

Perhaps install yorkie as a top level package and surface a vue create --no-git-hooks my-project option to not add the package which in turn won't install the git hooks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions