@docusaurus/types
Advanced tools
Comparing version 2.0.0-alpha.27 to 2.0.0-alpha.28
{ | ||
"name": "@docusaurus/types", | ||
"version": "2.0.0-alpha.27", | ||
"version": "2.0.0-alpha.28", | ||
"description": "Common used typings for Docusaurus packages", | ||
@@ -13,5 +13,6 @@ "main": "./src/index.js", | ||
"@types/webpack": "^4.32.0", | ||
"commander": "^2.20.0", | ||
"querystring": "0.2.0" | ||
}, | ||
"gitHead": "0cf5a5bf4950d1e34296f02366b9d017820e0801" | ||
"gitHead": "87866c1d1d18e6f68fce476119191dcc5622b368" | ||
} |
import {Loader, Configuration} from 'webpack'; | ||
import {CommanderStatic} from 'commander'; | ||
import {ParsedUrlQueryInput} from 'querystring'; | ||
@@ -37,3 +38,3 @@ | ||
export interface DocusaurusContext { | ||
siteConfig?: Partial<DocusaurusConfig>; | ||
siteConfig?: DocusaurusConfig; | ||
} | ||
@@ -48,11 +49,17 @@ | ||
export interface CLIOptions { | ||
[option: string]: any; | ||
export interface StartCLIOptions { | ||
port: string; | ||
host: string; | ||
hotOnly: boolean; | ||
open: boolean; | ||
} | ||
export interface BuildCLIOptions { | ||
bundleAnalyzer: boolean; | ||
} | ||
export interface LoadContext { | ||
siteDir: string; | ||
generatedFilesDir: string; | ||
siteConfig: Partial<DocusaurusConfig>; | ||
cliOptions: CLIOptions; | ||
siteConfig: DocusaurusConfig; | ||
outDir: string; | ||
@@ -92,2 +99,3 @@ baseUrl: string; | ||
getClientModules?(): string[]; | ||
extendCli?(cli: CommanderStatic): any; | ||
} | ||
@@ -98,3 +106,3 @@ | ||
export interface ChunkRegistry { | ||
importStatement: string; | ||
loader: string; | ||
modulePath: string; | ||
@@ -101,0 +109,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4499
126
3
+ Addedcommander@^2.20.0
+ Addedcommander@2.20.3(transitive)