@itwin/build-tools 3.0.0-extension.1 → 3.0.0

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.md CHANGED
@@ -1,285 +1,328 @@
1
1
  # Change Log - @itwin/build-tools
2
2
 
3
- This log was last generated on Tue, 21 Sep 2021 21:06:40 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Jan 2022 14:00:52 GMT and should not be manually modified.
4
4
 
5
- ## 2.19.13
5
+ ## 3.0.0
6
+ Mon, 24 Jan 2022 14:00:52 GMT
7
+
8
+ ### Updates
9
+
10
+ - Removed `test` and `test-tsnode` scripts from betools. Please use mocha directly instead.
11
+ - Upgrade target to ES2019
12
+ - Added returns as a valid tag
13
+ - rename to @itwin/build-tools
14
+ - Support for Node 16
15
+ - Remove TSLint support and .eslintrc.js file - please use `@itwin/eslint-plugin` instead
16
+ - Renamed an iModel's parent container to iTwin
17
+ - Support for TypeDoc v0.22.7. Fix various broken docs links.
18
+ - Incorporating iTwinUI-CSS and iTwinUI-React into iModel.js
19
+
20
+ ## 2.19.28
21
+ Wed, 12 Jan 2022 14:52:38 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 2.19.27
26
+ Wed, 05 Jan 2022 20:07:20 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 2.19.26
31
+ Wed, 08 Dec 2021 20:54:52 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 2.19.25
36
+ Fri, 03 Dec 2021 20:05:49 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 2.19.24
41
+ Mon, 29 Nov 2021 18:44:31 GMT
42
+
43
+ _Version update only_
44
+
45
+ ## 2.19.23
46
+ Mon, 22 Nov 2021 20:41:39 GMT
47
+
48
+ _Version update only_
49
+
50
+ ## 2.19.22
51
+ Wed, 17 Nov 2021 01:23:26 GMT
52
+
53
+ _Version update only_
54
+
55
+ ## 2.19.21
56
+ Wed, 10 Nov 2021 10:58:24 GMT
6
57
 
58
+ _Version update only_
59
+
60
+ ## 2.19.20
61
+ Fri, 29 Oct 2021 16:14:22 GMT
62
+
63
+ _Version update only_
64
+
65
+ ## 2.19.19
66
+ Mon, 25 Oct 2021 16:16:25 GMT
67
+
68
+ _Version update only_
69
+
70
+ ## 2.19.18
71
+ Thu, 21 Oct 2021 20:59:44 GMT
72
+
73
+ _Version update only_
74
+
75
+ ## 2.19.17
76
+ Thu, 14 Oct 2021 21:19:43 GMT
77
+
78
+ _Version update only_
79
+
80
+ ## 2.19.16
81
+ Mon, 11 Oct 2021 17:37:46 GMT
82
+
83
+ _Version update only_
84
+
85
+ ## 2.19.15
86
+ Fri, 08 Oct 2021 16:44:23 GMT
87
+
88
+ _Version update only_
89
+
90
+ ## 2.19.14
91
+ Fri, 01 Oct 2021 13:07:03 GMT
92
+
93
+ _Version update only_
94
+
95
+ ## 2.19.13
7
96
  Tue, 21 Sep 2021 21:06:40 GMT
8
97
 
9
98
  _Version update only_
10
99
 
11
100
  ## 2.19.12
12
-
13
101
  Wed, 15 Sep 2021 18:06:46 GMT
14
102
 
15
103
  _Version update only_
16
104
 
17
105
  ## 2.19.11
18
-
19
106
  Thu, 09 Sep 2021 21:04:57 GMT
20
107
 
21
108
  _Version update only_
22
109
 
23
110
  ## 2.19.10
24
-
25
111
  Wed, 08 Sep 2021 14:36:01 GMT
26
112
 
27
113
  _Version update only_
28
114
 
29
115
  ## 2.19.9
30
-
31
116
  Wed, 25 Aug 2021 15:36:01 GMT
32
117
 
33
118
  _Version update only_
34
119
 
35
120
  ## 2.19.8
36
-
37
121
  Mon, 23 Aug 2021 13:23:13 GMT
38
122
 
39
123
  _Version update only_
40
124
 
41
125
  ## 2.19.7
42
-
43
126
  Fri, 20 Aug 2021 17:47:22 GMT
44
127
 
45
128
  _Version update only_
46
129
 
47
130
  ## 2.19.6
48
-
49
131
  Tue, 17 Aug 2021 20:34:28 GMT
50
132
 
51
133
  _Version update only_
52
134
 
53
135
  ## 2.19.5
54
-
55
136
  Fri, 13 Aug 2021 21:48:08 GMT
56
137
 
57
138
  _Version update only_
58
139
 
59
140
  ## 2.19.4
60
-
61
141
  Thu, 12 Aug 2021 13:09:26 GMT
62
142
 
63
143
  _Version update only_
64
144
 
65
145
  ## 2.19.3
66
-
67
146
  Wed, 04 Aug 2021 20:29:34 GMT
68
147
 
69
148
  _Version update only_
70
149
 
71
150
  ## 2.19.2
72
-
73
151
  Tue, 03 Aug 2021 18:26:23 GMT
74
152
 
75
153
  _Version update only_
76
154
 
77
155
  ## 2.19.1
78
-
79
156
  Thu, 29 Jul 2021 20:01:11 GMT
80
157
 
81
158
  _Version update only_
82
159
 
83
160
  ## 2.19.0
84
-
85
161
  Mon, 26 Jul 2021 12:21:25 GMT
86
162
 
87
163
  _Version update only_
88
164
 
89
165
  ## 2.18.4
90
-
91
166
  Tue, 10 Aug 2021 19:35:13 GMT
92
167
 
93
168
  _Version update only_
94
169
 
95
170
  ## 2.18.3
96
-
97
171
  Wed, 28 Jul 2021 17:16:30 GMT
98
172
 
99
173
  _Version update only_
100
174
 
101
175
  ## 2.18.2
102
-
103
176
  Mon, 26 Jul 2021 16:18:31 GMT
104
177
 
105
178
  _Version update only_
106
179
 
107
180
  ## 2.18.1
108
-
109
181
  Fri, 16 Jul 2021 17:45:09 GMT
110
182
 
111
183
  _Version update only_
112
184
 
113
185
  ## 2.18.0
114
-
115
186
  Fri, 09 Jul 2021 18:11:24 GMT
116
187
 
117
188
  _Version update only_
118
189
 
119
190
  ## 2.17.3
120
-
121
191
  Mon, 26 Jul 2021 16:08:36 GMT
122
192
 
123
193
  _Version update only_
124
194
 
125
195
  ## 2.17.2
126
-
127
196
  Thu, 08 Jul 2021 15:23:00 GMT
128
197
 
129
198
  _Version update only_
130
199
 
131
200
  ## 2.17.1
132
-
133
201
  Fri, 02 Jul 2021 15:38:30 GMT
134
202
 
135
203
  _Version update only_
136
204
 
137
205
  ## 2.17.0
138
-
139
206
  Mon, 28 Jun 2021 16:20:10 GMT
140
207
 
141
208
  _Version update only_
142
209
 
143
210
  ## 2.16.10
144
-
145
211
  Thu, 22 Jul 2021 20:23:44 GMT
146
212
 
147
213
  _Version update only_
148
214
 
149
215
  ## 2.16.9
150
-
151
216
  Tue, 06 Jul 2021 22:08:34 GMT
152
217
 
153
218
  _Version update only_
154
219
 
155
220
  ## 2.16.8
156
-
157
221
  Fri, 02 Jul 2021 17:40:46 GMT
158
222
 
159
223
  _Version update only_
160
224
 
161
225
  ## 2.16.7
162
-
163
226
  Mon, 28 Jun 2021 18:13:04 GMT
164
227
 
165
228
  _Version update only_
166
229
 
167
230
  ## 2.16.6
168
-
169
231
  Mon, 28 Jun 2021 13:12:55 GMT
170
232
 
171
233
  _Version update only_
172
234
 
173
235
  ## 2.16.5
174
-
175
236
  Fri, 25 Jun 2021 16:03:01 GMT
176
237
 
177
238
  _Version update only_
178
239
 
179
240
  ## 2.16.4
180
-
181
241
  Wed, 23 Jun 2021 17:09:07 GMT
182
242
 
183
243
  _Version update only_
184
244
 
185
245
  ## 2.16.3
186
-
187
246
  Wed, 16 Jun 2021 20:29:32 GMT
188
247
 
189
248
  _Version update only_
190
249
 
191
250
  ## 2.16.2
192
-
193
251
  Thu, 03 Jun 2021 18:08:11 GMT
194
252
 
195
253
  _Version update only_
196
254
 
197
255
  ## 2.16.1
198
-
199
256
  Thu, 27 May 2021 20:04:22 GMT
200
257
 
201
258
  _Version update only_
202
259
 
203
260
  ## 2.16.0
204
-
205
261
  Mon, 24 May 2021 15:58:39 GMT
206
262
 
207
263
  _Version update only_
208
264
 
209
265
  ## 2.15.6
210
-
211
266
  Wed, 26 May 2021 15:55:18 GMT
212
267
 
213
268
  _Version update only_
214
269
 
215
270
  ## 2.15.5
216
-
217
271
  Thu, 20 May 2021 15:06:26 GMT
218
272
 
219
273
  _Version update only_
220
274
 
221
275
  ## 2.15.4
222
-
223
276
  Tue, 18 May 2021 21:59:07 GMT
224
277
 
225
278
  _Version update only_
226
279
 
227
280
  ## 2.15.3
228
-
229
281
  Mon, 17 May 2021 13:31:37 GMT
230
282
 
231
283
  _Version update only_
232
284
 
233
285
  ## 2.15.2
234
-
235
286
  Wed, 12 May 2021 18:08:13 GMT
236
287
 
237
288
  _Version update only_
238
289
 
239
290
  ## 2.15.1
240
-
241
291
  Wed, 05 May 2021 13:18:31 GMT
242
292
 
243
293
  _Version update only_
244
294
 
245
295
  ## 2.15.0
246
-
247
296
  Fri, 30 Apr 2021 12:36:58 GMT
248
297
 
249
298
  _Version update only_
250
299
 
251
300
  ## 2.14.4
252
-
253
301
  Thu, 22 Apr 2021 21:07:33 GMT
254
302
 
255
303
  _Version update only_
256
304
 
257
305
  ## 2.14.3
258
-
259
306
  Thu, 15 Apr 2021 15:13:16 GMT
260
307
 
261
308
  _Version update only_
262
309
 
263
310
  ## 2.14.2
264
-
265
311
  Thu, 08 Apr 2021 14:30:09 GMT
266
312
 
267
313
  _Version update only_
268
314
 
269
315
  ## 2.14.1
270
-
271
316
  Mon, 05 Apr 2021 16:28:00 GMT
272
317
 
273
318
  _Version update only_
274
319
 
275
320
  ## 2.14.0
276
-
277
321
  Fri, 02 Apr 2021 13:18:42 GMT
278
322
 
279
323
  _Version update only_
280
324
 
281
325
  ## 2.13.0
282
-
283
326
  Tue, 09 Mar 2021 20:28:13 GMT
284
327
 
285
328
  ### Updates
@@ -288,25 +331,21 @@ Tue, 09 Mar 2021 20:28:13 GMT
288
331
  - begin rename project from iModel.js to iTwin.js
289
332
 
290
333
  ## 2.12.3
291
-
292
334
  Mon, 08 Mar 2021 15:32:00 GMT
293
335
 
294
336
  _Version update only_
295
337
 
296
338
  ## 2.12.2
297
-
298
339
  Wed, 03 Mar 2021 18:48:52 GMT
299
340
 
300
341
  _Version update only_
301
342
 
302
343
  ## 2.12.1
303
-
304
344
  Tue, 23 Feb 2021 20:54:45 GMT
305
345
 
306
346
  _Version update only_
307
347
 
308
348
  ## 2.12.0
309
-
310
349
  Thu, 18 Feb 2021 22:10:12 GMT
311
350
 
312
351
  ### Updates
@@ -314,193 +353,161 @@ Thu, 18 Feb 2021 22:10:12 GMT
314
353
  - Update minimum tsutils version to ~3.17.1
315
354
 
316
355
  ## 2.11.2
317
-
318
356
  Thu, 18 Feb 2021 02:50:59 GMT
319
357
 
320
358
  _Version update only_
321
359
 
322
360
  ## 2.11.1
323
-
324
361
  Thu, 04 Feb 2021 17:22:41 GMT
325
362
 
326
363
  _Version update only_
327
364
 
328
365
  ## 2.11.0
329
-
330
366
  Thu, 28 Jan 2021 13:39:27 GMT
331
367
 
332
368
  _Version update only_
333
369
 
334
370
  ## 2.10.3
335
-
336
371
  Fri, 08 Jan 2021 18:34:03 GMT
337
372
 
338
373
  _Version update only_
339
374
 
340
375
  ## 2.10.2
341
-
342
376
  Fri, 08 Jan 2021 14:52:02 GMT
343
377
 
344
378
  _Version update only_
345
379
 
346
380
  ## 2.10.1
347
-
348
381
  Tue, 22 Dec 2020 00:53:38 GMT
349
382
 
350
383
  _Version update only_
351
384
 
352
385
  ## 2.10.0
353
-
354
386
  Fri, 18 Dec 2020 18:24:01 GMT
355
387
 
356
388
  _Version update only_
357
389
 
358
390
  ## 2.9.9
359
-
360
391
  Sun, 13 Dec 2020 19:00:03 GMT
361
392
 
362
393
  _Version update only_
363
394
 
364
395
  ## 2.9.8
365
-
366
396
  Fri, 11 Dec 2020 02:57:36 GMT
367
397
 
368
398
  _Version update only_
369
399
 
370
400
  ## 2.9.7
371
-
372
401
  Wed, 09 Dec 2020 20:58:23 GMT
373
402
 
374
403
  _Version update only_
375
404
 
376
405
  ## 2.9.6
377
-
378
406
  Mon, 07 Dec 2020 18:40:48 GMT
379
407
 
380
408
  _Version update only_
381
409
 
382
410
  ## 2.9.5
383
-
384
411
  Sat, 05 Dec 2020 01:55:56 GMT
385
412
 
386
413
  _Version update only_
387
414
 
388
415
  ## 2.9.4
389
-
390
416
  Wed, 02 Dec 2020 20:55:40 GMT
391
417
 
392
418
  _Version update only_
393
419
 
394
420
  ## 2.9.3
395
-
396
421
  Mon, 23 Nov 2020 20:57:56 GMT
397
422
 
398
423
  _Version update only_
399
424
 
400
425
  ## 2.9.2
401
-
402
426
  Mon, 23 Nov 2020 15:33:50 GMT
403
427
 
404
428
  _Version update only_
405
429
 
406
430
  ## 2.9.1
407
-
408
431
  Thu, 19 Nov 2020 17:03:42 GMT
409
432
 
410
433
  _Version update only_
411
434
 
412
435
  ## 2.9.0
413
-
414
436
  Wed, 18 Nov 2020 16:01:50 GMT
415
437
 
416
438
  _Version update only_
417
439
 
418
440
  ## 2.8.1
419
-
420
441
  Tue, 03 Nov 2020 00:33:56 GMT
421
442
 
422
443
  _Version update only_
423
444
 
424
445
  ## 2.8.0
425
-
426
446
  Fri, 23 Oct 2020 17:04:02 GMT
427
447
 
428
448
  _Version update only_
429
449
 
430
450
  ## 2.7.6
431
-
432
451
  Wed, 11 Nov 2020 16:28:23 GMT
433
452
 
434
453
  _Version update only_
435
454
 
436
455
  ## 2.7.5
437
-
438
456
  Fri, 23 Oct 2020 16:23:50 GMT
439
457
 
440
458
  _Version update only_
441
459
 
442
460
  ## 2.7.4
443
-
444
461
  Mon, 19 Oct 2020 17:57:01 GMT
445
462
 
446
463
  _Version update only_
447
464
 
448
465
  ## 2.7.3
449
-
450
466
  Wed, 14 Oct 2020 17:00:58 GMT
451
467
 
452
468
  _Version update only_
453
469
 
454
470
  ## 2.7.2
455
-
456
471
  Tue, 13 Oct 2020 18:20:38 GMT
457
472
 
458
473
  _Version update only_
459
474
 
460
475
  ## 2.7.1
461
-
462
476
  Thu, 08 Oct 2020 13:04:35 GMT
463
477
 
464
478
  _Version update only_
465
479
 
466
480
  ## 2.7.0
467
-
468
481
  Fri, 02 Oct 2020 18:03:32 GMT
469
482
 
470
483
  _Version update only_
471
484
 
472
485
  ## 2.6.5
473
-
474
486
  Sat, 26 Sep 2020 16:06:34 GMT
475
487
 
476
488
  _Version update only_
477
489
 
478
490
  ## 2.6.4
479
-
480
491
  Tue, 22 Sep 2020 17:40:07 GMT
481
492
 
482
493
  _Version update only_
483
494
 
484
495
  ## 2.6.3
485
-
486
496
  Mon, 21 Sep 2020 14:47:09 GMT
487
497
 
488
498
  _Version update only_
489
499
 
490
500
  ## 2.6.2
491
-
492
501
  Mon, 21 Sep 2020 13:07:43 GMT
493
502
 
494
503
  _Version update only_
495
504
 
496
505
  ## 2.6.1
497
-
498
506
  Fri, 18 Sep 2020 13:15:08 GMT
499
507
 
500
508
  _Version update only_
501
509
 
502
510
  ## 2.6.0
503
-
504
511
  Thu, 17 Sep 2020 13:16:12 GMT
505
512
 
506
513
  ### Updates
@@ -509,31 +516,26 @@ Thu, 17 Sep 2020 13:16:12 GMT
509
516
  - Addressed ESLint warnings in UI packages. Fixed react-set-state-usage rule. Allowing PascalCase for functions in UI packages for React function component names.
510
517
 
511
518
  ## 2.5.5
512
-
513
519
  Wed, 02 Sep 2020 17:42:23 GMT
514
520
 
515
521
  _Version update only_
516
522
 
517
523
  ## 2.5.4
518
-
519
524
  Fri, 28 Aug 2020 15:34:15 GMT
520
525
 
521
526
  _Version update only_
522
527
 
523
528
  ## 2.5.3
524
-
525
529
  Wed, 26 Aug 2020 11:46:00 GMT
526
530
 
527
531
  _Version update only_
528
532
 
529
533
  ## 2.5.2
530
-
531
534
  Tue, 25 Aug 2020 22:09:08 GMT
532
535
 
533
536
  _Version update only_
534
537
 
535
538
  ## 2.5.1
536
-
537
539
  Mon, 24 Aug 2020 18:13:04 GMT
538
540
 
539
541
  ### Updates
@@ -541,7 +543,6 @@ Mon, 24 Aug 2020 18:13:04 GMT
541
543
  - Fix issue with eslintrc config
542
544
 
543
545
  ## 2.5.0
544
-
545
546
  Thu, 20 Aug 2020 20:57:09 GMT
546
547
 
547
548
  ### Updates
@@ -549,19 +550,16 @@ Thu, 20 Aug 2020 20:57:09 GMT
549
550
  - Switch to ESLint
550
551
 
551
552
  ## 2.4.2
552
-
553
553
  Fri, 14 Aug 2020 16:34:09 GMT
554
554
 
555
555
  _Version update only_
556
556
 
557
557
  ## 2.4.1
558
-
559
558
  Fri, 07 Aug 2020 19:57:43 GMT
560
559
 
561
560
  _Version update only_
562
561
 
563
562
  ## 2.4.0
564
-
565
563
  Tue, 28 Jul 2020 16:26:23 GMT
566
564
 
567
565
  ### Updates
@@ -569,43 +567,36 @@ Tue, 28 Jul 2020 16:26:23 GMT
569
567
  - Trim trailing newlines. Align text with open tag.
570
568
 
571
569
  ## 2.3.3
572
-
573
570
  Thu, 23 Jul 2020 12:57:15 GMT
574
571
 
575
572
  _Version update only_
576
573
 
577
574
  ## 2.3.2
578
-
579
575
  Tue, 14 Jul 2020 23:50:36 GMT
580
576
 
581
577
  _Version update only_
582
578
 
583
579
  ## 2.3.1
584
-
585
580
  Mon, 13 Jul 2020 18:50:13 GMT
586
581
 
587
582
  _Version update only_
588
583
 
589
584
  ## 2.3.0
590
-
591
585
  Fri, 10 Jul 2020 17:23:14 GMT
592
586
 
593
587
  _Version update only_
594
588
 
595
589
  ## 2.2.1
596
-
597
590
  Tue, 07 Jul 2020 14:44:52 GMT
598
591
 
599
592
  _Version update only_
600
593
 
601
594
  ## 2.2.0
602
-
603
595
  Fri, 19 Jun 2020 14:10:03 GMT
604
596
 
605
597
  _Version update only_
606
598
 
607
599
  ## 2.1.0
608
-
609
600
  Thu, 28 May 2020 22:48:59 GMT
610
601
 
611
602
  ### Updates
@@ -613,7 +604,6 @@ Thu, 28 May 2020 22:48:59 GMT
613
604
  - Add inline sources to properly debug ts files
614
605
 
615
606
  ## 2.0.0
616
-
617
607
  Wed, 06 May 2020 13:17:49 GMT
618
608
 
619
609
  ### Updates
@@ -628,25 +618,21 @@ Wed, 06 May 2020 13:17:49 GMT
628
618
  - Add extract-api to betools cli
629
619
 
630
620
  ## 1.14.1
631
-
632
621
  Wed, 22 Apr 2020 19:04:00 GMT
633
622
 
634
623
  _Version update only_
635
624
 
636
625
  ## 1.14.0
637
-
638
626
  Tue, 31 Mar 2020 15:44:19 GMT
639
627
 
640
628
  _Version update only_
641
629
 
642
630
  ## 1.13.0
643
-
644
631
  Wed, 04 Mar 2020 16:16:31 GMT
645
632
 
646
633
  _Version update only_
647
634
 
648
635
  ## 1.12.0
649
-
650
636
  Wed, 12 Feb 2020 17:45:49 GMT
651
637
 
652
638
  ### Updates
@@ -654,7 +640,6 @@ Wed, 12 Feb 2020 17:45:49 GMT
654
640
  - Support for TypeDoc 0.16.8
655
641
 
656
642
  ## 1.11.0
657
-
658
643
  Wed, 22 Jan 2020 19:24:11 GMT
659
644
 
660
645
  ### Updates
@@ -663,7 +648,6 @@ Wed, 22 Jan 2020 19:24:11 GMT
663
648
  - Update tests to pass '--inspect' instead of '--debug' to Node to support Node 12.
664
649
 
665
650
  ## 1.10.0
666
-
667
651
  Tue, 07 Jan 2020 19:44:01 GMT
668
652
 
669
653
  ### Updates
@@ -671,7 +655,6 @@ Tue, 07 Jan 2020 19:44:01 GMT
671
655
  - Added tslint-react-set-state-usage to ThirdPartyNotices.md in tools/build
672
656
 
673
657
  ## 1.9.0
674
-
675
658
  Tue, 10 Dec 2019 18:08:56 GMT
676
659
 
677
660
  ### Updates
@@ -683,7 +666,6 @@ Tue, 10 Dec 2019 18:08:56 GMT
683
666
  - Replaced the noUnusedLocals tsc option with no-unused-variable lint rule.
684
667
 
685
668
  ## 1.8.0
686
-
687
669
  Fri, 22 Nov 2019 14:03:34 GMT
688
670
 
689
671
  ### Updates
@@ -693,7 +675,6 @@ Fri, 22 Nov 2019 14:03:34 GMT
693
675
  - Update API-extractor to 5.7.4 to consume a fix for Node 12.
694
676
 
695
677
  ## 1.7.0
696
-
697
678
  Fri, 01 Nov 2019 13:28:37 GMT
698
679
 
699
680
  ### Updates
@@ -703,13 +684,11 @@ Fri, 01 Nov 2019 13:28:37 GMT
703
684
  - Update cli to better match script functionality.
704
685
 
705
686
  ## 1.6.0
706
-
707
687
  Wed, 09 Oct 2019 20:28:42 GMT
708
688
 
709
689
  _Version update only_
710
690
 
711
691
  ## 1.5.0
712
-
713
692
  Mon, 30 Sep 2019 22:28:48 GMT
