bolt icon indicating copy to clipboard operation
bolt copied to clipboard

More bolt project validations

Open lukebatchelor opened this issue 8 years ago • 2 comments

Some more checks we should perform

  • peerDeps and devDeps are the same version range (I think this will be a requirement for internal deps only?)
  • internal deps can only have caret, tilde and pinned version ranges (but can be anything that semver.satisifies the current version)

lukebatchelor avatar Nov 15 '17 02:11 lukebatchelor

The fear I have going down this route is that it's going to get increasingly difficult to explain why certain version ranges are allowed and others are not

jamiebuilds avatar Nov 20 '17 00:11 jamiebuilds

Not sure what you mean @thejameskyle ? Are you referring to the first point? I think that ones still up for discussion.

The second is just a product of requirements though and is already implemented, this would just be moving those checks from getDependencyGraph into validateProject.

lukebatchelor avatar Nov 20 '17 07:11 lukebatchelor