Skip to content

Commit

Permalink
add git validation
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Oct 30, 2023
1 parent 6b1f78c commit 5503086
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ speed on some of the tools and concepts we'll be covering:

## System Requirements

- [git][git] v2.13 or greater
- [git][git] v2.18 or greater
- [NodeJS][node] v18 or greater
- [npm][npm] v8 or greater

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
],
"engines": {
"node": ">=18",
"npm": ">=8.16.0"
"npm": ">=8.16.0",
"git": ">=2.18.0"
},
"devDependencies": {
"chokidar": "^3.5.3",
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (major < 8 || (major === 8 && minor < 16)) {
}

const command =
'npx "https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733" -q'
'npx --yes "https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733" -q'
console.log(
color('subtitle', ' Running the following command: ' + command),
)
Expand Down

0 comments on commit 5503086

Please sign in to comment.