Skip to content

EmranAhmed/storepress-create-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@storepress/create-plugin

This is a template for @wordpress/create-block to create StorePress Plugin.

Usage

This template can be used by running the following command:

npx @wordpress/create-block@latest my-extension-name --template @storepress/create-plugin --target-dir .

Navigate to the newly created folder and get started.

cd my-extension-name
chmod +x ./tools/package.js                         # Make Package JS Executable.
chmod +x ./tools/changelog.js                       # Make Changelog JS Executable.
chmod +x ./tools/packages-install.js                # Make Package Install JS Executable.
chmod +x ./tools/packages-update.js.js              # Make Package Update JS Executable.
npm i                                               # Install dependencies
npm start                                           # Start developing
npx @wp-now/wp-now start                            # Start Wordpress environment

Development

For development on this tool itself, you can also install from a local directory.

npx @wordpress/create-block@latest example-extension-name --template ./create-plugin 

Add Tests

Please check Base Plugin to add test and others.

This is a template to used with @wordpress/create-block to create a StorePress Plugin starting point.

Releases

No releases published

Packages

No packages published