Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

fix(husky): revert stdin tty workaround of #766 for npm #825

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

scscgit
Copy link
Contributor

@scscgit scscgit commented Jul 15, 2021

  • Git Bash workaround for using tty, which is officially recommended by husky in their documentation, is only relevant for yarn, not for npm.
  • Removed isWindows condition to make sure projects made by Linux devs are fully accessible to Windows users.
  • Updated husky in a parent project.
  • Added --no-install to npx to avoid accidental installation by default if a project uses different than latest version, but it isn't installed.

Git Bash workaround for using tty, which is officially recommended by
husky in their documentation, is only relevant for yarn, not for npm.
Removed isWindows condition make sure projects made by Linux devs are
fully accessible to Windows users. Updated husky in a parent project.
Added --no-install to npx to avoid accidental installation by default
if a project uses different than latest version, but isn't installed.
@clarkdo clarkdo requested review from pi0 and a team July 15, 2021 17:35
@clarkdo clarkdo merged commit 1520453 into nuxt:master Jul 21, 2021
@scscgit
Copy link
Contributor Author

scscgit commented Aug 1, 2021

To add a link between PRs for future reference, the --no-install change affects #774 where this perspective of using incorrect version wasn't discussed

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

Successfully merging this pull request may close these issues.

2 participants