genesis-theme-claim

0.6.0 • Public • Published

Genesis Theme Claim

Renames the Genesis Sample theme and resets the version number with a quick cli walk-through.

Version

Install

$ npm install genesis-theme-claim --save-dev

Usage

In a terminal

$ genesis-theme-claim --help
 
  Usage
    $ genesis-theme-claim
 
  Options
    --config=<path>  Path to config [Default: ./themeclaim.json]
    --ignore=<path>  Specify an additional file or glob to ignore
 
  Examples
    $ genesis-theme-claim --config='/build/conf.json' --ignore='**/*.ignore'

Or in a package.json script

"scripts"{
    "rename": "genesis-theme-claim",
}

Run the "script"

$ npm run rename

By default, the config is set up for use with the Genesis Sample Theme.

To rename any other theme, create a themeclaim.json and place it in the root of your theme with the following contents. Change the data to match your current theme data exactly (this is the data you're wanting to change).

{
    "from": {
     "Name": "Genesis Sample",
     "Description": "This is the sample theme created for the Genesis Framework.",
     "Namespace": "Genesis Sample",
     "Uri": "https://demo.studiopress.com/",
     "Author": "StudioPress",
     "AuthorUri": "https://www.studiopress.com/"
     }
}

Version

The version number is automatically reset to 1.0.0 across all theme files including @since tags in PHP comments.

Readme

Keywords

none

Package Sidebar

Install

npm i genesis-theme-claim

Weekly Downloads

0

Version

0.6.0

License

GPL-3.0-or-later

Unpacked Size

33.4 kB

Total Files

12

Last publish

Collaborators

  • seothemes