We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a project, husky is installed, but as there is no git repo, husky isn't initialized.
husky
npx dts-cli create my-project
pre-commit hooks should be initialized.
pre-commit
Run git init before installing node modules
git init
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
The text was updated successfully, but these errors were encountered:
5b9aee7
No branches or pull requests
Current Behavior
When creating a project,
husky
is installed, but as there is no git repo, husky isn't initialized.Expected behavior
pre-commit
hooks should be initialized.Suggested solution(s)
Run
git init
before installing node modulesAdditional context
Your environment
The text was updated successfully, but these errors were encountered: