Removed `@woocommerce/notices` Internal Prefix (#33283)
Since we're exposing the package in some form, we cannot rename it since that would break backwards compatibility. This commit changes it back.
This commit is contained in:
parent
5a71268a1d
commit
bb320a935a
|
@ -12,7 +12,7 @@ module.exports = [
|
||||||
'@woocommerce/explat',
|
'@woocommerce/explat',
|
||||||
'@woocommerce/extend-cart-checkout-block',
|
'@woocommerce/extend-cart-checkout-block',
|
||||||
'@woocommerce/navigation',
|
'@woocommerce/navigation',
|
||||||
'@woocommerce/internal-notices',
|
'@woocommerce/notices',
|
||||||
'@woocommerce/number',
|
'@woocommerce/number',
|
||||||
'@woocommerce/tracks',
|
'@woocommerce/tracks',
|
||||||
// wc-blocks packages
|
// wc-blocks packages
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@woocommerce/internal-notices",
|
"name": "@woocommerce/notices",
|
||||||
"version": "4.0.1",
|
"version": "4.0.1",
|
||||||
"description": "State management for notices.",
|
"description": "State management for notices.",
|
||||||
"author": "The WordPress Contributors",
|
"author": "The WordPress Contributors",
|
||||||
|
@ -9,11 +9,11 @@
|
||||||
"gutenberg",
|
"gutenberg",
|
||||||
"notices"
|
"notices"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/internal-notices/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/notices/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/woocommerce/woocommerge.git",
|
"url": "https://github.com/woocommerce/woocommerge.git",
|
||||||
"directory": "packages/js/internal-notices"
|
"directory": "packages/js/notices"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/woocommerce/woocommerce/issues"
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"root": "packages/js/internal-notices",
|
"root": "packages/js/notices",
|
||||||
"sourceRoot": "packages/js/internal-notices/src",
|
"sourceRoot": "packages/js/notices/src",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"targets": {
|
"targets": {
|
||||||
"build": {
|
"build": {
|
|
@ -25,7 +25,7 @@ import {
|
||||||
withOptionsHydration,
|
withOptionsHydration,
|
||||||
} from '@woocommerce/data';
|
} from '@woocommerce/data';
|
||||||
import { recordPageView } from '@woocommerce/tracks';
|
import { recordPageView } from '@woocommerce/tracks';
|
||||||
import '@woocommerce/internal-notices';
|
import '@woocommerce/notices';
|
||||||
import { PluginArea } from '@wordpress/plugins';
|
import { PluginArea } from '@wordpress/plugins';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
"@woocommerce/explat": "workspace:*",
|
"@woocommerce/explat": "workspace:*",
|
||||||
"@woocommerce/internal-js-tests": "workspace:*",
|
"@woocommerce/internal-js-tests": "workspace:*",
|
||||||
"@woocommerce/navigation": "workspace:*",
|
"@woocommerce/navigation": "workspace:*",
|
||||||
"@woocommerce/internal-notices": "workspace:*",
|
"@woocommerce/notices": "workspace:*",
|
||||||
"@woocommerce/number": "workspace:*",
|
"@woocommerce/number": "workspace:*",
|
||||||
"@woocommerce/onboarding": "workspace:*",
|
"@woocommerce/onboarding": "workspace:*",
|
||||||
"@woocommerce/internal-style-build": "workspace:*",
|
"@woocommerce/internal-style-build": "workspace:*",
|
||||||
|
|
|
@ -30,7 +30,7 @@ const wcAdminPackages = [
|
||||||
'experimental',
|
'experimental',
|
||||||
'explat',
|
'explat',
|
||||||
'navigation',
|
'navigation',
|
||||||
'internal-notices',
|
'notices',
|
||||||
'number',
|
'number',
|
||||||
'data',
|
'data',
|
||||||
'tracks',
|
'tracks',
|
||||||
|
|
|
@ -253,7 +253,7 @@ class WCAdminAssets {
|
||||||
'wc-experimental',
|
'wc-experimental',
|
||||||
'wc-customer-effort-score',
|
'wc-customer-effort-score',
|
||||||
// NOTE: This should be removed when Gutenberg is updated and the notices package is removed from WooCommerce Admin.
|
// NOTE: This should be removed when Gutenberg is updated and the notices package is removed from WooCommerce Admin.
|
||||||
'wc-internal-notices',
|
'wc-notices',
|
||||||
'wc-number',
|
'wc-number',
|
||||||
'wc-tracks',
|
'wc-tracks',
|
||||||
'wc-date',
|
'wc-date',
|
||||||
|
@ -365,7 +365,7 @@ class WCAdminAssets {
|
||||||
'wc-navigation',
|
'wc-navigation',
|
||||||
// NOTE: This should be removed when Gutenberg is updated and
|
// NOTE: This should be removed when Gutenberg is updated and
|
||||||
// the notices package is removed from WooCommerce Admin.
|
// the notices package is removed from WooCommerce Admin.
|
||||||
'wc-internal-notices',
|
'wc-notices',
|
||||||
'wc-number',
|
'wc-number',
|
||||||
'wc-date',
|
'wc-date',
|
||||||
'wc-components',
|
'wc-components',
|
||||||
|
|
|
@ -973,7 +973,7 @@ importers:
|
||||||
ts-jest: 27.1.3_b64eba0a9f1c7068f7f3a75addda5ccd
|
ts-jest: 27.1.3_b64eba0a9f1c7068f7f3a75addda5ccd
|
||||||
typescript: 4.6.2
|
typescript: 4.6.2
|
||||||
|
|
||||||
packages/js/internal-notices:
|
packages/js/notices:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@automattic/data-stores': ^2.0.1
|
'@automattic/data-stores': ^2.0.1
|
||||||
'@babel/core': ^7.17.5
|
'@babel/core': ^7.17.5
|
||||||
|
@ -1332,7 +1332,7 @@ importers:
|
||||||
'@woocommerce/experimental': workspace:*
|
'@woocommerce/experimental': workspace:*
|
||||||
'@woocommerce/explat': workspace:*
|
'@woocommerce/explat': workspace:*
|
||||||
'@woocommerce/internal-js-tests': workspace:*
|
'@woocommerce/internal-js-tests': workspace:*
|
||||||
'@woocommerce/internal-notices': workspace:*
|
'@woocommerce/notices': workspace:*
|
||||||
'@woocommerce/internal-style-build': workspace:*
|
'@woocommerce/internal-style-build': workspace:*
|
||||||
'@woocommerce/navigation': workspace:*
|
'@woocommerce/navigation': workspace:*
|
||||||
'@woocommerce/number': workspace:*
|
'@woocommerce/number': workspace:*
|
||||||
|
@ -1536,7 +1536,7 @@ importers:
|
||||||
'@woocommerce/experimental': link:../../packages/js/experimental
|
'@woocommerce/experimental': link:../../packages/js/experimental
|
||||||
'@woocommerce/explat': link:../../packages/js/explat
|
'@woocommerce/explat': link:../../packages/js/explat
|
||||||
'@woocommerce/internal-js-tests': link:../../packages/js/internal-js-tests
|
'@woocommerce/internal-js-tests': link:../../packages/js/internal-js-tests
|
||||||
'@woocommerce/internal-notices': link:../../packages/js/internal-notices
|
'@woocommerce/notices': link:../../packages/js/notices
|
||||||
'@woocommerce/internal-style-build': link:../../packages/js/internal-style-build
|
'@woocommerce/internal-style-build': link:../../packages/js/internal-style-build
|
||||||
'@woocommerce/navigation': link:../../packages/js/navigation
|
'@woocommerce/navigation': link:../../packages/js/navigation
|
||||||
'@woocommerce/number': link:../../packages/js/number
|
'@woocommerce/number': link:../../packages/js/number
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
{ "path": "./packages/js/explat" },
|
{ "path": "./packages/js/explat" },
|
||||||
{ "path": "./packages/js/internal-js-tests" },
|
{ "path": "./packages/js/internal-js-tests" },
|
||||||
{ "path": "./packages/js/navigation" },
|
{ "path": "./packages/js/navigation" },
|
||||||
{ "path": "./packages/js/internal-notices" },
|
{ "path": "./packages/js/notices" },
|
||||||
{ "path": "./packages/js/number" },
|
{ "path": "./packages/js/number" },
|
||||||
{ "path": "./packages/js/onboarding" },
|
{ "path": "./packages/js/onboarding" },
|
||||||
{ "path": "./packages/js/tracks" }
|
{ "path": "./packages/js/tracks" }
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"@woocommerce/explat": "packages/js/explat",
|
"@woocommerce/explat": "packages/js/explat",
|
||||||
"@woocommerce/internal-js-tests": "packages/js/internal-js-tests",
|
"@woocommerce/internal-js-tests": "packages/js/internal-js-tests",
|
||||||
"@woocommerce/navigation": "packages/js/navigation",
|
"@woocommerce/navigation": "packages/js/navigation",
|
||||||
"@woocommerce/internal-notices": "packages/js/internal-notices",
|
"@woocommerce/notices": "packages/js/notices",
|
||||||
"@woocommerce/number": "packages/js/number",
|
"@woocommerce/number": "packages/js/number",
|
||||||
"@woocommerce/onboarding": "packages/js/onboarding",
|
"@woocommerce/onboarding": "packages/js/onboarding",
|
||||||
"@woocommerce/internal-style-build": "packages/js/internal-style-build",
|
"@woocommerce/internal-style-build": "packages/js/internal-style-build",
|
||||||
|
|
Loading…
Reference in New Issue