CΓ³mo actualizar un paquete de yarn a la ΓΊltima versiΓ³n
Claudia Valdivieso / August 25, 2021
2 min read
Mauris eu leo ornare libero efficitur euismod non quis ante. Aliquam facilisis dictum massa sit amet ullamcorper.
Donec bibendum leo nec leo pellentesque porta.
Cras faucibus turpis id consectetur maximus
Aliquam ornare dolor nec nibh volutpat congue. Nullam ac suscipit metus. Cras congue dolor elementum, vulputate libero vel, laoreet eros.
> yarn why gatsby
yarn why v1.22.10
[1/4] π€ Why do we have the module "gatsby"...?
[2/4] π Initialising dependency graph...
[3/4] π Finding dependency...
[4/4] π‘ Calculating file sizes...
=> Found "gatsby@2.24.57"
info Has been hoisted to "gatsby"
info This module exists because it's specified in "dependencies".
info Disk size without dependencies: "27.79MB"
info Disk size with unique dependencies: "27.79MB"
info Disk size with transitive dependencies: "27.79MB"
info Number of shared dependencies: 531
β¨ Done in 2.16s.
Fusce pellentesque sem tellus
Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
> yarn outdated gatsby
yarn outdated v1.22.10
info Color legend :
"<red>" : Major Update backward-incompatible updates
"<yellow>" : Minor Update backward-compatible features
"<green>" : Patch Update backward-compatible bug fixes
Package Current Wanted Latest Package Type URL
gatsby 2.24.57 2.32.13 3.12.0 dependencies https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby#readme
β¨ Done in 5.54s.
In hac habitasse platea dictumst
Ut magna erat, blandit at sodales a, viverra nec turpis. Vivamus tincidunt pellentesque tincidunt. Nunc imperdiet tortor eu neque venenatis, non accumsan dolor dictum.
> yarn upgrade gatsby --latest
yarn upgrade v1.22.10
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π¨ Rebuilding all packages...
success Saved lockfile.
success Saved 341 new dependencies.
info Direct dependencies
ββ gatsby@3.12.0
info All dependencies
ββ @babel/compat-data@7.15.0
ββ ...
ββ ...
ββ ...
ββ yurnalist@2.1.0
β¨ Done in 134.68s.
Donec quis malesuada erat, vitae lobortis nisi. Pellentesque ut mauris vel diam elementum ultricies sed nec orci.
Morbi iaculis ante libero
Aenean iaculis erat at est cursus dignissim. Donec vel leo a nisi sollicitudin commodo ut vel tortor. π