Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lockfile-info: create types #58063

Merged
merged 1 commit into from
Jan 9, 2022

Conversation

ljharb
Copy link
Contributor

@ljharb ljharb commented Jan 8, 2022

Please fill in this template.

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
Contributor

typescript-bot commented Jan 8, 2022

@ljharb 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 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": 58063,
  "author": "ljharb",
  "headCommitOid": "843ca936f509a0f9f394240b3fac7eb9eb625d1a",
  "mergeBaseOid": "2d894b0917f11263c7bf6e6ae42f6070c67ff3b0",
  "lastPushDate": "2022-01-08T21:32:14.000Z",
  "lastActivityDate": "2022-01-09T15:44:48.000Z",
  "mergeOfferDate": "2022-01-09T12:26:29.000Z",
  "mergeRequestDate": "2022-01-09T15:44:48.000Z",
  "mergeRequestUser": "ljharb",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "lockfile-info",
      "kind": "add",
      "files": [
        {
          "path": "types/lockfile-info/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lockfile-info/lockfile-info-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/lockfile-info/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/lockfile-info/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [],
      "addedOwners": [
        "ljharb"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "peterblazejewicz",
      "date": "2022-01-09T12:25:50.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 1007899490,
  "ciResult": "pass"
}

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

typescript-bot commented Jan 8, 2022

🔔 @ljharb — 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
Copy link
Contributor

@peterblazejewicz 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 the The CI failed When GH Actions fails label Jan 8, 2022
@typescript-bot
Copy link
Contributor

@ljharb 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 Jan 8, 2022
@typescript-bot
Copy link
Contributor

@peterblazejewicz 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
Member

@peterblazejewicz peterblazejewicz left a comment

Choose a reason for hiding this comment

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

LGTM!
@ljharb thx!

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

@ljharb: Everything looks good here. I am ready to merge this PR (at 843ca93) 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! ❤️

@ljharb
Copy link
Contributor Author

ljharb commented Jan 9, 2022

Ready to merge

@typescript-bot typescript-bot merged commit 07f8276 into DefinitelyTyped:master Jan 9, 2022
@ljharb ljharb deleted the lockfile-info branch January 9, 2022 15:50
martin-badin pushed a commit to martin-badin/DefinitelyTyped that referenced this pull request Feb 23, 2022
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.

3 participants