Skip to content

Commit

Permalink
chore(deps): update wordpress monorepo (#92571)
Browse files Browse the repository at this point in the history
* chore(deps): update wordpress monorepo

* Don't need TS update after all

* Explicitly import math

* Fix TS errors

* Turn @wordpress/i18n-no-flanking-whitespace & @wordpress/i18n-hyphenated-range into warnings.

* Fix dash

* Fix height of interval dropdown inside plan grid

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tim Broddin <tim@wannabes.be>
  • Loading branch information
3 people authored and niranjan-uma-shankar committed Sep 20, 2024
1 parent 68d88d5 commit 705bf4d
Show file tree
Hide file tree
Showing 61 changed files with 1,493 additions and 1,419 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,5 +562,7 @@ module.exports = {
// @TODO remove these lines once we fixed the warnings so
// they'll become errors for new code added to the codebase
'@tanstack/query/exhaustive-deps': 'warn',
'@wordpress/i18n-no-flanking-whitespace': 'warn',
'@wordpress/i18n-hyphenated-range': 'warn',
},
};
3 changes: 0 additions & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ packageExtensions:
"@signal-noise/stylelint-scales@2.0.3":
peerDependencies:
postcss: "*"
"@wordpress/stylelint-config@22.2.0":
peerDependencies:
postcss: "*"
fake-indexeddb@3.1.7:
peerDependencies:
core-js-bundle: "*"
Expand Down
2 changes: 1 addition & 1 deletion apps/blaze-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@automattic/components": "workspace:^",
"@automattic/i18n-utils": "workspace:^",
"@tanstack/react-query": "^5.15.5",
"@wordpress/data": "^10.2.0",
"@wordpress/data": "^10.7.0",
"calypso": "workspace:^",
"clsx": "^2.1.1",
"debug": "^4.3.4",
Expand Down
6 changes: 3 additions & 3 deletions apps/command-palette-wp-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"@automattic/command-palette": "workspace:^",
"@automattic/sites": "workspace:^",
"@tanstack/react-query": "^5.15.5",
"@wordpress/data": "^10.2.0",
"@wordpress/dom-ready": "^4.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/data": "^10.7.0",
"@wordpress/dom-ready": "^4.7.0",
"@wordpress/i18n": "^5.7.0",
"calypso": "workspace:^",
"i18n-calypso": "workspace:^",
"react": "^18.2.0",
Expand Down
14 changes: 7 additions & 7 deletions apps/happy-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"@automattic/wp-babel-makepot": "workspace:^",
"@automattic/wpcom-template-parts": "workspace:^",
"@emotion/styled": "^11.11.0",
"@wordpress/base-styles": "^5.2.0",
"@wordpress/block-editor": "^13.2.0",
"@wordpress/blocks": "^13.2.0",
"@wordpress/components": "^28.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/element": "^6.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/base-styles": "^5.7.0",
"@wordpress/block-editor": "^14.2.0",
"@wordpress/blocks": "^13.7.0",
"@wordpress/components": "^28.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/element": "^6.7.0",
"@wordpress/i18n": "^5.7.0",
"clsx": "^2.1.1",
"glob": "^7.1.6",
"i18n-calypso": "workspace:^",
Expand Down
14 changes: 7 additions & 7 deletions apps/help-center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"@automattic/help-center": "workspace:^",
"@automattic/i18n-utils": "workspace:^",
"@tanstack/react-query": "^5.15.5",
"@wordpress/components": "^28.2.0",
"@wordpress/compose": "^7.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/plugins": "^7.2.0",
"@wordpress/private-apis": "^1.2.0",
"@wordpress/components": "^28.7.0",
"@wordpress/compose": "^7.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/plugins": "^7.7.0",
"@wordpress/private-apis": "^1.7.0",
"postcss-prefix-selector": "^1.16.1"
},
"devDependencies": {
Expand All @@ -55,8 +55,8 @@
},
"peerDependencies": {
"@automattic/calypso-router": "workspace:^",
"@wordpress/data": "^10.2.0",
"@wordpress/element": "^6.2.0",
"@wordpress/data": "^10.7.0",
"@wordpress/element": "^6.7.0",
"postcss": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions apps/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@automattic/components": "workspace:^",
"@automattic/i18n-utils": "workspace:^",
"@automattic/webpack-extensive-lodash-replacement-plugin": "workspace:^",
"@wordpress/data": "^10.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/data": "^10.7.0",
"@wordpress/i18n": "^5.7.0",
"autoprefixer": "^10.2.5",
"calypso": "workspace:^",
"clsx": "^2.1.1",
Expand Down
26 changes: 13 additions & 13 deletions apps/o2-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
},
"dependencies": {
"@automattic/calypso-build": "workspace:^",
"@wordpress/api-fetch": "^7.2.0",
"@wordpress/base-styles": "^5.2.0",
"@wordpress/block-editor": "^13.2.0",
"@wordpress/blocks": "^13.2.0",
"@wordpress/components": "^28.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/editor": "^14.2.0",
"@wordpress/element": "^6.2.0",
"@wordpress/hooks": "^4.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/icons": "^10.2.0",
"@wordpress/is-shallow-equal": "^5.2.0",
"@wordpress/primitives": "^4.2.0",
"@wordpress/api-fetch": "^7.7.0",
"@wordpress/base-styles": "^5.7.0",
"@wordpress/block-editor": "^14.2.0",
"@wordpress/blocks": "^13.7.0",
"@wordpress/components": "^28.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/editor": "^14.7.0",
"@wordpress/element": "^6.7.0",
"@wordpress/hooks": "^4.7.0",
"@wordpress/i18n": "^5.7.0",
"@wordpress/icons": "^10.7.0",
"@wordpress/is-shallow-equal": "^5.7.0",
"@wordpress/primitives": "^4.7.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"moment": "^2.26.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/odyssey-stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"@automattic/calypso-url": "workspace:^",
"@automattic/components": "workspace:^",
"@tanstack/react-query": "^5.15.5",
"@wordpress/base-styles": "^5.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/icons": "^10.2.0",
"@wordpress/base-styles": "^5.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/icons": "^10.7.0",
"calypso": "workspace:^",
"clsx": "^2.1.1",
"debug": "^4.3.4",
Expand Down
10 changes: 5 additions & 5 deletions apps/whats-new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"@automattic/sites": "workspace:^",
"@automattic/whats-new": "workspace:^",
"@tanstack/react-query": "^5.15.5",
"@wordpress/components": "^28.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/element": "^6.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/plugins": "^7.2.0",
"@wordpress/components": "^28.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/element": "^6.7.0",
"@wordpress/i18n": "^5.7.0",
"@wordpress/plugins": "^7.7.0",
"calypso": "workspace:^",
"i18n-calypso": "workspace:^",
"react": "^18.2.0",
Expand Down
42 changes: 21 additions & 21 deletions apps/wpcom-block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@
"@automattic/calypso-url": "workspace:^",
"@automattic/typography": "workspace:^",
"@babel/runtime": "^7.24.5",
"@wordpress/api-fetch": "^7.2.0",
"@wordpress/base-styles": "^5.2.0",
"@wordpress/block-editor": "^13.2.0",
"@wordpress/blocks": "^13.2.0",
"@wordpress/components": "^28.2.0",
"@wordpress/compose": "^7.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/dom-ready": "^4.2.0",
"@wordpress/edit-post": "^8.2.0",
"@wordpress/edit-site": "^6.2.0",
"@wordpress/editor": "^14.2.0",
"@wordpress/element": "^6.2.0",
"@wordpress/hooks": "^4.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/icons": "^10.2.0",
"@wordpress/is-shallow-equal": "^5.2.0",
"@wordpress/plugins": "^7.2.0",
"@wordpress/private-apis": "^1.2.0",
"@wordpress/rich-text": "^7.2.0",
"@wordpress/router": "^1.2.0",
"@wordpress/url": "^4.2.0",
"@wordpress/api-fetch": "^7.7.0",
"@wordpress/base-styles": "^5.7.0",
"@wordpress/block-editor": "^14.2.0",
"@wordpress/blocks": "^13.7.0",
"@wordpress/components": "^28.7.0",
"@wordpress/compose": "^7.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/dom-ready": "^4.7.0",
"@wordpress/edit-post": "^8.7.0",
"@wordpress/edit-site": "^6.7.0",
"@wordpress/editor": "^14.7.0",
"@wordpress/element": "^6.7.0",
"@wordpress/hooks": "^4.7.0",
"@wordpress/i18n": "^5.7.0",
"@wordpress/icons": "^10.7.0",
"@wordpress/is-shallow-equal": "^5.7.0",
"@wordpress/plugins": "^7.7.0",
"@wordpress/private-apis": "^1.7.0",
"@wordpress/rich-text": "^7.7.0",
"@wordpress/router": "^1.7.0",
"@wordpress/url": "^4.7.0",
"debug": "^4.3.3",
"lodash": "^4.17.21",
"react": "^18.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const ImporterMigrateMessage: Step = ( { navigation } ) => {
{
icon: scheduled,
text: __(
`You'll get an update on the progress of your migration within 2-3 business days.`
`You'll get an update on the progress of your migration within 23 business days.`
),
},
];
Expand All @@ -114,7 +114,7 @@ const ImporterMigrateMessage: Step = ( { navigation } ) => {
{
icon: backup,
text: __(
`We'll update you on the progress of the migration, which usually takes 2-3 business days.`
`We'll update you on the progress of the migration, which usually takes 23 business days.`
),
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function EntrepreneurPlan( props: EntrepreneurPlanProps ) {
<div>
{ plan.term } { plan.discountText && <span>{ plan.discountText }</span> }
</div>
),
) as unknown as string,
};
} );

