b61b86545a
* fix: fixed all instances of translator lint rule violations * Add changefile(s) from automation for the following project(s): @woocommerce/eslint-plugin, @woocommerce/components, woocommerce * fix i18n lint violations in @woo/components * fix all i18n lint rule violations in @woo/product-editor * Add changefile(s) from automation for the following project(s): @woocommerce/product-editor, @woocommerce/eslint-plugin, @woocommerce/components, woocommerce * empty commit to trigger CI --------- Co-authored-by: github-actions <github-actions@github.com> |
||
---|---|---|
.. | ||
src | ||
._eslintrc.js | ||
._gitignore | ||
._prettierrc.json | ||
._wp-env.json | ||
README.md | ||
_README.md | ||
_main.php | ||
_package.json | ||
_webpack.config.js | ||
index.js | ||
package.json |
README.md
Create Extension
Scaffold a modern JavaScript WordPress plugin with WooCommerce tooling.
Includes
- wp-scripts
- WooCommerce Dependency Extraction Webpack Plugin
- WooCommerce ESLint Plugin with WordPress Prettier
Usage
pnpm run create-extension
The script will create a sibling directory by a name of your choosing. Once you change directories into the new folder, install dependencies and start a development build.
pnpm install
pnpm start