@atlaspack/reporter-cli 2.15.1-canary.97 → 2.15.1-canary.99
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/lib/CLIReporter.js +4 -2
- package/lib/CLIReporter.js.map +1 -1
- package/package.json +6 -6
- package/src/CLIReporter.js +13 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/reporter-cli",
|
|
3
|
-
"version": "2.15.1-canary.
|
|
3
|
+
"version": "2.15.1-canary.99+30ee2cfcd",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@atlaspack/plugin": "2.14.5-canary.
|
|
30
|
-
"@atlaspack/types": "2.14.5-canary.
|
|
31
|
-
"@atlaspack/utils": "2.14.5-canary.
|
|
29
|
+
"@atlaspack/plugin": "2.14.5-canary.99+30ee2cfcd",
|
|
30
|
+
"@atlaspack/types": "2.14.5-canary.99+30ee2cfcd",
|
|
31
|
+
"@atlaspack/utils": "2.14.5-canary.99+30ee2cfcd",
|
|
32
32
|
"chalk": "^4.1.0",
|
|
33
33
|
"term-size": "^2.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@atlaspack/feature-flags": "2.14.1-canary.
|
|
36
|
+
"@atlaspack/feature-flags": "2.14.1-canary.167+30ee2cfcd",
|
|
37
37
|
"filesize": "^6.1.0",
|
|
38
38
|
"nullthrows": "^1.1.1",
|
|
39
39
|
"ora": "^5.2.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"wrap-ansi": "^7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"type": "commonjs",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "30ee2cfcd34cf2646ded0eda13fdb80a2a5de529"
|
|
45
45
|
}
|
package/src/CLIReporter.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
prettifyTime,
|
|
10
10
|
prettyDiagnostic,
|
|
11
11
|
throttle,
|
|
12
|
+
debugTools,
|
|
12
13
|
} from '@atlaspack/utils';
|
|
13
14
|
import chalk from 'chalk';
|
|
14
15
|
|
|
@@ -134,12 +135,18 @@ export async function _report(
|
|
|
134
135
|
);
|
|
135
136
|
|
|
136
137
|
if (options.mode === 'production') {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
if (debugTools['simple-cli-reporter']) {
|
|
139
|
+
writeOut(
|
|
140
|
+
`🛠️ Built ${event.bundleGraph.getBundles().length} bundles.`,
|
|
141
|
+
);
|
|
142
|
+
} else {
|
|
143
|
+
await bundleReport(
|
|
144
|
+
event.bundleGraph,
|
|
145
|
+
options.outputFS,
|
|
146
|
+
options.projectRoot,
|
|
147
|
+
options.detailedReport?.assetsPerBundle,
|
|
148
|
+
);
|
|
149
|
+
}
|
|
143
150
|
} else {
|
|
144
151
|
pendingIncrementalBuild = true;
|
|
145
152
|
}
|