prunify 0.1.4 → 0.1.5
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/dist/cli.cjs +8 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1363,7 +1363,10 @@ async function main(opts) {
|
|
|
1363
1363
|
);
|
|
1364
1364
|
if (result.report) {
|
|
1365
1365
|
deadReportFile = "dead-code.txt";
|
|
1366
|
-
|
|
1366
|
+
const banner = `prunify ${PKG_VERSION} \u2014 ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
1367
|
+
|
|
1368
|
+
`;
|
|
1369
|
+
writeReport(reportsDir, deadReportFile, banner + result.report);
|
|
1367
1370
|
}
|
|
1368
1371
|
}
|
|
1369
1372
|
if (modules.includes("dupes")) {
|
|
@@ -1397,7 +1400,10 @@ async function main(opts) {
|
|
|
1397
1400
|
cycleLines.push(` \u21BB ${rel(cycle[0])} (back to start)`);
|
|
1398
1401
|
cycleLines.push("");
|
|
1399
1402
|
}
|
|
1400
|
-
|
|
1403
|
+
const banner = `prunify ${PKG_VERSION} \u2014 ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
1404
|
+
|
|
1405
|
+
`;
|
|
1406
|
+
writeReport(reportsDir, circularReportFile, banner + cycleLines.join("\n"));
|
|
1401
1407
|
}
|
|
1402
1408
|
}
|
|
1403
1409
|
if (modules.includes("deps")) {
|