@atlaspack/reporter-cli 2.14.1-dev.142 → 2.14.1-dev.145

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,5 +1,72 @@
1
1
  # @atlaspack/reporter-cli
2
2
 
3
+ ## 2.15.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/utils@2.14.8
9
+ - @atlaspack/types@2.14.8
10
+ - @atlaspack/plugin@2.14.8
11
+
12
+ ## 2.15.3
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies []:
17
+ - @atlaspack/utils@2.14.7
18
+ - @atlaspack/types@2.14.7
19
+ - @atlaspack/plugin@2.14.7
20
+
21
+ ## 2.15.2
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies []:
26
+ - @atlaspack/utils@2.14.6
27
+ - @atlaspack/types@2.14.6
28
+ - @atlaspack/plugin@2.14.6
29
+
30
+ ## 2.15.1
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies []:
35
+ - @atlaspack/utils@2.14.5
36
+ - @atlaspack/types@2.14.5
37
+ - @atlaspack/plugin@2.14.5
38
+
39
+ ## 2.15.0
40
+
41
+ ### Minor Changes
42
+
43
+ - [#524](https://github.com/atlassian-labs/atlaspack/pull/524) [`41f62c4`](https://github.com/atlassian-labs/atlaspack/commit/41f62c4479595808d8426c1e674d69fbe1bf0d5e) Thanks [@yamadapc](https://github.com/yamadapc)! - Log the time it takes to write the cache
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies []:
48
+ - @atlaspack/utils@2.14.4
49
+ - @atlaspack/types@2.14.4
50
+ - @atlaspack/plugin@2.14.4
51
+
52
+ ## 2.14.3
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies []:
57
+ - @atlaspack/utils@2.14.3
58
+ - @atlaspack/types@2.14.3
59
+ - @atlaspack/plugin@2.14.3
60
+
61
+ ## 2.14.2
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies []:
66
+ - @atlaspack/utils@2.14.2
67
+ - @atlaspack/types@2.14.2
68
+ - @atlaspack/plugin@2.14.2
69
+
3
70
  ## 2.14.1
4
71
 
5
72
  ### Patch Changes
@@ -7626,6 +7626,9 @@ let $8d599e7fbf3e1a1b$var$pendingIncrementalBuild = false;
7626
7626
  let $8d599e7fbf3e1a1b$var$statusThrottle = (0, $7rpTs$atlaspackutils.throttle)((message)=>{
7627
7627
  (0, $4d92a08f685d99f5$export$4d1e990956674874)(message);
7628
7628
  }, $8d599e7fbf3e1a1b$var$THROTTLE_DELAY);
7629
+ const $8d599e7fbf3e1a1b$var$cacheWriteState = {
7630
+ startTime: null
7631
+ };
7629
7632
  async function $8d599e7fbf3e1a1b$export$12358408d9820617(event, options) {
7630
7633
  let logLevelFilter = (0, $1872afea1de141e6$export$2e2bcd8739ae039)[options.logLevel || 'info'];
7631
7634
  switch(event.type){
@@ -7682,9 +7685,11 @@ async function $8d599e7fbf3e1a1b$export$12358408d9820617(event, options) {
7682
7685
  if (event.size > 500000) switch(event.phase){
7683
7686
  case 'start':
7684
7687
  (0, $4d92a08f685d99f5$export$4d1e990956674874)('Writing cache to disk');
7688
+ $8d599e7fbf3e1a1b$var$cacheWriteState.startTime = Date.now();
7685
7689
  break;
7686
7690
  case 'end':
7687
- (0, $4d92a08f685d99f5$export$82e857520ce3d14e)('cache', 'success', (0, ($parcel$interopDefault($7rpTs$chalk))).grey.bold(`Cache written to disk`));
7691
+ (0, $4d92a08f685d99f5$export$82e857520ce3d14e)('cache', 'success', (0, ($parcel$interopDefault($7rpTs$chalk))).grey.bold(`Cache written to disk in ${(0, $7rpTs$atlaspackutils.prettifyTime)(Date.now() - ($8d599e7fbf3e1a1b$var$cacheWriteState.startTime ?? 0))}`));
7692
+ $8d599e7fbf3e1a1b$var$cacheWriteState.startTime = null;
7688
7693
  break;
7689
7694
  }
7690
7695
  break;