Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Consider officially deprecating CGB #298

Open
@richtabor

Description

@richtabor

First off, super props for jumping on the need that CGB solved back in the day @ahmadawais. There didn't exist an easy way to spin up Gutenberg blocks and CGB certainly filled that gap. You've helped a lot of folks jump into Gutenberg/JS (including myself).

I do question though, now that WordPress has an official @wordpress/create-block package for scaffolding blocks, should CGB be officially deprecated?

A few reasons to consider this:

  1. There hasn't been activity here in about a year, while the @wordpress/create-block package is maintaining pace quite well with Gutenberg/the WordPress Block Directory requirements.
  2. Folks diving into Gutenberg block development that start with CGB will learn outdated methods for registering/building blocks, some of which are incompatible with the WordPress Block Directory.
  3. The WPCLI scaffolding command has been deprecated in support of @wordpress/create-block.
  4. @wordpress/create-block really is a great, highly supported, tool for scaffolding blocks.

If you feel this is an appropriate course of action, let's update the readme with a deprecation warning - similar to what WP-CLI has done. I'd be happy to submit a PR for this.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions