Making experimental package public and updating its dependency versions (https://github.com/woocommerce/woocommerce-admin/pull/6810)
* Making experimental package public, and updating the dependency versions * add experimental to webpack and make explat public * bump DEWP package version * use filepath for inter package dependencies * load experimental script * remove check for experimental Co-authored-by: Sam Seay <samueljseay@gmail.com> Co-authored-by: Paul Sealock <psealock@gmail.com>
This commit is contained in:
parent
eb9baa06a3
commit
7859e37221
|
@ -22,6 +22,6 @@
|
|||
"devDependencies": {
|
||||
"@wordpress/scripts": "^12.2.1",
|
||||
"@woocommerce/eslint-plugin": "1.1.0",
|
||||
"@woocommerce/dependency-extraction-webpack-plugin": "1.4.0"
|
||||
"@woocommerce/dependency-extraction-webpack-plugin": "1.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9132,6 +9132,12 @@
|
|||
"version": "file:packages/components",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@woocommerce/csv-export": "1.3.0",
|
||||
"@woocommerce/currency": "3.0.0",
|
||||
"@woocommerce/data": "1.1.1",
|
||||
"@woocommerce/date": "2.1.0",
|
||||
"@woocommerce/experimental": "1.0.0",
|
||||
"@woocommerce/navigation": "5.2.0",
|
||||
"@wordpress/api-fetch": "^3.21.5",
|
||||
"@wordpress/components": "10.2.0",
|
||||
"@wordpress/compose": "3.23.1",
|
||||
|
@ -9152,9 +9158,11 @@
|
|||
"d3-selection": "1.4.2",
|
||||
"d3-shape": "1.3.7",
|
||||
"d3-time-format": "2.3.0",
|
||||
"dompurify": "2.2.7",
|
||||
"emoji-flags": "1.3.0",
|
||||
"gridicons": "3.3.1",
|
||||
"interpolate-components": "1.1.1",
|
||||
"md5": "2.3.0",
|
||||
"memoize-one": "5.1.1",
|
||||
"moment": "2.29.1",
|
||||
"prop-types": "15.7.2",
|
||||
|
@ -9537,6 +9545,7 @@
|
|||
"version": "file:packages/currency",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@woocommerce/number": "2.1.0",
|
||||
"@wordpress/deprecated": "^2.9.0",
|
||||
"@wordpress/html-entities": "2.10.0"
|
||||
},
|
||||
|
@ -9661,6 +9670,8 @@
|
|||
"version": "file:packages/data",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@woocommerce/date": "2.1.0",
|
||||
"@woocommerce/navigation": "5.2.0",
|
||||
"rememo": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -10338,15 +10349,15 @@
|
|||
}
|
||||
},
|
||||
"@woocommerce/e2e-utils": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@woocommerce/e2e-utils/-/e2e-utils-0.1.2.tgz",
|
||||
"integrity": "sha512-jea/yTDzkpFvbwi8g0FZ6p+FAK1FUH8OTboRV447SUpALnuQB57N0p33Dwfab2B5ZrGPVgLUxlAgt+q6acOqXw==",
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@woocommerce/e2e-utils/-/e2e-utils-0.1.4.tgz",
|
||||
"integrity": "sha512-7MZKT1hgaJWyF66YTxQvBUIgXiAuw4BNJOCX1hkWbeTEUNRp6jIXcePzHReNH4b3IXGYhS/BIqD0vKrxqg17Vw==",
|
||||
"requires": {
|
||||
"@wordpress/deprecated": "^2.10.0",
|
||||
"@wordpress/e2e-test-utils": "^4.6.0",
|
||||
"config": "3.3.3",
|
||||
"faker": "^5.1.0",
|
||||
"fishery": "^1.0.1"
|
||||
"fishery": "^1.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"config": {
|
||||
|
@ -10783,7 +10794,7 @@
|
|||
"version": "file:packages/navigation",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@woocommerce/experimental": "file:packages/experimental",
|
||||
"@woocommerce/experimental": "1.0.0",
|
||||
"history": "4.10.1",
|
||||
"qs": "6.9.6"
|
||||
},
|
||||
|
@ -18052,6 +18063,12 @@
|
|||
"safe-buffer": "~5.1.1"
|
||||
}
|
||||
},
|
||||
"cookie": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
|
||||
"integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
|
||||
"dev": true
|
||||
},
|
||||
"cookie-signature": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
|
||||
|
@ -21138,12 +21155,6 @@
|
|||
"vary": "~1.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"cookie": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
|
||||
"integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
|
@ -21297,9 +21308,9 @@
|
|||
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
|
||||
},
|
||||
"faker": {
|
||||
"version": "5.5.2",
|
||||
"resolved": "https://registry.npmjs.org/faker/-/faker-5.5.2.tgz",
|
||||
"integrity": "sha512-6G3lzZXWjWfqTJDS9KhHFIislZMGdrzDqews3T14E/dsANVbs3YT4A3jSNDrbA/gbtmjLuKJx9DzcLucdXBqBw=="
|
||||
"version": "5.5.3",
|
||||
"resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz",
|
||||
"integrity": "sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g=="
|
||||
},
|
||||
"fast-deep-equal": {
|
||||
"version": "3.1.3",
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# 6.1.2
|
||||
|
||||
- Update dependencies.
|
||||
|
||||
# 6.1.1
|
||||
|
||||
- Update dependencies.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/components",
|
||||
"version": "6.1.1",
|
||||
"version": "6.1.2",
|
||||
"description": "UI components for WooCommerce.",
|
||||
"author": "Automattic",
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
@ -21,12 +21,12 @@
|
|||
"module": "build-module/index.js",
|
||||
"react-native": "src/index",
|
||||
"dependencies": {
|
||||
"@woocommerce/csv-export": "1.3.0",
|
||||
"@woocommerce/currency": "3.0.0",
|
||||
"@woocommerce/data": "1.1.1",
|
||||
"@woocommerce/date": "2.1.0",
|
||||
"@woocommerce/csv-export": "file:../csv-export",
|
||||
"@woocommerce/currency": "file:../currency",
|
||||
"@woocommerce/data": "file:../data",
|
||||
"@woocommerce/date": "file:../date",
|
||||
"@woocommerce/experimental": "file:../experimental",
|
||||
"@woocommerce/navigation": "5.2.0",
|
||||
"@woocommerce/navigation": "file:../navigation",
|
||||
"@wordpress/api-fetch": "^3.21.5",
|
||||
"@wordpress/components": "10.2.0",
|
||||
"@wordpress/compose": "3.23.1",
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"module": "build-module/index.js",
|
||||
"react-native": "src/index",
|
||||
"dependencies": {
|
||||
"@woocommerce/number": "2.1.0",
|
||||
"@woocommerce/number": "file:../number",
|
||||
"@wordpress/deprecated": "^2.9.0",
|
||||
"@wordpress/html-entities": "2.10.0"
|
||||
},
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
"module": "build-module/index.js",
|
||||
"react-native": "src/index",
|
||||
"dependencies": {
|
||||
"@woocommerce/date": "2.1.0",
|
||||
"@woocommerce/navigation": "5.2.0",
|
||||
"@woocommerce/date": "file:../date",
|
||||
"@woocommerce/navigation": "file:../navigation",
|
||||
"rememo": "^3.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Unreleased
|
||||
# 1.5.0
|
||||
|
||||
- Add `@woocommerce/explat` to list of packages.
|
||||
- Add `@woocommerce/experimental` to list of packages.
|
||||
|
||||
# 1.4.0
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/dependency-extraction-webpack-plugin",
|
||||
"version": "1.4.0",
|
||||
"version": "1.5.0",
|
||||
"description": "WooCommerce Dependency Extraction Webpack Plugin",
|
||||
"author": "Automattic",
|
||||
"license": "GPL-2.0-or-later",
|
||||
|
|
|
@ -25,11 +25,6 @@ const wooRequestToExternal = ( request ) => {
|
|||
settings: [ 'wc', 'wcSettings' ],
|
||||
};
|
||||
|
||||
const excludedExternals = [ 'experimental' ];
|
||||
if ( excludedExternals.includes( handle ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( irregularExternalMap[ handle ] ) {
|
||||
return irregularExternalMap[ handle ];
|
||||
}
|
||||
|
|
|
@ -26,6 +26,5 @@
|
|||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# 6.0.1
|
||||
|
||||
- Update dependencies.
|
||||
|
||||
# 6.0.0
|
||||
|
||||
- Moving `addHistoryListener()` to this package, which supports adding a listener that is executed for history changes.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/navigation",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.1",
|
||||
"description": "WooCommerce navigation utilities.",
|
||||
"author": "Automattic",
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
|
|
@ -340,6 +340,7 @@ class Loader {
|
|||
|
||||
$scripts = array(
|
||||
'wc-explat',
|
||||
'wc-experimental',
|
||||
'wc-customer-effort-score',
|
||||
// NOTE: This should be removed when Gutenberg is updated and the notices package is removed from WooCommerce Admin.
|
||||
'wc-notices',
|
||||
|
|
|
@ -25,12 +25,13 @@ const NODE_ENV = process.env.NODE_ENV || 'development';
|
|||
const WC_ADMIN_PHASE = process.env.WC_ADMIN_PHASE || 'development';
|
||||
|
||||
const wcAdminPackages = [
|
||||
'explat',
|
||||
'components',
|
||||
'csv-export',
|
||||
'currency',
|
||||
'customer-effort-score',
|
||||
'date',
|
||||
'experimental',
|
||||
'explat',
|
||||
'navigation',
|
||||
'notices',
|
||||
'number',
|
||||
|
|
Loading…
Reference in New Issue