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
[d3-path] Update types to v2.0 #48243
[d3-path] Update types to v2.0 #48243
Conversation
@Methuselah96 Thank you for submitting this PR! This is a live comment which I will keep updated. 3 packages in this PRCode ReviewsBecause this PR edits multiple packages, it can be merged once it's reviewed by a DT maintainer. Status
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": 48243,
"author": "Methuselah96",
"owners": [
"tomwanzek",
"gustavderdrache",
"borisyankov",
"denisname",
"Methuselah96"
],
"dangerLevel": "MultiplePackagesEdited",
"headCommitAbbrOid": "77ee165",
"headCommitOid": "77ee165c5596092ca7bf4cdae5b9d9dbc02cbfb3",
"mergeIsRequested": true,
"stalenessInDays": 0,
"lastPushDate": "2020-09-29T22:25:12.000Z",
"lastCommentDate": "2020-09-29T22:50:00.000Z",
"maintainerBlessed": false,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48243/files",
"hasMergeConflict": false,
"authorIsOwner": true,
"isFirstContribution": false,
"popularityLevel": "Popular",
"newPackages": [],
"packages": [
"d3-path",
"d3-shape",
"d3"
],
"files": [
{
"path": "types/d3-path/index.d.ts",
"kind": "definition",
"package": "d3-path"
},
{
"path": "types/d3-path/v1/d3-path-tests.ts",
"kind": "test",
"package": "d3-path"
},
{
"path": "types/d3-path/v1/index.d.ts",
"kind": "definition",
"package": "d3-path"
},
{
"path": "types/d3-path/v1/tsconfig.json",
"kind": "package-meta",
"package": "d3-path",
"suspect": "created"
},
{
"path": "types/d3-path/v1/tslint.json",
"kind": "package-meta",
"package": "d3-path",
"suspect": "not the required form"
},
{
"path": "types/d3-shape/index.d.ts",
"kind": "definition",
"package": "d3-shape"
},
{
"path": "types/d3-shape/tsconfig.json",
"kind": "package-meta",
"package": "d3-shape",
"suspect": "changes outside of \"files\" list"
},
{
"path": "types/d3/tsconfig.json",
"kind": "package-meta",
"package": "d3",
"suspect": "changes outside of \"files\" list"
},
{
"path": "types/d3/v4/tsconfig.json",
"kind": "package-meta",
"package": "d3",
"suspect": "changes outside of \"files\" list"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"lastReviewDate": "2020-09-29T22:46:50.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 4,
"isChangesRequested": false
} |
🔔 @tomwanzek @gustavderdrache @borisyankov @denisname — please review this PR in the next few days. Be sure to explicitly select |
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? d3-path/v*Comparison details for d3-path/* 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. d3-path/v*Comparison details for d3-path/* 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. d3-shape/v*Comparison details for d3-shape/* 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. d3/v*Comparison details for d3/* 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. d3/v*Comparison details for d3/* 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. d3/v*Comparison details for d3/* 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not actually verifying that all of the v1 files are straight copies. Please let me know if that's ever not the case.
@amcasey About half of them are not straight copies. I'll add a comment to each of them noting whether they are straight copies or not. |
v2 is a straight copy of v1. |
@amcasey 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? |
@Methuselah96, sorry, I was unclear - I actually meant that I was assuming the new contents of the v1 folder were directly copied from the root folder (and not, for some reason, modified). Fortunately, it's easy to tell when v2 is not a straight copy of v1. 😄 |
@amcasey Makes sense. Yes, they're all directly copied, sorry for my misunderstanding. |
@Methuselah96 Everything looks good here. Great job! I am ready to merge this PR on your behalf. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ |
Ready to merge |
I just published |
I just published |
I just published |
I just published |
I just published |
Please fill in this template.
npm test YOUR_PACKAGE_NAME
.)npm run lint package-name
(ortsc
if notslint.json
is present).If changing an existing definition:
tslint.json
containing{ "extends": "dtslint/dt.json" }
. If for reason the any rule need to be disabled, disable it for that line using// tslint:disable-next-line [ruleName]
and not for whole package so that the need for disabling can be reviewed.Related: #38939