Use ^ not >= in devDependencies of generated package.json files and…#389
Use ^ not >= in devDependencies of generated package.json files and…#389
Conversation
…ix version of typescript used for Angular 11
There was a problem hiding this comment.
So the problem was if the generated client was built with ngVersion = angular@12. BOAT was defining dev dependencies with range>= which would result in the latest versions being installed during npm i? (e.g, instead of typescript@4.3.2 dev dependency being installed, it would install whatever the latest version was here)
Yeah, sorry, should have added a detailed explaination. This affects people using BOAT to generate stand-alone clients for the specs, as opposed to people like us who generate the clients as libs within a bigger nx project (where the lib's devDependencies are ignored as we only install from the root package.json). The problem is that our instructions for generating custom clients with BOAT say to do this to build the client package after generating it: Problem here is because of |
Ok this makes sense, we didn't think of this when making the change earlier this year. |
|
LGTM, apart from a small conflict in the zone.js version used in tests it seems (as it's 0.x): |
|
@santam85 yeah, just fixed those :) |
|
Kudos, SonarCloud Quality Gate passed! |








…fix version of typescript used for Angular 11.
Also fix issues running
npm installin the generated project when using npm v8.