Expand Down Expand Up @@ -203,6 +203,7 @@ export function EntrepreneurPlan( props: EntrepreneurPlanProps ) {
className="period-select"
hideLabelFromVision
onChange={ onSelectChange }
label=""
/>
</div>
<Card>
Expand Down
38 changes: 19 additions & 19 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,25 +87,25 @@
"@tanstack/react-query": "^5.15.5",
"@tanstack/react-query-devtools": "^5.15.5",
"@tanstack/react-query-persist-client": "^5.15.5",
"@wordpress/a11y": "^4.2.0",
"@wordpress/api-fetch": "^7.2.0",
"@wordpress/base-styles": "^5.2.0",
"@wordpress/blocks": "^13.2.0",
"@wordpress/commands": "^1.2.0",
"@wordpress/components": "^28.2.0",
"@wordpress/compose": "^7.2.0",
"@wordpress/data": "^10.2.0",
"@wordpress/dataviews": "^4.2.0",
"@wordpress/dom": "^4.2.0",
"@wordpress/edit-post": "^8.2.0",
"@wordpress/element": "^6.2.0",
"@wordpress/html-entities": "^4.2.0",
"@wordpress/i18n": "^5.2.0",
"@wordpress/icons": "^10.2.0",
"@wordpress/is-shallow-equal": "^5.2.0",
"@wordpress/react-i18n": "^4.2.0",
"@wordpress/url": "^4.2.0",
"@wordpress/warning": "^3.2.0",
"@wordpress/a11y": "^4.7.0",
"@wordpress/api-fetch": "^7.7.0",
"@wordpress/base-styles": "^5.7.0",
"@wordpress/blocks": "^13.7.0",
"@wordpress/commands": "^1.7.0",
"@wordpress/components": "^28.7.0",
"@wordpress/compose": "^7.7.0",
"@wordpress/data": "^10.7.0",
"@wordpress/dataviews": "^4.3.0",
"@wordpress/dom": "^4.7.0",
"@wordpress/edit-post": "^8.7.0",
"@wordpress/element": "^6.7.0",
"@wordpress/html-entities": "^4.7.0",
"@wordpress/i18n": "^5.7.0",
"@wordpress/icons": "^10.7.0",
"@wordpress/is-shallow-equal": "^5.7.0",
"@wordpress/react-i18n": "^4.7.0",
"@wordpress/url": "^4.7.0",
"@wordpress/warning": "^3.7.0",
"autosize": "^4.0.4",
"body-parser": "^1.19.0",
"browser-filesaver": "^1.1.1",
Expand Down
6 changes: 4 additions & 2 deletions client/sites-dashboard/components/sites-sorting-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ export const SitesSortingDropdown = ( {
<NavigableMenu cycle={ false }>
<MenuItemsChoice
value={ currentSortingValue }
onSelect={ ( value: ( typeof choices )[ 0 ][ 'value' ] ) => {
onSitesSortingChange( parseSitesSorting( value ) );
onSelect={ ( value: string ) => {
onSitesSortingChange(
parseSitesSorting( value as ( typeof choices )[ 0 ][ 'value' ] )
);
onClose();
} }
choices={ choices }
Expand Down
Loading

0 comments on commit 705bf4d

Please sign in to comment.