keep init
command in sync with latest stable Greenwood CLI version when scaffolding package.json
#781
Closed
1 of 5 tasks
Type of Change
Summary
Currently as part of #778 and related to #770 , we are using a hardcoded package.json to use as the template for scaffolding. This means the version of the @greenwood/cli in the generated package.json will never bump unless we change it ourselves. It would be good to find a mechanism to try and keep this up to date as part of each new release.
Details
Basically, the init package should pull from its own package.json each time and use that as the installed version. The only question is, if it's an
alpha.x
release though, e.g.^0.19.0-alpha.1
we should probably fallback to last minor, e.g.^0.18.0
.The text was updated successfully, but these errors were encountered: