๐Ÿ”ง WP Bones 2.1.0 โ€” a sturdier bones CLI

WP Bones 2.1.0 is out ๐Ÿฆด the bones CLI that ships inside every plugin gets sturdier ๐Ÿ”ง

๐Ÿ“‚ Runs from any folder. php my-plugin/bones used to stop with a TypeError anywhere but the plugin root. Now it works, custom commands included.

โœ๏ธ rename touches only what changes. It used to rewrite every file and corrupt compiled .mo catalogues. Binary files are left alone now, and rename --update renames vendor/ only.

๐Ÿ›Ÿ update keeps your framework. It no longer deletes vendor/wpbones/wpbones before running Composer, so a failed update can't leave the plugin without one.

The update section of the WP Bones bones CLI docs

โœ… format:check checks. The old one reformatted your plugin, compiled bundles included, and said everything was fine.

๐Ÿงฉ Every generated widget is its own. They used to share one id, and so one settings option.

โฌ†๏ธ composer update wpbones/wpbones

๐Ÿ‘‰ Docs, boilerplates and live Playground demos:

Which bones command do you reach for the most? I'd love to hear ๐Ÿ‘€

21 views

Add a comment

Replies

Best

congrats Giovambattista! to answer your question, bones make: commands are definitely my most used haha. also super glad to hear update doesn't wipe vendor before composer runs anymore, that failed update bug was terrifying lol.

ย Thanks Sumon, make: it is ๐Ÿ˜„ and yeah a failed composer run leaving the plugin with no framework at all was a nasty one, happy its gone