Handy code snippets for @wordpress/components
First, we need to install some dependencies. This project uses a couple of dependencies to generate the snippets.
Clone the repo to your computer, and run the command:
npm install
The snippets live in the data/ directory as .snip files. These files are use front-matter to store data about the component. The body contains the markup the generator(s) use to create the snippets.
To build the snippets, run the command:
npm run build
Run the following command with patch, minor, or major:
npm version patch
