Skip to content

Upgrade wordpress/* type dependencies#54203

Merged
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
sirreal:wordpress__packages/upgrade-dependencies
Jul 1, 2021
Merged

Upgrade wordpress/* type dependencies#54203
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
sirreal:wordpress__packages/upgrade-dependencies

Conversation

@sirreal
Copy link
Copy Markdown
Contributor

@sirreal sirreal commented Jul 1, 2021

Upgrade dependencies for @wordpress/* types.

When using several @wordpress/* type packages, they'll pull in stale (non-type) dependencies duplicating dependencies of the actual @wordpress/* package.

  • @wordpress/element
  • downshift
  • react-autosize-textarea
  • re-resizable

This updates all affected packages to the major version aligning with current dependencies:

No other changes have been made.


If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <>
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.

@sirreal sirreal marked this pull request as ready for review July 1, 2021 07:46
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Jul 1, 2021

@sirreal Thank you for submitting this PR!

This is a live comment which I will keep updated.

8 packages in this PR

Code Reviews

Because this PR edits multiple packages, it can be merged once it's reviewed by a DT maintainer.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ A DT maintainer needs to approve changes which affect more than one package

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 54203,
  "author": "sirreal",
  "headCommitOid": "3fc115b1018a7587314c74039ff5407eca30b735",
  "lastPushDate": "2021-07-01T07:43:20.000Z",
  "lastActivityDate": "2021-07-01T19:16:34.000Z",
  "mergeOfferDate": "2021-07-01T16:50:41.000Z",
  "mergeRequestDate": "2021-07-01T19:16:34.000Z",
  "mergeRequestUser": "sirreal",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "wordpress__block-editor",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__block-editor/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__block-editor/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford",
        "sirreal"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__blocks",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__blocks/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__blocks/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford",
        "sirreal"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__components",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__components/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__components/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford",
        "sirreal",
        "p-jackson",
        "saramarcondes"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__compose",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__compose/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__compose/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__edit-post",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__edit-post/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__edit-post/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__editor",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__editor/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__editor/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__media-utils",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__media-utils/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__media-utils/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "wordpress__plugins",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__plugins/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__plugins/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "orta",
      "date": "2021-07-01T16:49:52.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "dsifford",
      "date": "2021-07-01T13:18:56.000Z",
      "isMaintainer": false
    },
    {
      "type": "approved",
      "reviewer": "sarayourfriend",
      "date": "2021-07-01T12:49:39.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 872009408,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Copy Markdown
Contributor

Hey @sirreal,

😒 Your PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Please consider adding tests to cover the change you're making. Including tests allows this PR to be merged by yourself and the owners of this module.

This can potentially save days of time for you!

@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @dsifford @p-jackson @saramarcondes — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

Copy link
Copy Markdown
Contributor

@sarayourfriend sarayourfriend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@typescript-bot typescript-bot added the Other Approved This PR was reviewed and signed-off by a community member. label Jul 1, 2021
@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Jul 1, 2021
Copy link
Copy Markdown
Collaborator

@orta orta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly just version bump changes 👍🏻

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Jul 1, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

@sirreal Everything looks good here. Great job! I am ready to merge this PR (at 3fc115b) on your behalf.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

@sirreal
Copy link
Copy Markdown
Contributor Author

sirreal commented Jul 1, 2021

ready to merge

@typescript-bot typescript-bot merged commit 4e1a55e into DefinitelyTyped:master Jul 1, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__block-editor@6.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__blocks@9.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__components@14.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__compose@4.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__edit-post@4.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__editor@10.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__media-utils@2.0.0 to npm.

@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/wordpress__plugins@3.0.0 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Edits multiple packages Maintainer Approved Other Approved This PR was reviewed and signed-off by a community member. Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants