@datapos/datapos-development 0.3.328 → 0.3.329

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.
@@ -7977,7 +7977,7 @@ async function xl() {
7977
7977
  const Sr = "<!-- DEPENDENCY_LICENSES_START -->", il = "<!-- DEPENDENCY_LICENSES_END -->";
7978
7978
  async function gl(e = [], t = !0) {
7979
7979
  try {
7980
- Re("Document Dependencies"), await Li();
7980
+ Re("Document Dependencies"), await Li(), console.log(1111, process.env);
7981
7981
  const i = e.flatMap((n) => ["--allowed", `'${n}'`]), r = Bs(new Zs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7982
7982
  await Te(
7983
7983
  "1️⃣ Generate 'licenses.json' file",
@@ -7989,7 +7989,15 @@ async function gl(e = [], t = !0) {
7989
7989
  "license-report-recursive",
7990
7990
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
7991
7991
  "licenses/licenseTree.json"
7992
- ), await Te("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...i])) : (re("3️⃣ Skip 'licenses/licenseTree.json' file generate"), re("4️⃣ Skip 'licenses/licenseTree.json' file check")), await Bh("licenses/downloads"), await Te("5️⃣ Download license files", "license-downloader", ["--source", "licenses/licenses.json", "--licDir", "licenses/downloads", "--download"]), await rl("6️⃣", t), Fe("Dependencies documented.");
7992
+ ), await Te("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...i])) : (re("3️⃣ Skip 'licenses/licenseTree.json' file generate"), re("4️⃣ Skip 'licenses/licenseTree.json' file check")), await Bh("licenses/downloads"), await Te("5️⃣ Download license files", "license-downloader", [
7993
+ "--source",
7994
+ "licenses/licenses.json",
7995
+ "--licDir",
7996
+ "licenses/downloads",
7997
+ "--githubToken.tokenEnvVar",
7998
+ "GITHUB_DOWNLOAD_LICENSE_API_TOKEN",
7999
+ "--download"
8000
+ ]), await rl("6️⃣", t), Fe("Dependencies documented.");
7993
8001
  } catch (i) {
7994
8002
  console.error("❌ Error documenting dependencies.", i), process.exit(1);
7995
8003
  }