@datapos/datapos-development 0.3.289 → 0.3.291
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);
|
|
@@ -7975,8 +7975,7 @@ async function lp(e = [], t = !0) {
|
|
|
7975
7975
|
await ve(
|
|
7976
7976
|
"2️⃣ Generate 'licenses.md' file",
|
|
7977
7977
|
"license-report",
|
|
7978
|
-
|
|
7979
|
-
["--config", r, "--only=prod,peer", "--output=markdown"],
|
|
7978
|
+
["--config", `'${r}'`, "--only=prod,peer", "--output=markdown"],
|
|
7980
7979
|
"licenses.md"
|
|
7981
7980
|
), await ve("3️⃣ Check 'licenses.json' file", "license-report-check", ["--source", "./licenses.json", "--output=table", ...i]), t ? (await ve(
|
|
7982
7981
|
"4️⃣ Generate 'licenseTree.json' file",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-development",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.291",
|
|
4
4
|
"description": "A library of utilities used to manage Data Positioning repositories.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|
|
@@ -21,13 +21,11 @@
|
|
|
21
21
|
"import": "./dist/datapos-development.es.js",
|
|
22
22
|
"types": "./dist/types/src/index.d.ts"
|
|
23
23
|
},
|
|
24
|
-
"./prettierrc": "./.prettierrc.json"
|
|
25
|
-
"./license-report-config": "./licenses/license-report-config.json"
|
|
24
|
+
"./prettierrc": "./.prettierrc.json"
|
|
26
25
|
},
|
|
27
26
|
"files": [
|
|
28
27
|
"dist",
|
|
29
|
-
".prettierrc.json"
|
|
30
|
-
"licenses/license-report-config.json"
|
|
28
|
+
".prettierrc.json"
|
|
31
29
|
],
|
|
32
30
|
"dependencies": {
|
|
33
31
|
"@datapos/datapos-shared": "^0.3.290",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"output": "markdown",
|
|
3
|
-
"fields": ["name", "licenseType", "installedVersion", "latestRemoteVersion", "latestRemoteModified"],
|
|
4
|
-
"tablemarkOptions": {
|
|
5
|
-
"columns": [
|
|
6
|
-
{ "name": "Name", "align": "left" },
|
|
7
|
-
{ "name": "Type", "align": "center" },
|
|
8
|
-
{ "name": "Installed", "align": "center" },
|
|
9
|
-
{ "name": "Latest", "align": "center" },
|
|
10
|
-
{ "name": "Latest Modified", "align": "left" }
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|