@datapos/datapos-development 0.3.289 → 0.3.290
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.
|
@@ -7674,10 +7674,10 @@ function Ii(e) {
|
|
|
7674
7674
|
}), r;
|
|
7675
7675
|
}
|
|
7676
7676
|
async function ve(e, t, i = [], r) {
|
|
7677
|
-
const n =
|
|
7678
|
-
e !== void 0 && se(`${e} - exec(${
|
|
7679
|
-
const { stdout:
|
|
7680
|
-
r === void 0 ?
|
|
7677
|
+
const n = `${t} ${i.join(" ")}`;
|
|
7678
|
+
e !== void 0 && se(`${e} - exec(${n})`);
|
|
7679
|
+
const { stdout: u, stderr: h } = await Rh(n);
|
|
7680
|
+
r === void 0 ? u.trim() && console.log(u.trim()) : await Ce.writeFile(r, u.trim(), "utf8"), h.trim() && console.error(h.trim());
|
|
7681
7681
|
}
|
|
7682
7682
|
async function Dh(e, t) {
|
|
7683
7683
|
return Ce.readdir(e, t);
|
|
@@ -7976,7 +7976,7 @@ async function lp(e = [], t = !0) {
|
|
|
7976
7976
|
"2️⃣ Generate 'licenses.md' file",
|
|
7977
7977
|
"license-report",
|
|
7978
7978
|
// ['--config', 'licenses/license-report-config.json', '--only=prod,peer', '--output=markdown'],
|
|
7979
|
-
["--config", r
|
|
7979
|
+
["--config", `'${r}'`, "--only=prod,peer", "--output=markdown"],
|
|
7980
7980
|
"licenses.md"
|
|
7981
7981
|
), await ve("3️⃣ Check 'licenses.json' file", "license-report-check", ["--source", "./licenses.json", "--output=table", ...i]), t ? (await ve(
|
|
7982
7982
|
"4️⃣ Generate 'licenseTree.json' file",
|
package/package.json
CHANGED