@dpuse/dpuse-development 0.3.721 → 0.3.723
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/README.md +6 -6
- package/dist/dpuse-development.es.js +77 -61
- package/dist/dpuse-development.es.js.map +1 -1
- package/package.json +5 -5
- package/vite.config.default.ts +2 -1
- package/vite.config.tool.ts +2 -1
- package/vite.config.wasm.ts +2 -1
- package/vitest.config.ts +8 -0
- package/.gitignore_npm_published +0 -30
package/README.md
CHANGED
|
@@ -104,9 +104,9 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
104
104
|
|
|
105
105
|
|Chunk/Module/File|Composition|
|
|
106
106
|
|:------ |:-----------|
|
|
107
|
-
| dist/dpuse-development.es.js | 312.
|
|
108
|
-
| acorn → dist/acorn.mjs | `████████░░░░░░░░░░░░` 41.
|
|
109
|
-
| acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 36.
|
|
107
|
+
| dist/dpuse-development.es.js | 312.9 kB · brotli 63.4 kB |
|
|
108
|
+
| acorn → dist/acorn.mjs | `████████░░░░░░░░░░░░` 41.8% |
|
|
109
|
+
| acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 36.6% |
|
|
110
110
|
| src | `██░░░░░░░░░░░░░░░░░░` 10.7% |
|
|
111
111
|
| manageProject.ts | `░░░░░░░░░░░░░░░░░░░░` 1.8% |
|
|
112
112
|
| documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.8% |
|
|
@@ -123,10 +123,10 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
123
123
|
| auditDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
124
124
|
| lintCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
125
125
|
| (unassigned) → [unassigned] | `█░░░░░░░░░░░░░░░░░░░` 7.1% |
|
|
126
|
-
| @dpuse/dpuse-shared | `█░░░░░░░░░░░░░░░░░░░` 3.
|
|
127
|
-
| dist/componentConfig.schema-
|
|
126
|
+
| @dpuse/dpuse-shared | `█░░░░░░░░░░░░░░░░░░░` 3.6% |
|
|
127
|
+
| dist/componentConfig.schema-DT3mO5rS.js | `█░░░░░░░░░░░░░░░░░░░` 2.7% |
|
|
128
128
|
| dist/dpuse-shared-componentModuleConnector.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.7% |
|
|
129
|
-
| dist/moduleConfig.schema-
|
|
129
|
+
| dist/moduleConfig.schema-aYmFWSrn.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
130
130
|
| dist/dpuse-shared-componentModulePresenter.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
131
131
|
| valibot → dist/index.mjs | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
132
132
|
|
|
@@ -5768,7 +5768,7 @@ async function Pn(e, n) {
|
|
|
5768
5768
|
async function Fn(e, n, r, i) {
|
|
5769
5769
|
e !== void 0 && J(`${e} - exec(${n} ${r.join(" ")})`);
|
|
5770
5770
|
let { stdout: a, stderr: o } = await Mn(n, r);
|
|
5771
|
-
i === void 0 ? a.trim() && console.log(a.trim()) : await t.writeFile(i, a.trim(), "
|
|
5771
|
+
i === void 0 ? a.trim() && console.log(a.trim()) : await t.writeFile(i, a.trim(), "utf-8"), o.trim() && console.error(o.trim());
|
|
5772
5772
|
}
|
|
5773
5773
|
async function U(e, t, n, r = !1, i = !1) {
|
|
5774
5774
|
return J(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
|
|
@@ -5795,7 +5795,7 @@ async function In(e, n, r, i, o = !1) {
|
|
|
5795
5795
|
}), c.on("close", (r) => {
|
|
5796
5796
|
r === 0 || o ? (async () => {
|
|
5797
5797
|
try {
|
|
5798
|
-
await t.writeFile(i, l, "
|
|
5798
|
+
await t.writeFile(i, l, "utf-8"), e();
|
|
5799
5799
|
} catch (e) {
|
|
5800
5800
|
s(e instanceof Error ? e : Error(String(e)));
|
|
5801
5801
|
}
|
|
@@ -5804,24 +5804,24 @@ async function In(e, n, r, i, o = !1) {
|
|
|
5804
5804
|
});
|
|
5805
5805
|
}
|
|
5806
5806
|
async function W(e) {
|
|
5807
|
-
return JSON.parse(await t.readFile(e, "
|
|
5807
|
+
return JSON.parse(await t.readFile(e, "utf-8"));
|
|
5808
5808
|
}
|
|
5809
5809
|
async function G(e) {
|
|
5810
|
-
return await t.readFile(e, "
|
|
5810
|
+
return await t.readFile(e, "utf-8");
|
|
5811
5811
|
}
|
|
5812
5812
|
async function Ln(e) {
|
|
5813
5813
|
try {
|
|
5814
|
-
return await t.readFile(e, "
|
|
5814
|
+
return await t.readFile(e, "utf-8");
|
|
5815
5815
|
} catch (e) {
|
|
5816
5816
|
if (e.code === "ENOENT") return null;
|
|
5817
5817
|
throw e;
|
|
5818
5818
|
}
|
|
5819
5819
|
}
|
|
5820
5820
|
async function Rn(e, n) {
|
|
5821
|
-
await t.writeFile(e, JSON.stringify(n, void 0, 4), "
|
|
5821
|
+
await t.writeFile(e, JSON.stringify(n, void 0, 4), "utf-8");
|
|
5822
5822
|
}
|
|
5823
5823
|
async function zn(e, n) {
|
|
5824
|
-
await t.writeFile(e, n, "
|
|
5824
|
+
await t.writeFile(e, n, "utf-8");
|
|
5825
5825
|
}
|
|
5826
5826
|
function K(e) {
|
|
5827
5827
|
let t = "────────────────────────────────────────────────────────────────────────────────";
|
|
@@ -5894,7 +5894,7 @@ async function Kn() {
|
|
|
5894
5894
|
try {
|
|
5895
5895
|
K("Check configuration files"), J("1️⃣ Check individual files");
|
|
5896
5896
|
let e = Bn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
|
|
5897
|
-
await Y(t, ".editorconfig"), await qn(e, t), await Y(t, ".gitignore", [
|
|
5897
|
+
await Y(t, ".editorconfig"), await qn(e, t), await Y(t, ".gitignore", [".gitignore_default"]), await Y(t, ".markdownlint.json"), await Y(t, ".ncurc.json"), await Jn(e, t), await Y(t, "LICENSE"), await Yn(e, t), await Xn(e, t), await Zn(e, t), await Qn(e, t), q("Configuration files checked");
|
|
5898
5898
|
} catch (e) {
|
|
5899
5899
|
console.error("❌ Error checking configuration files", e), process.exit(1);
|
|
5900
5900
|
}
|
|
@@ -6326,7 +6326,7 @@ This project is licensed under the MIT License, permitting free use, modificatio
|
|
|
6326
6326
|
[MIT](./LICENSE) © ${r}-present ${n}`;
|
|
6327
6327
|
}
|
|
6328
6328
|
//#endregion
|
|
6329
|
-
//#region node_modules/@dpuse/dpuse-shared/dist/componentConfig.schema-
|
|
6329
|
+
//#region node_modules/@dpuse/dpuse-shared/dist/componentConfig.schema-DT3mO5rS.js
|
|
6330
6330
|
var Kr = {
|
|
6331
6331
|
lang: void 0,
|
|
6332
6332
|
message: void 0,
|
|
@@ -6488,57 +6488,6 @@ function ii(e) {
|
|
|
6488
6488
|
});
|
|
6489
6489
|
}
|
|
6490
6490
|
/* @__NO_SIDE_EFFECTS__ */
|
|
6491
|
-
function Q(e, t) {
|
|
6492
|
-
return Qr({
|
|
6493
|
-
kind: "schema",
|
|
6494
|
-
type: "object",
|
|
6495
|
-
reference: Q,
|
|
6496
|
-
expects: "Object",
|
|
6497
|
-
async: !1,
|
|
6498
|
-
entries: e,
|
|
6499
|
-
message: t,
|
|
6500
|
-
"~run"(e, t) {
|
|
6501
|
-
let n = e.value;
|
|
6502
|
-
if (n && typeof n == "object") {
|
|
6503
|
-
e.typed = !0, e.value = {};
|
|
6504
|
-
for (let r in this.entries) {
|
|
6505
|
-
let i = this.entries[r];
|
|
6506
|
-
if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
|
|
6507
|
-
let a = r in n ? n[r] : /* @__PURE__ */ ei(i), o = i["~run"]({ value: a }, t);
|
|
6508
|
-
if (o.issues) {
|
|
6509
|
-
let i = {
|
|
6510
|
-
type: "object",
|
|
6511
|
-
origin: "value",
|
|
6512
|
-
input: n,
|
|
6513
|
-
key: r,
|
|
6514
|
-
value: a
|
|
6515
|
-
};
|
|
6516
|
-
for (let t of o.issues) t.path ? t.path.unshift(i) : t.path = [i], e.issues?.push(t);
|
|
6517
|
-
if (e.issues ||= o.issues, t.abortEarly) {
|
|
6518
|
-
e.typed = !1;
|
|
6519
|
-
break;
|
|
6520
|
-
}
|
|
6521
|
-
}
|
|
6522
|
-
o.typed || (e.typed = !1), e.value[r] = o.value;
|
|
6523
|
-
} else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ $r(i);
|
|
6524
|
-
else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (X(this, "key", e, t, {
|
|
6525
|
-
input: void 0,
|
|
6526
|
-
expected: `"${r}"`,
|
|
6527
|
-
path: [{
|
|
6528
|
-
type: "object",
|
|
6529
|
-
origin: "key",
|
|
6530
|
-
input: n,
|
|
6531
|
-
key: r,
|
|
6532
|
-
value: n[r]
|
|
6533
|
-
}]
|
|
6534
|
-
}), t.abortEarly)) break;
|
|
6535
|
-
}
|
|
6536
|
-
} else X(this, "type", e, t);
|
|
6537
|
-
return e;
|
|
6538
|
-
}
|
|
6539
|
-
});
|
|
6540
|
-
}
|
|
6541
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
6542
6491
|
function ai(e, t) {
|
|
6543
6492
|
return Qr({
|
|
6544
6493
|
kind: "schema",
|
|
@@ -6607,6 +6556,73 @@ function oi(e, t, n) {
|
|
|
6607
6556
|
});
|
|
6608
6557
|
}
|
|
6609
6558
|
/* @__NO_SIDE_EFFECTS__ */
|
|
6559
|
+
function Q(e, t) {
|
|
6560
|
+
return Qr({
|
|
6561
|
+
kind: "schema",
|
|
6562
|
+
type: "strict_object",
|
|
6563
|
+
reference: Q,
|
|
6564
|
+
expects: "Object",
|
|
6565
|
+
async: !1,
|
|
6566
|
+
entries: e,
|
|
6567
|
+
message: t,
|
|
6568
|
+
"~run"(e, t) {
|
|
6569
|
+
let n = e.value;
|
|
6570
|
+
if (n && typeof n == "object") {
|
|
6571
|
+
e.typed = !0, e.value = {};
|
|
6572
|
+
for (let r in this.entries) {
|
|
6573
|
+
let i = this.entries[r];
|
|
6574
|
+
if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
|
|
6575
|
+
let a = r in n ? n[r] : /* @__PURE__ */ ei(i), o = i["~run"]({ value: a }, t);
|
|
6576
|
+
if (o.issues) {
|
|
6577
|
+
let i = {
|
|
6578
|
+
type: "object",
|
|
6579
|
+
origin: "value",
|
|
6580
|
+
input: n,
|
|
6581
|
+
key: r,
|
|
6582
|
+
value: a
|
|
6583
|
+
};
|
|
6584
|
+
for (let t of o.issues) t.path ? t.path.unshift(i) : t.path = [i], e.issues?.push(t);
|
|
6585
|
+
if (e.issues ||= o.issues, t.abortEarly) {
|
|
6586
|
+
e.typed = !1;
|
|
6587
|
+
break;
|
|
6588
|
+
}
|
|
6589
|
+
}
|
|
6590
|
+
o.typed || (e.typed = !1), e.value[r] = o.value;
|
|
6591
|
+
} else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ $r(i);
|
|
6592
|
+
else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (X(this, "key", e, t, {
|
|
6593
|
+
input: void 0,
|
|
6594
|
+
expected: `"${r}"`,
|
|
6595
|
+
path: [{
|
|
6596
|
+
type: "object",
|
|
6597
|
+
origin: "key",
|
|
6598
|
+
input: n,
|
|
6599
|
+
key: r,
|
|
6600
|
+
value: n[r]
|
|
6601
|
+
}]
|
|
6602
|
+
}), t.abortEarly)) break;
|
|
6603
|
+
}
|
|
6604
|
+
if (!e.issues || !t.abortEarly) {
|
|
6605
|
+
for (let r in n) if (!Object.prototype.hasOwnProperty.call(this.entries, r)) {
|
|
6606
|
+
X(this, "key", e, t, {
|
|
6607
|
+
input: r,
|
|
6608
|
+
expected: "never",
|
|
6609
|
+
path: [{
|
|
6610
|
+
type: "object",
|
|
6611
|
+
origin: "key",
|
|
6612
|
+
input: n,
|
|
6613
|
+
key: r,
|
|
6614
|
+
value: n[r]
|
|
6615
|
+
}]
|
|
6616
|
+
});
|
|
6617
|
+
break;
|
|
6618
|
+
}
|
|
6619
|
+
}
|
|
6620
|
+
} else X(this, "type", e, t);
|
|
6621
|
+
return e;
|
|
6622
|
+
}
|
|
6623
|
+
});
|
|
6624
|
+
}
|
|
6625
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
6610
6626
|
function $(e) {
|
|
6611
6627
|
return Qr({
|
|
6612
6628
|
kind: "schema",
|
|
@@ -6731,7 +6747,7 @@ var li = /* @__PURE__ */ Q({
|
|
|
6731
6747
|
"tool"
|
|
6732
6748
|
]);
|
|
6733
6749
|
//#endregion
|
|
6734
|
-
//#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-
|
|
6750
|
+
//#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-aYmFWSrn.js
|
|
6735
6751
|
var yi = {
|
|
6736
6752
|
...vi,
|
|
6737
6753
|
vendorAccountURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
|