Expansion of 'pageComponent.js' module
The 'pageComponent.js' module has been updated to include two new functions camelToSnakeCase and snakeToKebabCase.
Introduction of 'postType.js' file
A new file named 'postType.js' has been introduced.
Introduction of 'createPostType' function
The 'postType.js' file now contains a new function - createPostType.
Inclusion of 'createPostType' command
The central command file index.js now allows the createPostType command, reinforcing its functionality.
Comprehensive update to 'helpers.js' module
The 'helpers.js' module has been significantly expanded, with the addition of four new functions - camelToSnakeCase, snakeToKebabCase, kebabCaseToHuman, and pascalToCamelCase.
Addition of 'createPostType' template
A template for the 'createPostType' function has been created and stored in templates/postTypes/PostTypeName.php. This should ease the development process and ensure consistency across different uses of this function.
PR Summary
Expansion of 'pageComponent.js' module The 'pageComponent.js' module has been updated to include two new functions
camelToSnakeCase
andsnakeToKebabCase
.Introduction of 'postType.js' file A new file named 'postType.js' has been introduced.
Introduction of 'createPostType' function The 'postType.js' file now contains a new function -
createPostType
.Inclusion of 'createPostType' command The central command file
index.js
now allows thecreatePostType
command, reinforcing its functionality.Comprehensive update to 'helpers.js' module The 'helpers.js' module has been significantly expanded, with the addition of four new functions -
camelToSnakeCase
,snakeToKebabCase
,kebabCaseToHuman
, andpascalToCamelCase
.Addition of 'createPostType' template A template for the 'createPostType' function has been created and stored in
templates/postTypes/PostTypeName.php
. This should ease the development process and ensure consistency across different uses of this function.