Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

husky is installed, but not initialized #159

Closed
smeijer opened this issue Jun 10, 2022 · 0 comments
Closed

husky is installed, but not initialized #159

smeijer opened this issue Jun 10, 2022 · 0 comments

Comments

@smeijer
Copy link

smeijer commented Jun 10, 2022

Current Behavior

When creating a project, husky is installed, but as there is no git repo, husky isn't initialized.

npx dts-cli create my-project

Expected behavior

pre-commit hooks should be initialized.

Suggested solution(s)

Run git init before installing node modules

Additional context

Your environment

  System:
    OS: macOS 12.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 120.61 MB / 32.00 GB
    Shell: 3.3.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Chrome: 102.0.5005.61
    Firefox: 99.0.1
    Safari: 15.4
  npmPackages:
    dts-cli: ^1.5.1 => 1.5.1 
    typescript: ^4.7.3 => 4.7.3 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant