@speedy-js/speedy-types
Advanced tools
Comparing version 0.8.0-1 to 0.8.0-3
@@ -7,13 +7,10 @@ import { AsyncSeriesBailHook, AsyncSeriesHook, AsyncSeriesWaterfallHook, SyncHook } from 'tapable'; | ||
export interface ISpeedyBundler { | ||
name?: string; | ||
compilation: IBundlerBase; | ||
hooks: { | ||
/** | ||
* initialization. | ||
* Asynchronous initialization. Executed after normalized `buildConfig` and `plugins`. | ||
*/ | ||
initialize: SyncHook<[]>; | ||
initialize: AsyncSeriesHook<[], void>; | ||
/** | ||
* asynchronous initialization. | ||
*/ | ||
initializeAsync: AsyncSeriesBailHook<[], void>; | ||
/** | ||
* modify environment variables. | ||
@@ -59,2 +56,3 @@ */ | ||
afterDone: SyncHook<ISpeedyBundler>; | ||
childCompiler: AsyncSeriesHook<[ISpeedyBundler]>; | ||
/** | ||
@@ -65,3 +63,3 @@ * bundler 关闭前触发 | ||
}; | ||
createChildCompiler(config: CLIConfig): Promise<ISpeedyBundler>; | ||
createChildCompiler(config: CLIConfig, name?: string): Promise<ISpeedyBundler>; | ||
config: BuildConfig; | ||
@@ -68,0 +66,0 @@ plugins: SpeedyPlugin[]; |
@@ -11,3 +11,1 @@ export * from './style'; | ||
export * from './input'; | ||
export * from './import'; | ||
export * from './dangerZone'; |
@@ -11,4 +11,2 @@ export * from './style'; | ||
export * from './input'; | ||
export * from './import'; | ||
export * from './dangerZone'; | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,2 @@ import type { DeepPartial } from 'utility-types'; | ||
import type { HtmlOptions } from './html'; | ||
import type { DangerZone } from './dangerZone'; | ||
interface UserConfigOptional { | ||
@@ -96,9 +95,15 @@ /** | ||
metafile: boolean; | ||
stats: boolean | 'server'; | ||
/** | ||
* Generate stats for analysis, Default is `false`; | ||
* @type {boolean} - Only generate `stat.json`. | ||
* @type {'server'} - Generate `stat.json` and open it in browser. | ||
* @type {Record<string, any>} - Use `server` and configure it. | ||
*/ | ||
stats: boolean | 'server' | { | ||
/** | ||
* Open Browser auto, default is `true`. | ||
*/ | ||
openBrowser?: boolean; | ||
}; | ||
}; | ||
/** | ||
* You probably don't need to use these options unless you know what you are doing! | ||
* These options normally impairment your build performance severely | ||
*/ | ||
danger: DangerZone; | ||
} | ||
@@ -105,0 +110,0 @@ interface UserConfigRequired { |
{ | ||
"name": "@speedy-js/speedy-types", | ||
"version": "0.8.0-1", | ||
"version": "0.8.0-3", | ||
"description": "", | ||
@@ -23,3 +23,2 @@ "source": "src/index.ts", | ||
"dependencies": { | ||
"@types/babel__core": "7.1.16", | ||
"@types/fs-extra": "9.0.13", | ||
@@ -46,3 +45,7 @@ "@types/node": "16.10.9", | ||
}, | ||
"gitHead": "a00090e8f19c01de8537fe0779c96d4c1c8c319c" | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/", | ||
"access": "public" | ||
}, | ||
"gitHead": "273558a1d9856fad6639b741dcc507d2779cf869" | ||
} |
Sorry, the diff of this file is not supported yet
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
7
27117
68
729
- Removed@types/babel__core@7.1.16
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@types/babel__core@7.1.16(transitive)
- Removed@types/babel__generator@7.6.8(transitive)
- Removed@types/babel__template@7.4.4(transitive)
- Removed@types/babel__traverse@7.20.6(transitive)