You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, when using --install (npm) or --yarn flags, it will install dependencies.
However, for both npm and Yarn, they both stay "stuck" at 0.18.0, instead of latest, which at the time of this writing would be 0.19.3. 😕
# npm
% npm ls @greenwood/cli
npm-app@1.0.0 /Users/owenbuckley/Desktop/npm-app
└── @greenwood/cli@0.18.0
# yarn
% yarn why @greenwood/cli
yarn why v1.22.5
[1/4] 🤔 Why do we have the module "@greenwood/cli"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "@greenwood/cli@0.18.0"
info Has been hoisted to "@greenwood/cli"
info This module exists because it's specified in "devDependencies".info Disk size without dependencies: "284KB"info Disk size with unique dependencies: "272.14MB"info Disk size with transitive dependencies: "314.14MB"info Number of shared dependencies: 35✨ Done in 0.61s.
Details
I guess my assumption was that due to using the ^ in package.json, npm or Yarn would upgrade to anything below 1.x.x? Maybe we need to run an additional update command? Basically, just want users to get the latest stable version within a given semver major range, as defined in package.json.
Or, we just implement #781 , which I had mainly intended as a way to keep the semver range in sync, but would in theory solve the problem here as well?
Either way, would be good to know what should / shouldn't be working.
The text was updated successfully, but these errors were encountered:
Type of Change
Summary
Maybe it's just my misunderstanding of how things should work but currently, our init scaffolding will drop a package.json like this
Then, when using
--install
(npm) or--yarn
flags, it will install dependencies.However, for both npm and Yarn, they both stay "stuck" at
0.18.0
, instead of latest, which at the time of this writing would be0.19.3
. 😕Details
I guess my assumption was that due to using the
^
in package.json, npm or Yarn would upgrade to anything below1.x.x
? Maybe we need to run an additional update command? Basically, just want users to get the latest stable version within a given semver major range, as defined in package.json.Or, we just implement #781 , which I had mainly intended as a way to keep the semver range in sync, but would in theory solve the problem here as well?
Either way, would be good to know what should / shouldn't be working.
The text was updated successfully, but these errors were encountered: