@docusaurus/types
Advanced tools
Comparing version 2.0.0-alpha.a406a3c9a to 2.0.0-alpha.a8ee7fd3e
{ | ||
"name": "@docusaurus/types", | ||
"version": "2.0.0-alpha.a406a3c9a", | ||
"description": "Common used typings for Docusaurus packages", | ||
"version": "2.0.0-alpha.a8ee7fd3e", | ||
"description": "Common types for Docusaurus packages.", | ||
"main": "./src/index.js", | ||
@@ -22,3 +22,3 @@ "types": "./src/index.d.ts", | ||
}, | ||
"gitHead": "59f21d15a0678c652909ce332218f3d38b86ee81" | ||
"gitHead": "4223528fde82b750c89d4ba9e52cb782c2fe058e" | ||
} |
@@ -10,3 +10,3 @@ /** | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import {Loader, Configuration} from 'webpack'; | ||
import {Loader, Configuration, Stats} from 'webpack'; | ||
import {Command} from 'commander'; | ||
@@ -182,2 +182,9 @@ import {ParsedUrlQueryInput} from 'querystring'; | ||
/** | ||
* Same as `Props` but also has webpack stats appended. | ||
*/ | ||
export interface PropsPostBuild extends Props { | ||
stats: Stats.ToJsonOutput; | ||
} | ||
export interface PluginContentLoadedActions { | ||
@@ -211,3 +218,3 @@ addRoute(config: RouteConfig): void; | ||
routesLoaded?(routes: RouteConfig[]): void; // TODO remove soon, deprecated (alpha-60) | ||
postBuild?(props: Props): void; | ||
postBuild?(props: PropsPostBuild): void; | ||
postStart?(props: Props): void; | ||
@@ -230,2 +237,3 @@ configureWebpack?( | ||
getSwizzleComponentList?(): string[]; | ||
// TODO before/afterDevServer implementation | ||
@@ -232,0 +240,0 @@ // translations |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
11048
5
329
0
4