Revert "Renamed `@woocommerce/shortcode-assets`" (#41927)

Revert "Renamed `@woocommerce/shortcode-assets` (#41922)"

This reverts commit d0fa93d470.
This commit is contained in:
Christopher Allford 2023-12-06 11:35:53 -08:00 committed by GitHub
parent d0fa93d470
commit d6a3ba9ba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,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/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.
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.
## Javascript

View File

@ -36,9 +36,9 @@ This directory contains the CSS and jQuery code for WooCommerce shortcodes.
```bash
# Build the assets.
pnpm --filter=@woocommerce/classic-assets build
pnpm --filter=@woocommerce/shortcode-assets build
# Lint the assets.
pnpm --filter=@woocommerce/classic-assets lint
pnpm --filter=@woocommerce/shortcode-assets lint
```
### `plugins/woocommerce-admin`

View File

@ -1,5 +1,5 @@
{
"name": "@woocommerce/classic-assets",
"name": "@woocommerce/shortcode-assets",
"version": "1.0.0",
"private": true,
"license": "GPL-2.0-or-later",

View File

@ -123,7 +123,7 @@
],
"dependencies": {
"@woocommerce/admin-library": "workspace:*",
"@woocommerce/classic-assets": "workspace:*",
"@woocommerce/shortcode-assets": "workspace:*",
"@wordpress/browserslist-config": "wp-6.0"
},
"devDependencies": {

View File

@ -2933,7 +2933,7 @@ importers:
'@woocommerce/admin-library':
specifier: workspace:*
version: link:../woocommerce-admin
'@woocommerce/classic-assets':
'@woocommerce/shortcode-assets':
specifier: workspace:*
version: link:client/legacy
'@wordpress/browserslist-config':