Declare packages dependencies independently of main package.json (https://github.com/woocommerce/woocommerce-admin/pull/4874)
* create file declaration to packages * bump wordpress/components in packages * get format right
This commit is contained in:
parent
c11f906a95
commit
80f4a86515
|
@ -186,9 +186,9 @@ describe( 'Create shipping label button', () => {
|
|||
hide: jest.fn(),
|
||||
} );
|
||||
|
||||
const createElementMock = jest.fn( ( tagName ) => {
|
||||
return createElementMockReturn[ tagName ];
|
||||
} );
|
||||
const createElementMock = jest.fn(
|
||||
( tagName ) => createElementMockReturn[ tagName ]
|
||||
);
|
||||
const createElement = document.createElement;
|
||||
document.createElement = createElementMock;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -110,21 +110,11 @@
|
|||
"@wordpress/notices": "1.12.0",
|
||||
"@wordpress/url": "2.13.0",
|
||||
"@wordpress/viewport": "2.15.1",
|
||||
"browser-filesaver": "1.1.1",
|
||||
"classnames": "2.2.6",
|
||||
"core-js": "2.6.11",
|
||||
"d3-axis": "1.0.12",
|
||||
"d3-format": "1.4.4",
|
||||
"d3-scale": "2.2.2",
|
||||
"d3-scale-chromatic": "1.5.0",
|
||||
"d3-selection": "1.4.1",
|
||||
"d3-shape": "1.3.7",
|
||||
"d3-time-format": "2.2.3",
|
||||
"debug": "4.1.1",
|
||||
"dompurify": "2.0.12",
|
||||
"emoji-flags": "1.3.0",
|
||||
"gridicons": "3.3.1",
|
||||
"history": "4.10.1",
|
||||
"interpolate-components": "1.1.1",
|
||||
"marked": "0.8.2",
|
||||
"memize": "^1.1.0",
|
||||
|
@ -161,7 +151,14 @@
|
|||
"@testing-library/react": "10.4.7",
|
||||
"@testing-library/react-hooks": "3.3.0",
|
||||
"@testing-library/user-event": "10.4.1",
|
||||
"@woocommerce/components": "file:packages/components",
|
||||
"@woocommerce/csv-export": "file:packages/csv-export",
|
||||
"@woocommerce/currency": "file:packages/currency",
|
||||
"@woocommerce/data": "file:packages/data",
|
||||
"@woocommerce/date": "file:packages/date",
|
||||
"@woocommerce/eslint-plugin": "file:packages/eslint-plugin",
|
||||
"@woocommerce/navigation": "file:packages/navigation",
|
||||
"@woocommerce/number": "file:packages/number",
|
||||
"@wordpress/babel-plugin-makepot": "2.1.3",
|
||||
"@wordpress/babel-preset-default": "4.10.0",
|
||||
"@wordpress/browserslist-config": "2.6.0",
|
||||
|
@ -194,7 +191,6 @@
|
|||
"jest-environment-jsdom-sixteen": "1.0.3",
|
||||
"lerna": "3.22.1",
|
||||
"lint-staged": "10.2.11",
|
||||
"locutus": "2.0.11",
|
||||
"merge-config": "2.0.0",
|
||||
"moment-timezone-data-webpack-plugin": "1.2.0",
|
||||
"node-sass": "4.13.1",
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"@woocommerce/currency": "2.0.0",
|
||||
"@woocommerce/date": "2.0.0",
|
||||
"@woocommerce/navigation": "4.0.0",
|
||||
"@wordpress/components": "8.5.0",
|
||||
"@wordpress/components": "10.0.0",
|
||||
"@wordpress/compose": "3.13.1",
|
||||
"@wordpress/date": "3.9.0",
|
||||
"@wordpress/dom": "2.9.0",
|
||||
|
@ -37,14 +37,14 @@
|
|||
"@wordpress/viewport": "2.15.1",
|
||||
"classnames": "2.2.6",
|
||||
"core-js": "2.6.11",
|
||||
"d3-axis": "^1.0.12",
|
||||
"d3-format": "^1.3.2",
|
||||
"d3-scale": "^2.1.2",
|
||||
"d3-scale-chromatic": "^1.3.3",
|
||||
"d3-selection": "^1.3.2",
|
||||
"d3-shape": "^1.2.2",
|
||||
"d3-time-format": "^2.1.3",
|
||||
"emoji-flags": "^1.2.0",
|
||||
"d3-axis": "1.0.12",
|
||||
"d3-format": "1.4.4",
|
||||
"d3-scale": "2.2.2",
|
||||
"d3-scale-chromatic": "1.5.0",
|
||||
"d3-selection": "1.4.1",
|
||||
"d3-shape": "1.3.7",
|
||||
"d3-time-format": "2.2.3",
|
||||
"emoji-flags": "1.3.0",
|
||||
"gridicons": "3.3.1",
|
||||
"interpolate-components": "1.1.1",
|
||||
"lodash": "4.17.15",
|
||||
|
|
Loading…
Reference in New Issue