diff --git a/docs/contributing/minification-of-SCSS-and-JS.md b/docs/contributing/minification-of-SCSS-and-JS.md index 2c3dde67f90..9d0c7684ace 100644 --- a/docs/contributing/minification-of-SCSS-and-JS.md +++ b/docs/contributing/minification-of-SCSS-and-JS.md @@ -6,7 +6,7 @@ post_title: Minification of SCSS and JS When updating SCSS files in the WooCommerce project, please **commit only your changes to unminified SCSS files**. The minification will be handled as part of the release process. -To get the minified CSS files, run `pnpm --filter='@woocommerce/shortcode-assets' build` from the repository root directory. To set up the development environment from scratch, see the section on [how to install dependencies and generate assets](https://github.com/woocommerce/woocommerce/wiki/How-to-set-up-WooCommerce-development-environment#install-dependencies-and-generate-assets) in the guide to set up a WooCommerce development environment. +To get the minified CSS files, run `pnpm --filter='@woocommerce/classic-assets' build` from the repository root directory. To set up the development environment from scratch, see the section on [how to install dependencies and generate assets](https://github.com/woocommerce/woocommerce/wiki/How-to-set-up-WooCommerce-development-environment#install-dependencies-and-generate-assets) in the guide to set up a WooCommerce development environment. ## Javascript diff --git a/plugins/woocommerce/README.md b/plugins/woocommerce/README.md index 8d574308bff..e911fddde89 100644 --- a/plugins/woocommerce/README.md +++ b/plugins/woocommerce/README.md @@ -32,13 +32,13 @@ in this way to take advantage of caching to prevent unnecessarily performing exp ### `plugins/woocommerce/client/legacy` -This directory contains the CSS and jQuery code for WooCommerce shortcodes. +This directory contains the Classic CSS and jQuery code for WooCommerce. ```bash # Build the assets. -pnpm --filter=@woocommerce/shortcode-assets build +pnpm --filter=@woocommerce/classic-assets build # Lint the assets. -pnpm --filter=@woocommerce/shortcode-assets lint +pnpm --filter=@woocommerce/classic-assets lint ``` ### `plugins/woocommerce-admin` diff --git a/plugins/woocommerce/client/legacy/package.json b/plugins/woocommerce/client/legacy/package.json index 7023a735525..b83fabdbe49 100644 --- a/plugins/woocommerce/client/legacy/package.json +++ b/plugins/woocommerce/client/legacy/package.json @@ -1,5 +1,5 @@ { - "name": "@woocommerce/shortcode-assets", + "name": "@woocommerce/classic-assets", "private": true, "version": "1.0.0", "author": "Automattic", diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json index 9d054abf09a..7d87b189580 100644 --- a/plugins/woocommerce/package.json +++ b/plugins/woocommerce/package.json @@ -175,7 +175,7 @@ "dependencies": { "@wordpress/browserslist-config": "wp-6.0", "@woocommerce/admin-library": "workspace:*", - "@woocommerce/shortcode-assets": "workspace:*", + "@woocommerce/classic-assets": "workspace:*", "@woocommerce/block-library": "workspace:*" }, "wireit": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 685e5b6e98c..740efa92d7a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2944,7 +2944,7 @@ importers: '@woocommerce/block-library': specifier: workspace:* version: link:../woocommerce-blocks - '@woocommerce/shortcode-assets': + '@woocommerce/classic-assets': specifier: workspace:* version: link:client/legacy '@wordpress/browserslist-config':