714
693
 
715
694
  ### Updates
@@ -718,13 +697,11 @@ Mon, 30 Sep 2019 22:28:48 GMT
718
697
  - Upgrade to TypeScript 3.6.2
719
698
 
720
699
  ## 1.4.0
721
-
722
700
  Tue, 10 Sep 2019 12:09:49 GMT
723
701
 
724
702
  _Version update only_
725
703
 
726
704
  ## 1.3.0
727
-
728
705
  Tue, 13 Aug 2019 20:25:53 GMT
729
706
 
730
707
  ### Updates
@@ -732,7 +709,6 @@ Tue, 13 Aug 2019 20:25:53 GMT
732
709
  - Update README and code cleanup
733
710
 
734
711
  ## 1.2.0
735
-
736
712
  Wed, 24 Jul 2019 11:47:26 GMT
737
713
 
738
714
  ### Updates
@@ -741,16 +717,14 @@ Wed, 24 Jul 2019 11:47:26 GMT
741
717
  - Closing STDIN no longer kills child processes created using simpleSpawn
742
718
 
743
719
  ## 1.1.0
744
-
745
720
  Mon, 01 Jul 2019 19:04:29 GMT
746
721
 
747
722
  ### Updates
748
723
 
749
- - Added _test_ to list of excluded dirs during docs script
724
+ - Added *test* to list of excluded dirs during docs script
750
725
  - Update to TypeScript 3.5
751
726
 
752
727
  ## 1.0.0
753
-
754
728
  Mon, 03 Jun 2019 18:09:39 GMT
755
729
 
756
730
  ### Updates
@@ -762,7 +736,6 @@ Mon, 03 Jun 2019 18:09:39 GMT
762
736
  - Update the standard configuration for extract-api to turn off ae-forgotten-export warnings.
763
737
 
764
738
  ## 0.191.0
765
-
766
739
  Mon, 13 May 2019 15:52:05 GMT
767
740
 
768
741
  ### Updates
@@ -780,13 +753,11 @@ Mon, 13 May 2019 15:52:05 GMT
780
753
  - Update the version of nyc to 14.0.0
781
754
 
782
755
  ## 0.190.0
783
-
784
756
  Thu, 14 Mar 2019 14:26:49 GMT
785
757
 
786
758
  _Version update only_
787
759
 
788
760
  ## 0.189.0
789
-
790
761
  Wed, 06 Mar 2019 15:41:22 GMT
791
762
 
792
763
  ### Updates
@@ -801,43 +772,36 @@ Wed, 06 Mar 2019 15:41:22 GMT
801
772
  - Upgrade to TypeScript 3.2.2
802
773
 
803
774
  ## 0.188.0
804
-
805
775
  Wed, 16 Jan 2019 16:36:09 GMT
806
776
 
807
777
  _Version update only_
808
778
 
809
779
  ## 0.187.0
810
-
811
780
  Tue, 15 Jan 2019 15:18:59 GMT
812
781
 
813
782
  _Version update only_
814
783
 
815
784
  ## 0.186.0
816
-
817
785
  Mon, 14 Jan 2019 23:09:10 GMT
818
786
 
819
787
  _Version update only_
820
788
 
821
789
  ## 0.185.0
822
-
823
790
  Fri, 11 Jan 2019 18:29:00 GMT
824
791
 
825
792
  _Version update only_
826
793
 
827
794
  ## 0.184.0
828
-
829
795
  Thu, 10 Jan 2019 22:46:17 GMT
830
796
 
831
797
  _Version update only_
832
798
 
833
799
  ## 0.183.0
834
-
835
800
  Mon, 07 Jan 2019 21:49:21 GMT
836
801
 
837
802
  _Version update only_
838
803
 
839
804
  ## 0.182.0
840
-
841
805
  Mon, 07 Jan 2019 13:31:34 GMT
842
806
 
843
807
  ### Updates
@@ -846,7 +810,6 @@ Mon, 07 Jan 2019 13:31:34 GMT
846
810
  - Move to Node 10
847
811
 
848
812
  ## 0.181.0
849
-
850
813
  Fri, 04 Jan 2019 13:02:40 GMT
851
814
 
852
815
  ### Updates
@@ -854,49 +817,41 @@ Fri, 04 Jan 2019 13:02:40 GMT
854
817
  - Move to Node 10
855
818
 
856
819
  ## 0.180.0
857
-
858
820
  Wed, 02 Jan 2019 15:18:23 GMT
859
821
 
860
822
  _Version update only_
861
823
 
862
824
  ## 0.179.0
863
-
864
825
  Wed, 19 Dec 2018 18:26:14 GMT
865
826
 
866
827
  _Version update only_
867
828
 
868
829
  ## 0.178.0
869
-
870
830
  Thu, 13 Dec 2018 22:06:10 GMT
871
831
 
872
832
  _Version update only_
873
833
 
874
834
  ## 0.177.0
875
-
876
835
  Wed, 12 Dec 2018 17:21:31 GMT
877
836
 
878
837
  _Version update only_
879
838
 
880
839
  ## 0.176.0
881
-
882
840
  Mon, 10 Dec 2018 21:19:45 GMT
883
841
 
884
842
  _Version update only_
885
843
 
886
844
  ## 0.175.0
887
-
888
845
  Mon, 10 Dec 2018 17:08:55 GMT
889
846
 
890
847
  _Version update only_
891
848
 
892
849
  ## 0.174.0
893
-
894
850
  Mon, 10 Dec 2018 13:24:09 GMT
895
851
 
896
852
  _Version update only_
897
853
 
898
854
  ## 0.173.0
899
-
900
855
  Thu, 06 Dec 2018 22:03:29 GMT
901
856
 
902
857
  ### Updates
@@ -904,13 +859,11 @@ Thu, 06 Dec 2018 22:03:29 GMT
904
859
  - Custom imodelJs noDirectImport lint rule implemented, noDuplicateImport lint rule turned on.
905
860
 
906
861
  ## 0.172.0
907
-
908
862
  Tue, 04 Dec 2018 17:24:39 GMT
909
863
 
910
864
  _Version update only_
911
865
 
912
866
  ## 0.171.0
913
-
914
867
  Mon, 03 Dec 2018 18:52:58 GMT
915
868
 
916
869
  ### Updates
@@ -918,13 +871,11 @@ Mon, 03 Dec 2018 18:52:58 GMT
918
871
  - Specify PromisedAssertion as a valid type to await on
919
872
 
920
873
  ## 0.170.0
921
-
922
874
  Mon, 26 Nov 2018 19:38:42 GMT
923
875
 
924
876
  _Version update only_
925
877
 
926
878
  ## 0.169.0
927
-
928
879
  Tue, 20 Nov 2018 16:17:15 GMT
929
880
 
930
881
  ### Updates
@@ -932,13 +883,11 @@ Tue, 20 Nov 2018 16:17:15 GMT
932
883
  - Turn on tslint no-floating-promises rule
933
884
 
934
885
  ## 0.168.0
935
-
936
886
  Sat, 17 Nov 2018 14:20:11 GMT
937
887
 
938
888
  _Version update only_
939
889
 
940
890
  ## 0.167.0
941
-
942
891
  Fri, 16 Nov 2018 21:45:44 GMT
943
892
 
944
893
  ### Updates
@@ -948,19 +897,16 @@ Fri, 16 Nov 2018 21:45:44 GMT
948
897
  - Turn on tslint no-return-await rule
949
898
 
950
899
  ## 0.166.0
951
-
952
900
  Mon, 12 Nov 2018 16:42:10 GMT
953
901
 
954
902
  _Version update only_
955
903
 
956
904
  ## 0.165.0
957
-
958
905
  Mon, 12 Nov 2018 15:47:00 GMT
959
906
 
960
907
  _Version update only_
961
908
 
962
909
  ## 0.164.0
963
-
964
910
  Thu, 08 Nov 2018 17:59:20 GMT
965
911
 
966
912
  ### Updates
@@ -970,7 +916,6 @@ Thu, 08 Nov 2018 17:59:20 GMT
970
916
  - Add "skipLibCheck" flag to avoid checking third-party declarations
971
917
 
972
918
  ## 0.163.0
973
-
974
919
  Wed, 31 Oct 2018 20:55:37 GMT
975
920
 
976
921
  ### Updates
@@ -978,7 +923,6 @@ Wed, 31 Oct 2018 20:55:37 GMT
978
923
  - Remove the cover script in favor of an nycrc configuration file.
979
924
 
980
925
  ## 0.162.0
981
-
982
926
  Wed, 24 Oct 2018 19:20:06 GMT
983
927
 
984
928
  ### Updates
@@ -986,31 +930,26 @@ Wed, 24 Oct 2018 19:20:06 GMT
986
930
  - Fail rush docs on invalid tags
987
931
 
988
932
  ## 0.161.0
989
-
990
933
  Fri, 19 Oct 2018 13:04:14 GMT
991
934
 
992
935
  _Version update only_
993
936
 
994
937
  ## 0.160.0
995
-
996
938
  Wed, 17 Oct 2018 18:18:38 GMT
997
939
 
998
940
  _Version update only_
999
941
 
1000
942
  ## 0.159.0
1001
-
1002
943
  Tue, 16 Oct 2018 14:09:09 GMT
1003
944
 
1004
945
  _Version update only_
1005
946
 
1006
947
  ## 0.158.0
1007
-
1008
948
  Mon, 15 Oct 2018 19:36:09 GMT
1009
949
 
1010
950
  _Version update only_
1011
951
 
1012
952
  ## 0.157.0
1013
-
1014
953
  Sun, 14 Oct 2018 17:20:06 GMT
1015
954
 
1016
955
  ### Updates
@@ -1018,9 +957,9 @@ Sun, 14 Oct 2018 17:20:06 GMT
1018
957
  - Fixing scripts for linux
1019
958
 
1020
959
  ## 0.156.0
1021
-
1022
960
  Fri, 12 Oct 2018 23:00:10 GMT
1023
961
 
1024
962
  ### Updates
1025
963
 
1026
964
  - Initial release
