Renamed Shortcode Assets "Classic"

This commit is contained in:
Christopher Allford 2023-12-09 15:37:13 -08:00
parent 4d0cde4b4b
commit d443e92f23
5 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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`

View File

@ -1,5 +1,5 @@
{
"name": "@woocommerce/shortcode-assets",
"name": "@woocommerce/classic-assets",
"private": true,
"version": "1.0.0",
"author": "Automattic",

View File

@ -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": {

View File

@ -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':