🐛 Patch release — follow-ups to v2.0.2 CLI messaging
Three small issues surfaced while Copilot reviewed the v2.0.2 boilerplate rollout. All patched here.
Fixes
- Post-migration hint was impossible advice.
migrate:to-v2ends with a line for non-yarn users about "deleting your lockfile", but the migrator had already deletedpackage-lock.json/pnpm-lock.yamlearlier in the same run. The line now reads "Your previous lockfile was removed during migration. To switch to yarn, runyarn installinstead of step 1." php bones --versionwas reporting2.0.0. TheWPBONES_COMMAND_LINE_VERSIONconstant had drifted since before v2.0.0 and never been bumped across v2.0.1 / v2.0.2. Now returns2.0.3.- Style consistency in
detectProjectPackageManager()— rewritten with multi-line bracedifblocks to match the rest ofbones. No functional change.
See #79 for the full diff.
Upgrading
composer update wpbones/wpbonesIf you already ran composer update for v2.0.2, rerun it to pick up v2.0.3.