mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
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:
parent
e8e16a45d3
commit
ab3ebdad39
28 changed files with 124 additions and 86 deletions
6
packages/docusaurus-types/src/index.d.ts
vendored
6
packages/docusaurus-types/src/index.d.ts
vendored
|
@ -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'};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue