Remove typescript from peerDependencies of @feathers/schema #3560
SvenFackert
started this conversation in
General
Replies: 1 comment 2 replies
-
This was necessary to ensure a minimum TypeScript version because schema does not work with TypeScript 4 (which is causing very difficult to debug errors). I think the problem is that the version is updated when it probably shouldn't be. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I have noticed, that the
@feathers/schema
package.json liststypescript
as a peerDependency (here). Although it is already listed in the devDependencies. Is there any reason to it?I am asking, because since version 7 of npm, peerDependencies get automatically installed with
npm I
. When running e. g.npm i --omit=dev
for production, the peerDependencytypescript
gets installed too, although it should probably only be installed on a dev setup.What do you think? Could this be removed in future versions?
Kind regards
Sven
Beta Was this translation helpful? Give feedback.
All reactions