just-scripts 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +42 -1
- package/CHANGELOG.md +13 -2
- package/api-extractor.json +4 -0
- package/etc/just-scripts.api.md +538 -0
- package/lib/copy/CopyInstruction.d.ts +1 -1
- package/lib/copy/CopyInstruction.js +1 -1
- package/lib/tasks/apiExtractorTask.d.ts +1 -1
- package/lib/tasks/apiExtractorTask.d.ts.map +1 -1
- package/package.json +14 -12
- package/src/copy/CopyInstruction.ts +1 -1
- package/src/tasks/apiExtractorTask.ts +1 -1
- package/lib/tasks/apiExtractorTypes.d.ts +0 -1022
- package/lib/tasks/apiExtractorTypes.d.ts.map +0 -1
- package/lib/tasks/apiExtractorTypes.js +0 -7
- package/lib/tasks/apiExtractorTypes.js.map +0 -1
- package/src/tasks/apiExtractorTypes.ts +0 -1049
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,48 @@
|
|
|
2
2
|
"name": "just-scripts",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 12 Sep 2023 08:01:58 GMT",
|
|
6
|
+
"version": "2.2.1",
|
|
7
|
+
"tag": "just-scripts_v2.2.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "elcraig@microsoft.com",
|
|
12
|
+
"package": "just-scripts",
|
|
13
|
+
"commit": "5b4e7073ffd1f06a7383deccee6883aa7e63342c",
|
|
14
|
+
"comment": "Remove local copy of API Extractor types"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "renovate@whitesourcesoftware.com",
|
|
18
|
+
"package": "just-scripts",
|
|
19
|
+
"commit": "e849046a3d1e5c1b4c1a81e12c400391a108323e",
|
|
20
|
+
"comment": "Update dependency fs-extra to v11"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "just-scripts",
|
|
25
|
+
"comment": "Bump just-scripts-utils to v2.0.1",
|
|
26
|
+
"commit": "not available"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "just-scripts",
|
|
31
|
+
"comment": "Bump just-task to v1.8.0",
|
|
32
|
+
"commit": "not available"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"none": [
|
|
36
|
+
{
|
|
37
|
+
"author": "elcraig@microsoft.com",
|
|
38
|
+
"package": "just-scripts",
|
|
39
|
+
"commit": "06eaab127501104e008ace0c34bd8dfb6d0d2a51",
|
|
40
|
+
"comment": "Unpin dev deps"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"date": "Sat, 19 Aug 2023 08:01:49 GMT",
|
|
6
47
|
"tag": "just-scripts_v2.2.0",
|
|
7
48
|
"version": "2.2.0",
|
|
8
49
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - just-scripts
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 12 Sep 2023 08:01:58 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.2.1
|
|
8
|
+
|
|
9
|
+
Tue, 12 Sep 2023 08:01:58 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Remove local copy of API Extractor types (elcraig@microsoft.com)
|
|
14
|
+
- Update dependency fs-extra to v11 (renovate@whitesourcesoftware.com)
|
|
15
|
+
- Bump just-scripts-utils to v2.0.1
|
|
16
|
+
- Bump just-task to v1.8.0
|
|
17
|
+
|
|
7
18
|
## 2.2.0
|
|
8
19
|
|
|
9
|
-
Sat, 19 Aug 2023 08:01:
|
|
20
|
+
Sat, 19 Aug 2023 08:01:49 GMT
|
|
10
21
|
|
|
11
22
|
### Minor changes
|
|
12
23
|
|
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
## API Report File for "just-scripts"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="node" />
|
|
8
|
+
|
|
9
|
+
import type * as ApiExtractorTypes from '@microsoft/api-extractor';
|
|
10
|
+
import type { BuildOptions } from 'esbuild';
|
|
11
|
+
import { Configuration } from 'webpack';
|
|
12
|
+
import { spawn } from 'just-scripts-utils';
|
|
13
|
+
import { SpawnOptions } from 'child_process';
|
|
14
|
+
import { TaskFunction } from 'just-task';
|
|
15
|
+
import * as ts from 'typescript';
|
|
16
|
+
import * as webpackMerge from 'webpack-merge';
|
|
17
|
+
|
|
18
|
+
// @public
|
|
19
|
+
export interface ApiExtractorOptions extends ApiExtractorTypes.IExtractorInvokeOptions {
|
|
20
|
+
configJsonFilePath?: string;
|
|
21
|
+
// @deprecated (undocumented)
|
|
22
|
+
fixNewlines?: boolean;
|
|
23
|
+
onConfigLoaded?: (config: ApiExtractorTypes.IConfigFile) => void;
|
|
24
|
+
onResult?: (result: any, extractorOptions: any) => void;
|
|
25
|
+
projectFolder?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// @public
|
|
29
|
+
export function apiExtractorUpdateTask(options: ApiExtractorOptions): TaskFunction;
|
|
30
|
+
|
|
31
|
+
// Warning: (ae-forgotten-export) The symbol "Omit_2" needs to be exported by the entry point index.d.ts
|
|
32
|
+
//
|
|
33
|
+
// @public @deprecated (undocumented)
|
|
34
|
+
export function apiExtractorUpdateTask(configJsonFilePath: string, extractorOptions: Omit_2<ApiExtractorOptions, 'configJsonFilePath'>): TaskFunction;
|
|
35
|
+
|
|
36
|
+
// @public (undocumented)
|
|
37
|
+
export function apiExtractorVerifyTask(options: ApiExtractorOptions): TaskFunction;
|
|
38
|
+
|
|
39
|
+
// @public @deprecated (undocumented)
|
|
40
|
+
export function apiExtractorVerifyTask(configJsonFilePath: string, extractorOptions: Omit_2<ApiExtractorOptions, 'configJsonFilePath'>): TaskFunction;
|
|
41
|
+
|
|
42
|
+
// @public (undocumented)
|
|
43
|
+
export const basicWebpackConfig: Configuration;
|
|
44
|
+
|
|
45
|
+
// @public (undocumented)
|
|
46
|
+
export const basicWebpackServeConfig: Configuration;
|
|
47
|
+
|
|
48
|
+
// @public (undocumented)
|
|
49
|
+
export function cleanTask(options?: CleanTaskOptions): TaskFunction;
|
|
50
|
+
|
|
51
|
+
// @public @deprecated (undocumented)
|
|
52
|
+
export function cleanTask(paths?: string[], limit?: number): TaskFunction;
|
|
53
|
+
|
|
54
|
+
// @public (undocumented)
|
|
55
|
+
export interface CleanTaskOptions {
|
|
56
|
+
limit?: number;
|
|
57
|
+
paths?: string[];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// @public (undocumented)
|
|
61
|
+
export interface CopyConfig {
|
|
62
|
+
// (undocumented)
|
|
63
|
+
copyInstructions: CopyInstruction[];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// @public
|
|
67
|
+
function copyFilesInDirectory(sourceDirectoryPath: string, outputDirectoryPath: string, filterFunction?: (file: string) => boolean, noSymlinks?: boolean): CopyInstruction[];
|
|
68
|
+
|
|
69
|
+
// @public
|
|
70
|
+
function copyFilesToDestinationDirectory(sourceFilePaths: string | string[], destinationDirectory: string, noSymlinks?: boolean): CopyInstruction[];
|
|
71
|
+
|
|
72
|
+
// @public
|
|
73
|
+
function copyFilesToDestinationDirectoryWithRename(instrs: {
|
|
74
|
+
sourceFilePath: string;
|
|
75
|
+
destinationName: string;
|
|
76
|
+
}[], destinationDirectory: string, noSymlinks?: boolean): CopyInstruction[];
|
|
77
|
+
|
|
78
|
+
// @public
|
|
79
|
+
function copyFileToDestinationDirectoryWithRename(sourceFilePath: string, destinationName: string, destinationDirectory: string, noSymlink?: boolean): CopyInstruction[];
|
|
80
|
+
|
|
81
|
+
// @public (undocumented)
|
|
82
|
+
export interface CopyInstruction {
|
|
83
|
+
destinationFilePath: string;
|
|
84
|
+
noSymlink?: boolean;
|
|
85
|
+
sourceFilePath: string | string[];
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare namespace copyInstructions {
|
|
89
|
+
export {
|
|
90
|
+
copyFilesToDestinationDirectory,
|
|
91
|
+
copyFileToDestinationDirectoryWithRename,
|
|
92
|
+
copyFilesToDestinationDirectoryWithRename,
|
|
93
|
+
copyFilesInDirectory,
|
|
94
|
+
mergeFiles,
|
|
95
|
+
CopyInstruction,
|
|
96
|
+
CopyConfig
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export { copyInstructions }
|
|
100
|
+
|
|
101
|
+
// @public
|
|
102
|
+
export function copyInstructionsTask(config?: CopyConfig): TaskFunction;
|
|
103
|
+
|
|
104
|
+
// @public (undocumented)
|
|
105
|
+
export function copyTask(options: CopyTaskOptions): TaskFunction;
|
|
106
|
+
|
|
107
|
+
// @public @deprecated (undocumented)
|
|
108
|
+
export function copyTask(paths: string[] | undefined, dest: string, limit?: number): TaskFunction;
|
|
109
|
+
|
|
110
|
+
// @public (undocumented)
|
|
111
|
+
export interface CopyTaskOptions {
|
|
112
|
+
dest: string;
|
|
113
|
+
limit?: number;
|
|
114
|
+
paths?: string[];
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// @public (undocumented)
|
|
118
|
+
export interface CreateOptions {
|
|
119
|
+
cwd?: string;
|
|
120
|
+
dereference?: boolean;
|
|
121
|
+
entries?: string[];
|
|
122
|
+
file: string;
|
|
123
|
+
filter?: (path: string, header: EntryHeader) => boolean;
|
|
124
|
+
gzip?: boolean | {
|
|
125
|
+
level?: number;
|
|
126
|
+
memLevel?: number;
|
|
127
|
+
};
|
|
128
|
+
map?: (header: EntryHeader) => EntryHeader;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Warning: (ae-forgotten-export) The symbol "CssLoaderOptions" needs to be exported by the entry point index.d.ts
|
|
132
|
+
//
|
|
133
|
+
// @public (undocumented)
|
|
134
|
+
export const createStylesOverlay: (options?: CssLoaderOptions) => Partial<Configuration>;
|
|
135
|
+
|
|
136
|
+
// @public
|
|
137
|
+
export function createTarTask(options?: CreateOptions): TaskFunction;
|
|
138
|
+
|
|
139
|
+
// @public (undocumented)
|
|
140
|
+
interface CssLoaderOptions {
|
|
141
|
+
// (undocumented)
|
|
142
|
+
localIdentName?: string;
|
|
143
|
+
// (undocumented)
|
|
144
|
+
modules?: boolean;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// @public (undocumented)
|
|
148
|
+
export function defaultCleanPaths(): string[];
|
|
149
|
+
|
|
150
|
+
// @public (undocumented)
|
|
151
|
+
export const displayBailoutOverlay: () => Partial<Configuration>;
|
|
152
|
+
|
|
153
|
+
// @public (undocumented)
|
|
154
|
+
export interface EntryHeader {
|
|
155
|
+
// (undocumented)
|
|
156
|
+
devmajor: number;
|
|
157
|
+
// (undocumented)
|
|
158
|
+
devminor: number;
|
|
159
|
+
// (undocumented)
|
|
160
|
+
gid: number;
|
|
161
|
+
// (undocumented)
|
|
162
|
+
gname: string;
|
|
163
|
+
linkname: string;
|
|
164
|
+
mode: number;
|
|
165
|
+
mtime: Date;
|
|
166
|
+
// (undocumented)
|
|
167
|
+
name: string;
|
|
168
|
+
// (undocumented)
|
|
169
|
+
size: number;
|
|
170
|
+
type: 'file' | 'link' | 'symlink' | 'directory' | 'block-device' | 'character-device' | 'fifo' | 'contiguous-file';
|
|
171
|
+
// (undocumented)
|
|
172
|
+
uid: number;
|
|
173
|
+
// (undocumented)
|
|
174
|
+
uname: string;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// @public (undocumented)
|
|
178
|
+
export type EsbuildBuildOptions = BuildOptions;
|
|
179
|
+
|
|
180
|
+
// @public
|
|
181
|
+
export function esbuildTask(options?: EsbuildBuildOptions): TaskFunction;
|
|
182
|
+
|
|
183
|
+
// @public (undocumented)
|
|
184
|
+
export interface EsbuildTransformOptions {
|
|
185
|
+
// (undocumented)
|
|
186
|
+
esbuildOptions: BuildOptions;
|
|
187
|
+
// (undocumented)
|
|
188
|
+
include: string[] | string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// @public (undocumented)
|
|
192
|
+
export function eslintTask(options?: EsLintTaskOptions): TaskFunction;
|
|
193
|
+
|
|
194
|
+
// @public
|
|
195
|
+
export interface EsLintTaskOptions {
|
|
196
|
+
// (undocumented)
|
|
197
|
+
cache?: boolean;
|
|
198
|
+
// (undocumented)
|
|
199
|
+
cacheLocation?: string;
|
|
200
|
+
// (undocumented)
|
|
201
|
+
configPath?: string;
|
|
202
|
+
// (undocumented)
|
|
203
|
+
extensions?: string;
|
|
204
|
+
// (undocumented)
|
|
205
|
+
files?: string[];
|
|
206
|
+
// (undocumented)
|
|
207
|
+
fix?: boolean;
|
|
208
|
+
format?: string;
|
|
209
|
+
// (undocumented)
|
|
210
|
+
ignorePath?: string;
|
|
211
|
+
// (undocumented)
|
|
212
|
+
maxWarnings?: number;
|
|
213
|
+
// (undocumented)
|
|
214
|
+
noEslintRc?: boolean;
|
|
215
|
+
outputFile?: string;
|
|
216
|
+
quiet?: boolean;
|
|
217
|
+
// (undocumented)
|
|
218
|
+
resolvePluginsPath?: string;
|
|
219
|
+
timing?: boolean;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// @public (undocumented)
|
|
223
|
+
export interface ExtractOptions {
|
|
224
|
+
cwd?: string;
|
|
225
|
+
dereference?: boolean;
|
|
226
|
+
dmode?: number;
|
|
227
|
+
file: string;
|
|
228
|
+
filter?: (path: string, header: EntryHeader) => boolean;
|
|
229
|
+
fmode?: number;
|
|
230
|
+
gzip?: boolean;
|
|
231
|
+
map?: (header: EntryHeader) => EntryHeader;
|
|
232
|
+
readable?: boolean;
|
|
233
|
+
writable?: boolean;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// @public
|
|
237
|
+
export function extractTarTask(options?: ExtractOptions): TaskFunction;
|
|
238
|
+
|
|
239
|
+
// @public (undocumented)
|
|
240
|
+
export const fileOverlay: () => Partial<Configuration>;
|
|
241
|
+
|
|
242
|
+
// @public
|
|
243
|
+
export function fixApiFileNewlines(apiFilePath: string, newlineOptions: {
|
|
244
|
+
sampleFilePath?: string;
|
|
245
|
+
newline?: string;
|
|
246
|
+
}): void;
|
|
247
|
+
|
|
248
|
+
// @public (undocumented)
|
|
249
|
+
export const htmlOverlay: (options: any) => Partial<Configuration>;
|
|
250
|
+
|
|
251
|
+
// @public (undocumented)
|
|
252
|
+
export function jestTask(options?: JestTaskOptions): TaskFunction;
|
|
253
|
+
|
|
254
|
+
// @public (undocumented)
|
|
255
|
+
export interface JestTaskOptions {
|
|
256
|
+
// (undocumented)
|
|
257
|
+
_?: string[];
|
|
258
|
+
// (undocumented)
|
|
259
|
+
clearCache?: boolean;
|
|
260
|
+
// (undocumented)
|
|
261
|
+
colors?: boolean;
|
|
262
|
+
// (undocumented)
|
|
263
|
+
config?: string;
|
|
264
|
+
// (undocumented)
|
|
265
|
+
coverage?: boolean;
|
|
266
|
+
env?: NodeJS.ProcessEnv;
|
|
267
|
+
nodeArgs?: string[];
|
|
268
|
+
// (undocumented)
|
|
269
|
+
passWithNoTests?: boolean;
|
|
270
|
+
// (undocumented)
|
|
271
|
+
rootDir?: string;
|
|
272
|
+
// (undocumented)
|
|
273
|
+
runInBand?: boolean;
|
|
274
|
+
// (undocumented)
|
|
275
|
+
silent?: boolean;
|
|
276
|
+
// (undocumented)
|
|
277
|
+
testNamePattern?: string;
|
|
278
|
+
// (undocumented)
|
|
279
|
+
testPathPattern?: string;
|
|
280
|
+
// (undocumented)
|
|
281
|
+
u?: boolean;
|
|
282
|
+
// (undocumented)
|
|
283
|
+
updateSnapshot?: boolean;
|
|
284
|
+
// (undocumented)
|
|
285
|
+
watch?: boolean;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// @public (undocumented)
|
|
289
|
+
function lib(): void;
|
|
290
|
+
|
|
291
|
+
// @public
|
|
292
|
+
function mergeFiles(sourceFilePaths: string[], destinationFilePath: string): CopyInstruction;
|
|
293
|
+
|
|
294
|
+
// @public (undocumented)
|
|
295
|
+
export function nodeExecTask(options: NodeExecTaskOptions): TaskFunction;
|
|
296
|
+
|
|
297
|
+
// @public (undocumented)
|
|
298
|
+
export interface NodeExecTaskOptions {
|
|
299
|
+
args?: string[];
|
|
300
|
+
enableTypeScript?: boolean;
|
|
301
|
+
env?: NodeJS.ProcessEnv;
|
|
302
|
+
spawnOptions?: SpawnOptions;
|
|
303
|
+
transpileOnly?: boolean;
|
|
304
|
+
tsconfig?: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// @public (undocumented)
|
|
308
|
+
type Omit_2<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
|
|
309
|
+
|
|
310
|
+
// Warning: (ae-forgotten-export) The symbol "PrettierTaskOptions" needs to be exported by the entry point index.d.ts
|
|
311
|
+
//
|
|
312
|
+
// @public (undocumented)
|
|
313
|
+
export function prettierCheckTask(options?: PrettierTaskOptions): TaskFunction;
|
|
314
|
+
|
|
315
|
+
// @public (undocumented)
|
|
316
|
+
export function prettierTask(options?: PrettierTaskOptions): TaskFunction;
|
|
317
|
+
|
|
318
|
+
// @public (undocumented)
|
|
319
|
+
interface PrettierTaskOptions {
|
|
320
|
+
// (undocumented)
|
|
321
|
+
configPath?: string;
|
|
322
|
+
// (undocumented)
|
|
323
|
+
files?: string[] | string;
|
|
324
|
+
// (undocumented)
|
|
325
|
+
ignorePath?: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
// @public (undocumented)
|
|
329
|
+
export function sassTask(options: SassTaskOptions): TaskFunction;
|
|
330
|
+
|
|
331
|
+
// @public @deprecated (undocumented)
|
|
332
|
+
export function sassTask(createSourceModule: (fileName: string, css: string) => string, postcssPlugins?: any[]): TaskFunction;
|
|
333
|
+
|
|
334
|
+
// @public (undocumented)
|
|
335
|
+
export interface SassTaskOptions {
|
|
336
|
+
// (undocumented)
|
|
337
|
+
createSourceModule: (fileName: string, css: string) => string;
|
|
338
|
+
// (undocumented)
|
|
339
|
+
postcssPlugins?: any[];
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export { spawn }
|
|
343
|
+
|
|
344
|
+
// @public (undocumented)
|
|
345
|
+
export const stylesOverlay: () => Partial<Configuration>;
|
|
346
|
+
|
|
347
|
+
declare namespace taskPresets {
|
|
348
|
+
export {
|
|
349
|
+
lib,
|
|
350
|
+
webapp
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
export { taskPresets }
|
|
354
|
+
|
|
355
|
+
// @public (undocumented)
|
|
356
|
+
export interface TsCheckerOptions {
|
|
357
|
+
// (undocumented)
|
|
358
|
+
async: boolean;
|
|
359
|
+
// (undocumented)
|
|
360
|
+
checkSyntacticErrors: boolean;
|
|
361
|
+
// (undocumented)
|
|
362
|
+
colors: boolean;
|
|
363
|
+
// (undocumented)
|
|
364
|
+
compilerOptions: object;
|
|
365
|
+
// (undocumented)
|
|
366
|
+
eslint: true | undefined;
|
|
367
|
+
eslintOptions: object;
|
|
368
|
+
// (undocumented)
|
|
369
|
+
ignoreDiagnostics: number[];
|
|
370
|
+
// (undocumented)
|
|
371
|
+
ignoreLints: string[];
|
|
372
|
+
// (undocumented)
|
|
373
|
+
ignoreLintWarnings: boolean;
|
|
374
|
+
// (undocumented)
|
|
375
|
+
measureCompilationTime: boolean;
|
|
376
|
+
// (undocumented)
|
|
377
|
+
memoryLimit: number;
|
|
378
|
+
// (undocumented)
|
|
379
|
+
reportFiles: string[];
|
|
380
|
+
// (undocumented)
|
|
381
|
+
resolveModuleNameModule: string;
|
|
382
|
+
// (undocumented)
|
|
383
|
+
resolveTypeReferenceDirectiveModule: string;
|
|
384
|
+
// (undocumented)
|
|
385
|
+
silent: boolean;
|
|
386
|
+
// (undocumented)
|
|
387
|
+
tsconfig: string;
|
|
388
|
+
// (undocumented)
|
|
389
|
+
tslint: string | true | undefined;
|
|
390
|
+
// (undocumented)
|
|
391
|
+
tslintAutoFix: boolean;
|
|
392
|
+
// (undocumented)
|
|
393
|
+
typescript: string;
|
|
394
|
+
// (undocumented)
|
|
395
|
+
useTypescriptIncrementalApi: boolean;
|
|
396
|
+
// (undocumented)
|
|
397
|
+
vue: boolean;
|
|
398
|
+
// (undocumented)
|
|
399
|
+
watch: string | string[];
|
|
400
|
+
// (undocumented)
|
|
401
|
+
workers: number;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// @public
|
|
405
|
+
export function tscTask(options?: TscTaskOptions): TaskFunction;
|
|
406
|
+
|
|
407
|
+
// @public (undocumented)
|
|
408
|
+
export type TscTaskOptions = {
|
|
409
|
+
[key in keyof ts.CompilerOptions]?: string | boolean | string[];
|
|
410
|
+
} & {
|
|
411
|
+
nodeArgs?: string[];
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
// @public
|
|
415
|
+
export function tscWatchTask(options?: TscTaskOptions): TaskFunction;
|
|
416
|
+
|
|
417
|
+
// @public (undocumented)
|
|
418
|
+
export function tslintTask(options?: TsLintTaskOptions): TaskFunction;
|
|
419
|
+
|
|
420
|
+
// @public (undocumented)
|
|
421
|
+
export interface TsLintTaskOptions {
|
|
422
|
+
// (undocumented)
|
|
423
|
+
config?: string;
|
|
424
|
+
// (undocumented)
|
|
425
|
+
fix?: boolean;
|
|
426
|
+
// (undocumented)
|
|
427
|
+
project?: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
// @public (undocumented)
|
|
431
|
+
export interface TsLoaderOptions {
|
|
432
|
+
// (undocumented)
|
|
433
|
+
allowTsInNodeModules: boolean;
|
|
434
|
+
// (undocumented)
|
|
435
|
+
colors: boolean;
|
|
436
|
+
// (undocumented)
|
|
437
|
+
compilerOptions: ts.CompilerOptions;
|
|
438
|
+
// (undocumented)
|
|
439
|
+
configFile: string;
|
|
440
|
+
// (undocumented)
|
|
441
|
+
experimentalFileCaching: boolean;
|
|
442
|
+
// (undocumented)
|
|
443
|
+
experimentalWatchApi: boolean;
|
|
444
|
+
// (undocumented)
|
|
445
|
+
getCustomTransformers: string | ((program: ts.Program) => ts.CustomTransformers | undefined);
|
|
446
|
+
// (undocumented)
|
|
447
|
+
happyPackMode: boolean;
|
|
448
|
+
// (undocumented)
|
|
449
|
+
onlyCompileBundledFiles: boolean;
|
|
450
|
+
// (undocumented)
|
|
451
|
+
projectReferences: boolean;
|
|
452
|
+
// (undocumented)
|
|
453
|
+
transpileOnly: boolean;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
// Warning: (ae-forgotten-export) The symbol "TsOverlayOptions" needs to be exported by the entry point index.d.ts
|
|
457
|
+
//
|
|
458
|
+
// @public (undocumented)
|
|
459
|
+
export const tsOverlay: (overlayOptions?: TsOverlayOptions | undefined) => Partial<Configuration>;
|
|
460
|
+
|
|
461
|
+
// @public (undocumented)
|
|
462
|
+
interface TsOverlayOptions {
|
|
463
|
+
// (undocumented)
|
|
464
|
+
checkerOptions?: Partial<TsCheckerOptions>;
|
|
465
|
+
// (undocumented)
|
|
466
|
+
loaderOptions?: Partial<TsLoaderOptions>;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
// @public (undocumented)
|
|
470
|
+
function webapp(): void;
|
|
471
|
+
|
|
472
|
+
// @public
|
|
473
|
+
export function webpackCliInitTask(customScaffold?: string, auto?: boolean): TaskFunction;
|
|
474
|
+
|
|
475
|
+
// @public
|
|
476
|
+
export function webpackCliTask(options?: WebpackCliTaskOptions): TaskFunction;
|
|
477
|
+
|
|
478
|
+
// @public (undocumented)
|
|
479
|
+
export interface WebpackCliTaskOptions {
|
|
480
|
+
env?: NodeJS.ProcessEnv;
|
|
481
|
+
nodeArgs?: string[];
|
|
482
|
+
transpileOnly?: boolean;
|
|
483
|
+
tsconfig?: string;
|
|
484
|
+
webpackCliArgs?: string[];
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
// @public (undocumented)
|
|
488
|
+
export const webpackConfig: (config: Partial<Configuration>) => Configuration;
|
|
489
|
+
|
|
490
|
+
// @public (undocumented)
|
|
491
|
+
export function webpackDevServerTask(options?: WebpackDevServerTaskOptions): TaskFunction;
|
|
492
|
+
|
|
493
|
+
// @public (undocumented)
|
|
494
|
+
export interface WebpackDevServerTaskOptions extends WebpackCliTaskOptions, Configuration {
|
|
495
|
+
config?: string;
|
|
496
|
+
env?: {
|
|
497
|
+
[key: string]: string | undefined;
|
|
498
|
+
};
|
|
499
|
+
mode?: 'production' | 'development';
|
|
500
|
+
nodeArgs?: string[];
|
|
501
|
+
open?: boolean;
|
|
502
|
+
transpileOnly?: boolean;
|
|
503
|
+
tsconfig?: string;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export { webpackMerge }
|
|
507
|
+
|
|
508
|
+
// @public (undocumented)
|
|
509
|
+
export const webpackOverlays: {
|
|
510
|
+
typescript: (overlayOptions?: TsOverlayOptions | undefined) => Partial<Configuration>;
|
|
511
|
+
html: (options: any) => Partial<Configuration>;
|
|
512
|
+
styles: () => Partial<Configuration>;
|
|
513
|
+
file: () => Partial<Configuration>;
|
|
514
|
+
displayBailout: () => Partial<Configuration>;
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
// @public (undocumented)
|
|
518
|
+
export const webpackServeConfig: (config: Partial<Configuration>) => Configuration;
|
|
519
|
+
|
|
520
|
+
// @public (undocumented)
|
|
521
|
+
export function webpackTask(options?: WebpackTaskOptions): TaskFunction;
|
|
522
|
+
|
|
523
|
+
// @public (undocumented)
|
|
524
|
+
export interface WebpackTaskOptions extends Configuration {
|
|
525
|
+
// (undocumented)
|
|
526
|
+
config?: string;
|
|
527
|
+
env?: NodeJS.ProcessEnv;
|
|
528
|
+
onCompile?: (err: Error, stats: any) => void | Promise<void>;
|
|
529
|
+
outputStats?: boolean | string;
|
|
530
|
+
transpileOnly?: boolean;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
export * from "just-task";
|
|
535
|
+
|
|
536
|
+
// (No @packageDocumentation comment for this package)
|
|
537
|
+
|
|
538
|
+
```
|
|
@@ -32,7 +32,7 @@ export declare function copyFilesToDestinationDirectory(sourceFilePaths: string
|
|
|
32
32
|
export declare function copyFileToDestinationDirectoryWithRename(sourceFilePath: string, destinationName: string, destinationDirectory: string, noSymlink?: boolean): CopyInstruction[];
|
|
33
33
|
/**
|
|
34
34
|
* Copies files into a destination directory with different names.
|
|
35
|
-
* For example copyFilesToDestinationDirectoryWithRename([{sourceFilePath:'some/path/foo.js', destinationName:'bar.js'}], 'dest/target')
|
|
35
|
+
* For example `copyFilesToDestinationDirectoryWithRename([{sourceFilePath:'some/path/foo.js', destinationName:'bar.js'}], 'dest/target')`
|
|
36
36
|
* would result in the creation of the file 'dest/target/bar.js'.
|
|
37
37
|
*/
|
|
38
38
|
export declare function copyFilesToDestinationDirectoryWithRename(instrs: {
|
|
@@ -28,7 +28,7 @@ function copyFileToDestinationDirectoryWithRename(sourceFilePath, destinationNam
|
|
|
28
28
|
exports.copyFileToDestinationDirectoryWithRename = copyFileToDestinationDirectoryWithRename;
|
|
29
29
|
/**
|
|
30
30
|
* Copies files into a destination directory with different names.
|
|
31
|
-
* For example copyFilesToDestinationDirectoryWithRename([{sourceFilePath:'some/path/foo.js', destinationName:'bar.js'}], 'dest/target')
|
|
31
|
+
* For example `copyFilesToDestinationDirectoryWithRename([{sourceFilePath:'some/path/foo.js', destinationName:'bar.js'}], 'dest/target')`
|
|
32
32
|
* would result in the creation of the file 'dest/target/bar.js'.
|
|
33
33
|
*/
|
|
34
34
|
function copyFilesToDestinationDirectoryWithRename(instrs, destinationDirectory, noSymlinks) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TaskFunction } from 'just-task';
|
|
2
|
-
import * as ApiExtractorTypes from '
|
|
2
|
+
import type * as ApiExtractorTypes from '@microsoft/api-extractor';
|
|
3
3
|
/**
|
|
4
4
|
* Options from `IExtractorConfigOptions` plus additional options specific to the task.
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiExtractorTask.d.ts","sourceRoot":"","sources":["../../src/tasks/apiExtractorTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,WAAW,CAAC;AAIjD,OAAO,KAAK,iBAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"apiExtractorTask.d.ts","sourceRoot":"","sources":["../../src/tasks/apiExtractorTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,WAAW,CAAC;AAIjD,OAAO,KAAK,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAInE;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB,CAAC,uBAAuB;IACpF,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,KAAK,IAAI,CAAC;IAExD;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,CAAC,WAAW,KAAK,IAAI,CAAC;CAClE;AAaD,aAAK,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,IAAI,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEjE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,YAAY,CAAC;AACnF,2CAA2C;AAC3C,wBAAgB,sBAAsB,CACpC,kBAAkB,EAAE,MAAM,EAC1B,gBAAgB,EAAE,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,GAChE,YAAY,CAAC;AAwBhB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,YAAY,CAAC;AACnF,2CAA2C;AAC3C,wBAAgB,sBAAsB,CACpC,kBAAkB,EAAE,MAAM,EAC1B,gBAAgB,EAAE,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,GAChE,YAAY,CAAC;AA6GhB;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5D,IAAI,CAgBN"}
|