Renamed `woocommerce/client/legacy` Package

NPM requires names to be single-word or have a scope. The
current name is not valid. The package has been renamed
`@woocommerce/shortcode-assets` to better match its purpose.
This commit is contained in:
Christopher Allford 2023-10-23 13:10:24 -07:00
parent 6d685e5185
commit c0237250fb
3 changed files with 7 additions and 7 deletions

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.
This directory contains the CSS and jQuery code for WooCommerce shortcodes.
```bash
# Build the assets.
pnpm run --filter=woocommerce/client/legacy build
pnpm run --filter=@woocommerce/shortcode-assets build
# Lint the assets.
pnpm run --filter=woocommerce/client/legacy lint
pnpm run --filter=@woocommerce/shortcode-assets lint
```
### `plugins/woocommerce-admin`

View File

@ -1,9 +1,9 @@
{
"name": "woocommerce/client/legacy",
"name": "@woocommerce/shortcode-assets",
"private": true,
"version": "1.0.0",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"private": true,
"main": "Gruntfile.js",
"scripts": {
"turbo:build": "grunt assets",

View File

@ -37,7 +37,7 @@
"build:feature-config",
"^turbo:build",
"@woocommerce/admin-library#turbo:build",
"woocommerce/client/legacy#turbo:build"
"@woocommerce/shortcode-assets#turbo:build"
],
"outputs": [],
"inputs": [
@ -47,7 +47,7 @@
"outputMode": "new-only"
},
"woocommerce/client/legacy#turbo:build": {
"@woocommerce/shortcode-assets#turbo:build": {
"dependsOn": [
"^turbo:build"
],