woocommerce/packages/js/extend-cart-checkout-block
Ron Rennick 4fa2e3822c
Update the monorepo to node v20 (#45148)
* test bumping node to v18

* remove community contributor condition from review assignment

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* bump node to v20

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* add blocks eslint-plugin-woocommerce to project workspace

* add e2e-environment as a peer to e2e-utils

* restore version on @woocommerce/api

* update lock file

* move e2e-environment to devDependencies

* add undefined location check to admin js test

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 13:49:55 -03:00
..
changelog Update the monorepo to node v20 (#45148) 2024-04-12 13:49:55 -03:00
src Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00
$slug-blocks-integration.php.mustache Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00
$slug.php.mustache Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833) 2022-10-27 01:28:44 -07:00
.editorconfig.mustache Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00
.eslintignore.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
.eslintrc.js.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
.gitignore Extend cart checkout block package: Prep for publish (#33355) 2022-06-10 15:25:17 +12:00
.gitignore.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
.nvmrc.mustache Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00
.wp-env.json.mustache Move .wp-env.json.mustache to root folder 2023-03-28 12:05:58 +07:00
CHANGELOG.md Automated change: Prep @woocommerce/extend-cart-checkout-block for release. 2023-04-26 00:53:18 +00:00
README.md Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00
README.md.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
composer.json bump php version in packages/js/*/composer.json (#42020) 2024-01-04 10:18:34 -04:00
composer.lock Update changelogger to 3.3.0 to support PR number capturing with merge (#36266) 2023-01-05 14:42:51 +05:30
index.js Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00
package.json Update the monorepo to node v20 (#45148) 2024-04-12 13:49:55 -03:00
webpack.config.js.mustache Update extend-cart-checkout-block dependency 2023-03-14 11:57:22 +07:00

README.md

@woocommerce/extend-cart-checkout-block

This is a template to be used with @wordpress/create-block to create a WooCommerce Blocks extension starting point.

Installation

From your plugins directory run:

npx @wordpress/create-block -t @woocommerce/extend-cart-checkout-block your_extension_name

When this has completed, go to your WordPress plugins page and activate the plugin.

Add some items to your cart and visit the Checkout block, notice there is additional data on the block that this template has added.

Installing wp-prettier (optional)

WooCommerce Blocks uses wp-prettier to format the JS files. If you want to use wp-prettier, you will need to run the following command:

nvm use && npm i --D "prettier@npm:wp-prettier@latest"

Installing wp-env (optional)

wp-env lets you easily set up a local WordPress environment for building and testing your extension. If you want to use wp-env, you will need to run the following command:

nvm use && npm i -D @wordpress/env && npm set-script wp-env "wp-env"