Revert "Renamed `@woocommerce/shortcode-assets`" (#41927)
Revert "Renamed `@woocommerce/shortcode-assets` (#41922)"
This reverts commit d0fa93d470
.
This commit is contained in:
parent
d0fa93d470
commit
d6a3ba9ba9
|
@ -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
|
||||
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@woocommerce/classic-assets",
|
||||
"name": "@woocommerce/shortcode-assets",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"license": "GPL-2.0-or-later",
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"@woocommerce/admin-library": "workspace:*",
|
||||
"@woocommerce/classic-assets": "workspace:*",
|
||||
"@woocommerce/shortcode-assets": "workspace:*",
|
||||
"@wordpress/browserslist-config": "wp-6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue