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:
parent
6d685e5185
commit
c0237250fb
|
@ -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`
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue