@dpuse/dpuse-development 0.3.685 → 0.3.686
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.
|
@@ -6095,7 +6095,7 @@ async function Er(e = "MIT") {
|
|
|
6095
6095
|
K("Document Dependencies");
|
|
6096
6096
|
let t = await W("package.json");
|
|
6097
6097
|
if (t.name === "@dpuse/dpuse-development" || t.name === "@dpuse/eslint-config-dpuse") {
|
|
6098
|
-
await Dr(), q("Dependencies documented");
|
|
6098
|
+
await Dr(t.name), q("Dependencies documented");
|
|
6099
6099
|
return;
|
|
6100
6100
|
}
|
|
6101
6101
|
await Mn("1️⃣ Clear downloaded licenses", "licenses/downloads"), J("2️⃣ Identify production licenses"), await new Promise((n, r) => {
|
|
@@ -6122,10 +6122,10 @@ async function Er(e = "MIT") {
|
|
|
6122
6122
|
console.error("❌ Error documenting dependencies", e), process.exit(1);
|
|
6123
6123
|
}
|
|
6124
6124
|
}
|
|
6125
|
-
async function Dr() {
|
|
6126
|
-
J(
|
|
6127
|
-
let
|
|
6128
|
-
await zn("README.md", Wn(Wn(await G("./README.md"),
|
|
6125
|
+
async function Dr(e) {
|
|
6126
|
+
J(`1️⃣ Skip: ${e} is a development-only tool and is never part of a production release.`);
|
|
6127
|
+
let t = `> [!WARNING]\n> Dependency licenses are not documented here: ${e} is a development-only tool and is never part of a production release.`;
|
|
6128
|
+
await zn("README.md", Wn(Wn(await G("./README.md"), t, xr, Sr), "", Cr, wr));
|
|
6129
6129
|
}
|
|
6130
6130
|
async function Or(e, t) {
|
|
6131
6131
|
J(`${e} Insert licenses into 'README.md'`);
|