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`
|
### `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
|
```bash
|
||||||
# Build the assets.
|
# Build the assets.
|
||||||
pnpm run --filter=woocommerce/client/legacy build
|
pnpm run --filter=@woocommerce/shortcode-assets build
|
||||||
# Lint the assets.
|
# Lint the assets.
|
||||||
pnpm run --filter=woocommerce/client/legacy lint
|
pnpm run --filter=@woocommerce/shortcode-assets lint
|
||||||
```
|
```
|
||||||
|
|
||||||
### `plugins/woocommerce-admin`
|
### `plugins/woocommerce-admin`
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "woocommerce/client/legacy",
|
"name": "@woocommerce/shortcode-assets",
|
||||||
|
"private": true,
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "Automattic",
|
"author": "Automattic",
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"private": true,
|
|
||||||
"main": "Gruntfile.js",
|
"main": "Gruntfile.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"turbo:build": "grunt assets",
|
"turbo:build": "grunt assets",
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
"build:feature-config",
|
"build:feature-config",
|
||||||
"^turbo:build",
|
"^turbo:build",
|
||||||
"@woocommerce/admin-library#turbo:build",
|
"@woocommerce/admin-library#turbo:build",
|
||||||
"woocommerce/client/legacy#turbo:build"
|
"@woocommerce/shortcode-assets#turbo:build"
|
||||||
],
|
],
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
|
|
||||||
"woocommerce/client/legacy#turbo:build": {
|
"@woocommerce/shortcode-assets#turbo:build": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^turbo:build"
|
"^turbo:build"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue