thegetty / quire

A multi-package repository for the Quire multiformat publishing framework
https://quire.getty.edu/
BSD 3-Clause "New" or "Revised" License
94 stars 12 forks source link

Add project quire-cli version to `info` output #755

Closed hbalenda closed 1 year ago

hbalenda commented 1 year ago

Changes:

Example output when running quire info on a project with an old .quire:

This project was generated with the quire-cli prior to version 1.0.0.rc-8. Updating the version file to the new format, though this project's version file will not contain specific starter version information.
[scroll-interactions]
 quire-cli <=1.0.0.rc-7
 quire-11ty 1.0.0-rc.10
 starter undefined
[System]
 quire-cli 1.0.0-rc.9

Same project with debug output:

[scroll-interactions]
 quire-cli <=1.0.0.rc-7
 quire-11ty 1.0.0-rc.10
 starter undefined
[System]
 quire-cli 1.0.0-rc.9
 node v18.16.0
 npm 9.5.1
 os Darwin 22.4.0

Output from quire info on a project generated with >= 1.0.0-rc8 (includes the starter version and specific cli version)

[test-info]
 quire-cli 1.0.0-rc.8
 quire-11ty 1.0.0-rc.10
 starter https://github.com/thegetty/quire-starter-default@2.4.0
[System]
 quire-cli 1.0.0-rc.9