rush: 5.5.4
pnpm: 2.25.7
Rush docs claim: "Rush's unique installation strategy produces a single shrinkwrap/lock file for all your projects that installs extremely fast. "
The top of my shrinkwrap.yaml looks like this:
dependencies:
'@babel/core': 7.4.4
'@babel/polyfill': 7.4.4
'@babel/preset-env': 7.4.4
'@babel/preset-typescript': 7.3.3
'@types/chai': 4.1.7
'@types/lodash': 4.14.123
But on a clean install of my app I got this:
dependencies:
+ @babel/core 7.4.4
+ @babel/polyfill 7.4.4
+ @babel/preset-env 7.4.4
+ @babel/preset-typescript 7.3.3
+ @types/chai 4.1.7
+ @types/lodash 4.14.125
"rush install" from scratch installed a newer version of @types/lodash that broke my build. Luckily not any actual functional code, but this is dangerous, deploying the same app to multiple nodes is like rolling the dice as far as what patch versions each instance gets.
The 'specifier' section of the yaml does have an @types/lodashs with a ^, but if this is what really is considered the 'locked' version there should be some documentation that explains this.
If this is working as designed it should be documented somewhere you have to start out with pinned versions on all your package.jsons
rush: 5.5.4
pnpm: 2.25.7
Rush docs claim: "Rush's unique installation strategy produces a single shrinkwrap/lock file for all your projects that installs extremely fast. "
The top of my shrinkwrap.yaml looks like this:
dependencies:
'@babel/core': 7.4.4
'@babel/polyfill': 7.4.4
'@babel/preset-env': 7.4.4
'@babel/preset-typescript': 7.3.3
'@types/chai': 4.1.7
'@types/lodash': 4.14.123
But on a clean install of my app I got this:
dependencies:
+ @babel/core 7.4.4
+ @babel/polyfill 7.4.4
+ @babel/preset-env 7.4.4
+ @babel/preset-typescript 7.3.3
+ @types/chai 4.1.7
+ @types/lodash 4.14.125
"rush install" from scratch installed a newer version of @types/lodash that broke my build. Luckily not any actual functional code, but this is dangerous, deploying the same app to multiple nodes is like rolling the dice as far as what patch versions each instance gets.
The 'specifier' section of the yaml does have an @types/lodashs with a ^, but if this is what really is considered the 'locked' version there should be some documentation that explains this.
If this is working as designed it should be documented somewhere you have to start out with pinned versions on all your package.jsons