1+ // @public
12export function addSuppression ( str : string ) : void ;
23
4+ // @public
35class CleanTask extends GulpTask < void > {
46 constructor ( ) ;
57 public executeTask ( gulp : gulp . Gulp ,
68 completeCallback : ( result ?: Object ) => void ) : void ;
79}
810
11+ // @public
912class CopyTask extends GulpTask < ICopyConfig > {
1013 constructor ( ) ;
1114 public executeTask ( gulp : gulp . Gulp ,
@@ -14,29 +17,40 @@ class CopyTask extends GulpTask<ICopyConfig> {
1417 public loadSchema ( ) : Object ;
1518}
1619
20+ // @public
1721export function coverageData ( coverage : number , threshold : number , filePath : string ) : void ;
1822
23+ // @public
1924export function error ( ...args : Array < string | Chalk . ChalkChain > ) : void ;
2025
26+ // @public
2127export function fileError ( taskName : string , filePath : string , line : number , column : number , errorCode : string , message : string ) : void ;
2228
29+ // @public
2330export function fileLog ( write : ( text : string ) => void , taskName : string , filePath : string , line : number , column : number , errorCode : string , message : string ) : void ;
2431
32+ // @public
2533export function fileWarning ( taskName : string , filePath : string , line : number , column : number , errorCode : string , message : string ) : void ;
2634
35+ // @public
2736export function functionalTestRun ( name : string , result : TestResultState , duration : number ) : void ;
2837
38+ // @public
2939class GenerateShrinkwrapTask extends GulpTask < void > {
3040 constructor ( ) ;
3141 public executeTask ( gulp : gulpType . Gulp , completeCallback : ( result ?: Object ) => void ) : NodeJS . ReadWriteStream ;
3242}
3343
44+ // @public
3445export function getConfig ( ) : IBuildConfig ;
3546
47+ // @public
3648export function getErrors ( ) : string [ ] ;
3749
50+ // @public
3851export function getWarnings ( ) : string [ ] ;
3952
53+ // @public
4054class GulpTask < TASK_CONFIG > implements IExecutable {
4155 protected _getConfigFilePath ( ) : string ;
4256 public buildConfig : IBuildConfig ;
@@ -67,7 +81,7 @@ class GulpTask<TASK_CONFIG> implements IExecutable {
6781 public taskConfig : TASK_CONFIG ;
6882}
6983
70- // (undocumented)
84+ // @public (undocumented)
7185interface IBuildConfig {
7286 args ?: {
7387 [ name : string ] : string | boolean
@@ -97,20 +111,22 @@ interface IBuildConfig {
97111 verbose ?: boolean ;
98112}
99113
114+ // @public
100115interface ICopyConfig {
101116 copyTo : {
102117 [ destPath : string ] : string [ ] ;
103118 }
104119 shouldFlatten ?: boolean ;
105120}
106121
122+ // @public
107123interface ICustomGulpTask {
108124 // WARNING: The type "GulpProxy" needs to be exported by the package (e.g. added to index.ts)
109125 // (undocumented)
110126 ( gulp : gulp . Gulp | GulpProxy , buildConfig : IBuildConfig , done : ( failure ?: Object ) => void ) : Promise < Object > | NodeJS . ReadWriteStream | void ;
111127}
112128
113- // (undocumented)
129+ // @public (undocumented)
114130interface IExecutable {
115131 execute : ( config : IBuildConfig ) => Promise < void > ;
116132 getCleanMatch ?: ( config : IBuildConfig , taskConfig ?: any ) => string [ ] ;
@@ -119,36 +135,48 @@ interface IExecutable {
119135 onRegister ?: ( ) => void ;
120136}
121137
138+ // @public
122139export function initialize ( gulp : gulp . Gulp ) : void ;
123140
141+ // @public
124142export function log ( ...args : Array < string | Chalk . ChalkChain > ) : void ;
125143
144+ // @public
126145export function logSummary ( value : string ) : void ;
127146
147+ // @public
128148export function mergeConfig ( config : IBuildConfig ) : void ;
129149
150+ // @public
130151export function parallel ( ...tasks : Array < IExecutable [ ] | IExecutable > ) : IExecutable ;
131152
153+ // @public
132154export function replaceConfig ( config : IBuildConfig ) : void ;
133155
134156// @internal
135157export function reset ( ) : void ;
136158
159+ // @public
137160class SchemaValidator {
138161 public static readAndValidateJson < TResult > ( dataFilePath : string , schemaFilePath : string ) : TResult ;
139162 // (undocumented)
140163 public static readCommentedJsonFile < TResult > ( filename : string ) : TResult ;
141164 public static validate ( data : Object , schema : Object , dataFilePath ?: string ) : void ;
142165}
143166
167+ // @public
144168export function serial ( ...tasks : Array < IExecutable [ ] | IExecutable > ) : IExecutable ;
145169
170+ // @public
146171export function setConfig ( config : IBuildConfig ) : void ;
147172
173+ // @public
148174export function subTask ( taskName : string , fn : ICustomGulpTask ) : IExecutable ;
149175
176+ // @public
150177export function task ( taskName : string , task : IExecutable ) : IExecutable ;
151178
179+ // @public
152180enum TestResultState {
153181 // (undocumented)
154182 Failed ,
@@ -160,15 +188,19 @@ enum TestResultState {
160188 Skipped
161189}
162190
191+ // @public
163192class ValidateShrinkwrapTask extends GulpTask < void > {
164193 constructor ( ) ;
165194 public executeTask ( gulp : gulpType . Gulp ) : NodeJS . ReadWriteStream ;
166195}
167196
197+ // @public
168198export function verbose ( ...args : Array < string | Chalk . ChalkChain > ) : void ;
169199
200+ // @public
170201export function warn ( ...args : Array < string | Chalk . ChalkChain > ) : void ;
171202
203+ // @public
172204export function watch ( watchMatch : string | string [ ] , task : IExecutable ) : IExecutable ;
173205
174206// WARNING: Unsupported export: clean
0 commit comments