Skip to content

[happyguestmx__web-utilities] Provide types for @happyguestmx/web-utilities#59523

Merged
andrewbranch merged 12 commits intoDefinitelyTyped:masterfrom
happyguestmx:master
Mar 31, 2022
Merged

[happyguestmx__web-utilities] Provide types for @happyguestmx/web-utilities#59523
andrewbranch merged 12 commits intoDefinitelyTyped:masterfrom
happyguestmx:master

Conversation

@HappyGuest
Copy link
Copy Markdown
Contributor

Provide types for @happyguestmx/web-utilities

Select one of these and delete the others:

If adding a new definition:

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration
  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • Represents shape of module/library correctly
  • tslint.json should contain { "extends": "@definitelytyped/dtslint/dt.json" }, and no additional rules.
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 28, 2022

@HappyGuest Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR adds a new definition, so it needs to be reviewed by a DT maintainer before it can be merged.

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 when there are new packages added

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": 59523,
  "author": "HappyGuest",
  "headCommitOid": "203da80a80172cc53cce8aec4cd3e3a0d4773da6",
  "mergeBaseOid": "7442d1be1371abb6ec2956f4e6b94d547a8ba712",
  "lastPushDate": "2022-03-30T23:13:16.000Z",
  "lastActivityDate": "2022-03-31T18:23:18.000Z",
  "mergeOfferDate": "2022-03-30T23:27:35.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "happyguestmx__web-utilities",
      "kind": "add",
      "files": [
        {
          "path": "types/happyguestmx__web-utilities/happyguestmx__web-utilities-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/happyguestmx__web-utilities/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/happyguestmx__web-utilities/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/happyguestmx__web-utilities/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [],
      "addedOwners": [
        "HappyGuest"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "andrewbranch",
      "date": "2022-03-30T23:26:57.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 1081210912,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the New Definition This PR creates a new definition package. label Mar 28, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @HappyGuest — you're the only owner, but it would still be good if you find someone to review this PR in the next few days, otherwise a maintainer will look at it. (And if you do find someone, maybe even recruit them to be a second owner to make future changes easier...)

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

@HappyGuest 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

@HappyGuest 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 Check Config Changes a module config files and removed The CI failed When GH Actions fails labels Mar 28, 2022
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Mar 28, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@HappyGuest 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

@HappyGuest 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 Check Config Changes a module config files labels Mar 28, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@HappyGuest 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 removed the The CI failed When GH Actions fails label Mar 29, 2022
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda';
declare module '@happyguestmx/web-utilities' {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There’s no need for this wrapper.

@typescript-bot typescript-bot added the Revision needed This PR needs code changes before it can be merged. label Mar 29, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@HappyGuest One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you!

@typescript-bot typescript-bot removed the Revision needed This PR needs code changes before it can be merged. label Mar 29, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@andrewbranch 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?

Copy link
Copy Markdown
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

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

Looks good after removing package.json

{
"private": true,
"dependencies": {}
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry I missed this, you can delete this file too.

@typescript-bot typescript-bot added the Revision needed This PR needs code changes before it can be merged. label Mar 30, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@HappyGuest One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you!

@typescript-bot typescript-bot removed the Revision needed This PR needs code changes before it can be merged. label Mar 30, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@andrewbranch 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 Mar 30, 2022
@Alvarez-P
Copy link
Copy Markdown
Contributor

Ready to merge

@andrewbranch
Copy link
Copy Markdown
Member

@typescript-bot we’re waiting

@andrewbranch
Copy link
Copy Markdown
Member

Oh, @Alvarez-P you can’t be ready to merge because you’re not @HappyGuest

@andrewbranch andrewbranch merged commit e11ae5d into DefinitelyTyped:master Mar 31, 2022
@HappyGuest
Copy link
Copy Markdown
Contributor Author

Ready to merge

@HappyGuest
Copy link
Copy Markdown
Contributor Author

Oh, @Alvarez-P you can’t be ready to merge because you’re not @HappyGuest

ty

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

Labels

Maintainer Approved New Definition This PR creates a new definition package. Self Merge This PR can now be self-merged by the PR author or an owner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants