Skip to content

[wordpress__data] Updated typings for version 6.0.0#59511

Merged
typescript-bot merged 7 commits intoDefinitelyTyped:masterfrom
marekdedic:wordpress__data-react-dep-update
Apr 7, 2022
Merged

[wordpress__data] Updated typings for version 6.0.0#59511
typescript-bot merged 7 commits intoDefinitelyTyped:masterfrom
marekdedic:wordpress__data-react-dep-update

Conversation

@marekdedic
Copy link
Copy Markdown
Contributor

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 28, 2022

@marekdedic Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR 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
  • ✅ Only a DT maintainer can approve changes without tests

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": 59511,
  "author": "marekdedic",
  "headCommitOid": "f1d1c17e0391aedd7a433e35bb0b33c2a0a52e19",
  "mergeBaseOid": "dd762e31d8b7a6a469e09ad9f621eb21f864b058",
  "lastPushDate": "2022-03-31T09:44:08.000Z",
  "lastActivityDate": "2022-04-07T06:20:32.000Z",
  "mergeOfferDate": "2022-04-06T23:53:36.000Z",
  "mergeRequestDate": "2022-04-07T06:20:32.000Z",
  "mergeRequestUser": "marekdedic",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "wordpress__data",
      "kind": "edit",
      "files": [
        {
          "path": "types/wordpress__data/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/wordpress__data/package.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "dsifford",
        "sirreal"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "rbuckton",
      "date": "2022-04-06T23:52:57.000Z",
      "isMaintainer": true
    },
    {
      "type": "stale",
      "reviewer": "sirreal",
      "date": "2022-03-30T18:25:16.000Z",
      "abbrOid": "f8172a7"
    }
  ],
  "mainBotCommentID": 1080605692,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Copy Markdown
Contributor

Hey @marekdedic,

😒 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 typescript-bot added the Untested Change This PR does not touch tests label Mar 28, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @dsifford @sirreal — 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.

@typescript-bot
Copy link
Copy Markdown
Contributor

@marekdedic The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels Mar 28, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@marekdedic The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@marekdedic
Copy link
Copy Markdown
Contributor Author

Ok, I don'ŧ know why, but tests for multiple WP packages are broken. Should I try to fix them in this PR? They were broken before I started doing anything, however, I'm okay with fixing them - but that would make this PR touch several packages :/

@marekdedic
Copy link
Copy Markdown
Contributor Author

This is probably related to #59550...

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Mar 30, 2022
@DangerBotOSS
Copy link
Copy Markdown

DangerBotOSS commented Mar 30, 2022

Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files.
The check for missing properties isn't always right, so take this list as advice, not a requirement.

wordpress__data (unpkg)

was missing the following properties:

  1. AsyncModeProvider
  2. controls

Generated by 🚫 dangerJS against f1d1c17

@marekdedic
Copy link
Copy Markdown
Contributor Author

Seems like #59550 fixed the CI issues 🎉

Copy link
Copy Markdown
Contributor

@sirreal sirreal left a comment

Choose a reason for hiding this comment

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

I'm comfortable with redux upgrade and package bump to 6.0, I'd be happy to approve that.

Can you provide some details about the other changes? Did the API change? Were these missing? I haven't been following @wordpress/data closely so I'm not as comfortable reviewing those bits.

@marekdedic
Copy link
Copy Markdown
Contributor Author

Hi,
thanks for the correction in package version. As for the API change, see the changelog, the changes are done based on that and the package source.

@typescript-bot
Copy link
Copy Markdown
Contributor

@sirreal Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

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

@marekdedic: Everything looks good here. I am ready to merge this PR (at f1d1c17) on your behalf whenever you think it's ready.

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! ❤️

(@dsifford, @sirreal: you can do this too.)

@marekdedic
Copy link
Copy Markdown
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 74e342c into DefinitelyTyped:master Apr 7, 2022
@marekdedic marekdedic deleted the wordpress__data-react-dep-update branch April 7, 2022 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Approved 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