965
+
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright © 2017-2021 Bentley Systems, Incorporated. All rights reserved.
3
+ Copyright © 2017-2022 Bentley Systems, Incorporated. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/bin/betools.js CHANGED
@@ -107,7 +107,7 @@ function docsCommand(options) {
107
107
  const baseUrlOpt = options.baseUrl ? ["--baseUrl", options.baseUrl] : [];
108
108
  const includesOpt = options.includes ? ["--includes", options.includes] : [];
109
109
  const excludesOpt = options.excludes ? ["--excludes", options.excludes] : [];
110
- const excludesGlobOpt = options.excludes ? ["--excludeGlob", options.excludeGlob] : [];
110
+ const excludesGlobOpt = options.excludeGlob ? ["--excludeGlob", options.excludeGlob] : [];
111
111
  const indexFileOpt = options.tsIndexFile ? ["--tsIndexFile", options.tsIndexFile] : [];
112
112
  const onlyJsonOpt = options.onlyJson ? ["--onlyJson"] : [];
113
113
  exec(["node", path.resolve(__dirname, "../scripts/docs.js"),
@@ -13,7 +13,7 @@ if (debugLeaks)
13
13
  require("wtfnode");
14
14
  const path = require("path");
15
15
  const fs = require("fs-extra");
16
- const { logBuildWarning, logBuildError, failBuild } = require("../scripts/rush/utils");
16
+ const { logBuildWarning, logBuildError, failBuild } = require("../scripts/utils/utils");
17
17
  const Base = require("mocha/lib/reporters/base");
18
18
  const Spec = require("mocha/lib/reporters/spec");
19
19
  const MochaJUnitReporter = require("mocha-junit-reporter");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/build-tools",
3
- "version": "3.0.0-extension.1",
3
+ "version": "3.0.0",
4
4
  "description": "Bentley build tools",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@microsoft/api-extractor": "7.7.3",
24
24
  "chalk": "^3.0.0",
25
- "cpx": "^1.5.0",
25
+ "cpx2": "^3.0.0",
26
26
  "cross-spawn": "^7.0.1",
27
27
  "fs-extra": "^8.1.0",
28
28
  "glob": "^7.1.2",
@@ -31,16 +31,14 @@
31
31
  "recursive-readdir": "^2.2.2",
32
32
  "rimraf": "^3.0.2",
33
33
  "tree-kill": "^1.2.0",
34
- "tsconfig-paths": "^3.3.2",
35
- "typedoc": "^0.16.8",
36
- "typedoc-plugin-external-module-name": "3.0.0",
37
- "typedoc-plugin-internal-external": "2.1.1",
34
+ "typedoc": "^0.22.7",
35
+ "typedoc-plugin-merge-modules": "^3.0.2",
38
36
  "typescript": "~4.4.0",
39
37
  "wtfnode": "^0.9.1",
40
38
  "yargs": "^16.0.0"
41
39
  },
42
40
  "devDependencies": {
43
- "@itwin/eslint-plugin": "3.0.0-extension.1",
41
+ "@itwin/eslint-plugin": "3.0.0",
44
42
  "@types/node": "14.14.31",
45
43
  "eslint": "^7.11.0"
46
44
  },
@@ -61,5 +59,6 @@
61
59
  "lint": "eslint -f visualstudio --config package.json --no-eslintrc \"./src/**/*.ts\" 1>&2",
62
60
  "test": "",
63
61
  "cover": ""
64
- }
62
+ },
63
+ "readme": "# @itwin/build-tools\r\n\r\nCopyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.\r\n\r\n## Description\r\n\r\nThe **@itwin/build-tools** is a package for developers to consolidate the steps for building TypeScript-based packages. The tools contained in this package are written in either Typescript or Javascript within the src/ directory, and compiled for use into the lib/ directory. As a developer package, this package has only dependencies, no devDependencies.\r\n\r\n### tsconfig-base\r\n\r\nLocation: tsconfig-base.json\\\r\nRequires build: no\r\n\r\nThis file contains common tsconfig settings across all iTwin.js packages. Packages should extend this file in their own tsconfig.json file, and then overwrite and set new properties as needed. Note that this file is different from the tsconfig.json file for this package, as that contains different settings for bentleyjs-tools only.\r\n\r\n### NPM Scripts\r\n\r\nLocation: scripts/\\\r\nRequires build: no\r\n\r\nThe following node scripts are delivered in this package's scripts folder in order to ease development of iTwin.js packages with npm scripts. These scripts may require that additional packages be installed as dependencies of your package.\r\n\r\nThe default behaviors of the scripts (without parameters) assume that the directory structure of your package mirrors the following:\r\n\r\n- root\r\n - source\r\n - test\r\n - assets\r\n - lib\r\n - package.json\r\n - tsconfig.json\r\n\r\nThe following is a list of some of the most commonly used scripts within this package:\r\n\r\n#### docs.js\r\n\r\nThis script runs a TypeDoc command, with specific parameters, to generate html TypeScript documentation as well as a json representation of the documentation to be consumed for other purposes. It includes the following parameters:\r\n\r\n- source - specify the TypeScript source directory\r\n- out - specify the directory of the html output\r\n- json - specify the directory and filename of the json output\r\n- baseUrl - specify a baseUrl to resolve modules\r\n- onlyJson - including this option will skip the html output and only output the json file\r\n- includes - directory of files to include in documentation (ex: for sample code)\r\n- excludes - name of directory, files, or file extensions to exclude.\r\n - A list can be provided using a `,` as a separator\r\n - Each of the provided to exclude is added to a glob pattern which checks all directories within the source.\r\n - i.e `--excludes=test,docs/*.md` will translate to `**/{test,docs/*.md}/**/*`\r\n\r\n#### extract.js\r\n\r\nThis is a script designed to extract sample code from test.ts files in a specific directory. The sample code should be surrounded by comments containing \"\\_\\_PUBLISH_EXTRACT_START\\_\\_\" and \"\\_\\_PUBLISH_EXTRACT_END\\_\\_\" directives.\r\n\r\n- extractDir - the path at which the sample code files are located\r\n- outDir - the path at which to output the selected code\r\n\r\n#### pseudolocalize.js\r\n\r\nThis script handles translating an English localization JSON file into a pseudoLocalization file.\r\n"
65
64
  }
package/scripts/docs.js CHANGED
@@ -8,7 +8,7 @@ process.env.NODE_ENV = "prod";
8
8
 
9
9
  const paths = require("./config/paths");
10
10
  const path = require("path");
11
- const cpx = require("cpx");
11
+ const cpx = require("cpx2");
12
12
  const fs = require("fs");
13
13
  const { spawn, handleInterrupts } = require("./utils/simpleSpawn");
14
14
  const { validateTags } = require("./utils/validateTags");
@@ -26,7 +26,6 @@ const out = (argv.out === undefined) ? paths.appDocs : argv.out;
26
26
  const json = (argv.json === undefined) ? paths.appJsonDocs : argv.json;
27
27
 
28
28
  const baseUrlOptions = (argv.baseUrl === undefined) ? [] : ["--baseUrl", argv.baseUrl];
29
- console.log("Input: " + argv)
30
29
  const includeOptions = (argv.includes === undefined) ? [] : ["--includes", argv.includes];
31
30
 
32
31
  let excludeList = "**/node_modules/**/*,**/*test*/**/*";
@@ -35,6 +34,10 @@ if (argv.excludes !== undefined)
35
34
  if (argv.excludeGlob !== undefined)
36
35
  excludeList += "," + argv.excludeGlob;
37
36
 
37
+ excludeList = excludeList.replace(/,/g, ',--exclude,')
38
+ const excludeArray = excludeList.split(",");
39
+ excludeArray.unshift("--exclude");
40
+
38
41
  let outputOptions = [
39
42
  "--json", json
40
43
  ];
@@ -46,11 +49,14 @@ const readmeOption = (argv.readme === undefined) ? "none" : argv.readme;
46
49
 
47
50
  const options = [
48
51
  "--excludePrivate",
49
- "--experimentalDecorators",
50
- "--excludeExternals",
51
- "--excludeNotExported",
52
- "--ignoreCompilerErrors",
53
52
  "--hideGenerator",
53
+ "--logLevel",
54
+ "Error"
55
+ ];
56
+
57
+ const pluginOptions = [
58
+ "--plugin", "typedoc-plugin-merge-modules",
59
+ "--mergeModulesMergeMode", "module",
54
60
  ];
55
61
 
56
62
  if (argv.name) options.push("--name", argv.name);
