chore(v2): pin exact dependency versions (#3386)

* Attempt to pin all dependency versions exactly for https://github.com/facebook/docusaurus/issues/3371

* warn if @docusaurus package versions mismatch

* fix yarn lock
This commit is contained in:
Sébastien Lorber 2020-09-02 11:42:17 +02:00 committed by GitHub
parent e8e16a45d3
commit ab3ebdad39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 124 additions and 86 deletions

View file

@ -57,7 +57,11 @@ export interface DocusaurusConfig {
* - `type: 'synthetic'`, docusaurus generated internal plugin.
*/
export type DocusaurusPluginVersionInformation =
| {readonly type: 'package'; readonly version?: string}
| {
readonly type: 'package';
readonly name?: string;
readonly version?: string;
}
| {readonly type: 'project'}
| {readonly type: 'local'}
| {readonly type: 'synthetic'};