Skip to content

elpuas/create-block-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Block Theme

This my first try to create a CLI using Node, all the magic happen on bin/create-block-theme.js simply run:

npx @elpuas/create-block-theme

Why

I think this is the fastest way to have a blank based theme and start hacking, This script will fetch and clone my block based theme starter repo. this theme starter has wp-scripts.

Happy Coding!

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[1.1.0] - 2022-10-29

Added

  • Add prompts package.
  • Add chalk package.
  • Refactor to code to allow prompts to update the theme name, description and author.
  • Add commands for remove and init the repo.

[1.0.2] - 2022-10-28

Fixed

  • Fixed the string.test() conditional that wasn't work as expected.

[1.0.1] - 2022-10-28

Added

  • Added a new function to change the package.json name with the user repo name.
  • Added a new function to change the theme name on the styles.css with the repo name.

Changed

  • Change the ./bin/create-block-theme.js and move all functions outside the main file.

[1.0.0] - 2022-10-27

Added

  • First package release

About

A NPX script for scaffolding a Block Based Theme

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published