@@ -58,16 +64,12 @@ if (argv.name) options.push("--name", argv.name);
58
64
  if (argv.theme) options.push("--theme", argv.theme);
59
65
 
60
66
  const args = [
61
- path.resolve(process.cwd(), source),
67
+ "--entryPointStrategy", "expand", path.resolve(process.cwd(), source),
62
68
  ...options,
63
- "--exclude", [excludeList],
69
+ ...excludeArray,
64
70
  ...outputOptions,
65
- "--mode", "modules",
66
71
  "--readme", readmeOption,
67
- "--module", "commonjs",
68
- "--plugin", "typedoc-plugin-external-module-name,typedoc-plugin-internal-external",
69
- "--external-aliases", "alpha,internal",
70
- "--internal-aliases", "UNUSED",
72
+ ...pluginOptions,
71
73
  ...baseUrlOptions,
72
74
  ...includeOptions
73
75
  ];
File without changes
@@ -16,6 +16,8 @@ const validTags = [
16
16
  "default",
17
17
  "example",
18
18
  "pattern",
19
+ "returns",
20
+ "internal",
19
21
 
20
22
  // Following flags are added to support API-extractor (https://api-extractor.com/pages/tsdoc/syntax/#release-tags)
21
23
  "alpha",
@@ -1,100 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- const fs = require("fs");
7
- const path = require("path");
8
- const { spawn } = require("child_process");
9
- const { logBuildError, logBuildWarning, failBuild, throwAfterTimeout } = require("./utils");
10
-
11
- const rushCommonDir = path.join(__dirname, "../../../../common/");
12
-
13
- (async () => {
14
- const commonTempDir = path.join(rushCommonDir, "config/rush");
15
-
16
- // Npm audit will occasionally take minutes to respond - we believe this is just the npm registry being terrible and slow.
17
- // We don't want this to slow down our builds though - we'd rather fail fast and try again later. So we'll just timeout after 30 seconds.
18
- let jsonOut = {};
19
- try {
20
- console.time("Audit time");
21
- jsonOut = await Promise.race([runPnpmAuditAsync(commonTempDir), throwAfterTimeout(180000, "Timed out contacting npm registry.")]);
22
- console.timeEnd("Audit time");
23
- console.log();
24
- } catch (error) {
25
- // We want to stop failing the build on transient failures and instead fail only on high/critical vulnerabilities.
26
- logBuildWarning(error);
27
- process.exit();
28
- }
29
-
30
- if (jsonOut.error) {
31
- console.error(jsonOut.error.summary);
32
- logBuildWarning("Rush audit failed. This may be caused by a problem with the npm audit server.");
33
- }
34
-
35
- // A list of temporary advisories excluded from the High and Critical list.
36
- // Warning this should only be used as a temporary measure to avoid build failures
37
- // for development dependencies only.
38
- // All security issues should be addressed asap.
39
- const excludedAdvisories = [
40
- "GHSA-8p5q-j9m2-g8wr", // https://github.com/advisories/GHSA-8p5q-j9m2-g8wr.
41
- "GHSA-ww39-953v-wcq6", // https://github.com/advisories/GHSA-ww39-953v-wcq6.
42
- "GHSA-8v27-2fg9-7h62", // https://github.com/advisories/GHSA-8v27-2fg9-7h62.
43
- "GHSA-33f9-j839-rf8h", // https://github.com/advisories/GHSA-33f9-j839-rf8h.
44
- "GHSA-c36v-fmgq-m8hx", // https://github.com/advisories/GHSA-c36v-fmgq-m8hx.
45
- "GHSA-4jqc-8m5r-9rpr", // https://github.com/advisories/GHSA-4jqc-8m5r-9rpr.
46
- "GHSA-whgm-jr23-g3j9", // https://github.com/advisories/GHSA-whgm-jr23-g3j9.
47
- ];
48
-
49
- let shouldFailBuild = false;
50
- for (const action of jsonOut.actions) {
51
- for (const issue of action.resolves) {
52
- const advisory = jsonOut.advisories[issue.id];
53
-
54
- // TODO: This path no longer resolves to a specific package in the repo. Need to figure out the best way to handle it
55
- const mpath = issue.path; // .replace("@rush-temp", "@bentley");
56
-
57
- const severity = advisory.severity.toUpperCase();
58
- const message = `${severity} Security Vulnerability: ${advisory.title} in ${advisory.module_name} (from ${mpath}). See ${advisory.url} for more info.`;
59
-
60
- // For now, we'll only treat CRITICAL and HIGH vulnerabilities as errors in CI builds.
61
- if (!excludedAdvisories.includes(advisory.github_advisory_id) && (severity === "HIGH" || severity === "CRITICAL")) {
62
- logBuildError(message);
63
- shouldFailBuild = true;
64
- } else if (excludedAdvisories.includes(advisory.github_advisory_id) || severity === "MODERATE") // Only warn on MODERATE severity items
65
- logBuildWarning(message);
66
- }
67
- }
68
-
69
- // For some reason yarn audit can return the json without the vulnerabilities
70
- if (undefined === jsonOut.metadata.vulnerabilities || shouldFailBuild)
71
- failBuild();
72
-
73
- process.exit();
74
- })();
75
-
76
- function runPnpmAuditAsync(cwd) {
77
- return new Promise((resolve, reject) => {
78
- // pnpm audit requires a package.json file so we temporarily create one and
79
- // then delete it later
80
- fs.writeFileSync(path.join(rushCommonDir, "config/rush/package.json"), JSON.stringify("{}", null, 2));
81
-
82
- console.log("Running audit");
83
- const pnpmPath = path.join(rushCommonDir, "temp/pnpm-local/node_modules/.bin/pnpm");
84
- const child = spawn(pnpmPath, ["audit", "--json"], { cwd, shell: true });
85
-
86
- let stdout = "";
87
- child.stdout.on('data', (data) => {
88
- stdout += data;
89
- });
90
-
91
- child.on('error', (data) => {
92
- fs.unlinkSync(path.join(rushCommonDir, "config/rush/package.json"));
93
- reject(data)
94
- });
95
- child.on('close', () => {
96
- fs.unlinkSync(path.join(rushCommonDir, "config/rush/package.json"));
97
- resolve(JSON.parse(stdout.trim()));
98
- });
99
- });
100
- }