Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Update to 4.0, deprecate 2.8 #287

Merged
merged 3 commits into from
Apr 29, 2020
Merged

Update to 4.0, deprecate 2.8 #287

merged 3 commits into from
Apr 29, 2020

Conversation

sandersn
Copy link
Member

Also

  1. switch from definitelytyped-header-parser to @definitelytyped/header-parser, @definitelytyped/typescript-versions, @definitelytyped/utils.
  2. remove installer.ts for the same reason.

These dependencies bring a new way of tracking which TS versions have shipped under the "latest" tag vs shipped under the
"next" tag. That's important because dtslint tests only versions that have shipped under "latest", plus whatever is currently shipping under "next". It doesn't test any betas or RCs.

Note that the new dependencies are currently closed source. We're waiting on the MS open source legal office to OK the new repos.

Also switch from definitelytyped-header-parser to
@definitelytyped/header-parser,
@definitelytyped/typescript-versions,
@definitelytyped/utils.

This brings a couple of updates, principally a new way of tracking which
TS versions have shipped under the "latest" tag vs shipped under the
"next" tag. dtslint tests *only* versions that have shipped under
"latest", plus whatever is *currently* shipping under "next". It doesn't
test any betas or RCs.

Note that the new dependencies are currently closed source. We're
waiting on the MS open source legal office to OK the new repos.
@@ -186,15 +186,20 @@ function range(minVersion: TsVersion, maxVersion: TsVersion): ReadonlyArray<TsVe
assert(maxVersion === "local");
return ["local"];
}
Copy link
Member Author

Choose a reason for hiding this comment

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

this function is the only substantive change, from supported to shipped+latest.

tsconfig.json Outdated
@@ -13,7 +13,8 @@
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true
"strictNullChecks": true,
Copy link
Member Author

Choose a reason for hiding this comment

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

forgot that prettier doesn't run on this repo =(

Copy link
Contributor

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

Looks good

@sandersn sandersn merged commit f22a4c4 into master Apr 29, 2020
@sandersn sandersn deleted the update-to-4.0 branch April 29, 2020 15:10
Copy link
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.

🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants