Skip to content

Commit

Permalink
chore(core): temporarily add inquirer as dev dependency
Browse files Browse the repository at this point in the history
This is only required to make depcheck pass - we're only importing the types,
which are given by `@types/inquirer`, but depcheck doesn't understand this.

I created a PR[1] against depcheck to fix this, but it is hard to know when/if
this patch will land, so this seems like a reasonable workaround given it is
only a development dependency.

[1]: depcheck/depcheck#670
  • Loading branch information
rexxars committed Sep 7, 2021
1 parent da87a87 commit 9bda8b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@sanity/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"@types/fs-extra": "^7.0.0",
"@types/inquirer": "^6.0.2",
"@types/resolve-from": "^4.0.0",
"@types/semver": "^6.2.3"
"@types/semver": "^6.2.3",
"inquirer": "^6.0.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9bda8b2

Please sign in to comment.