@dpuse/dpuse-development 0.3.716 → 0.3.718

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.
@@ -5733,6 +5733,12 @@ var jn = [
5733
5733
  typeId: "eslint",
5734
5734
  publishedTo: "npm",
5735
5735
  uploadGroupName: void 0
5736
+ },
5737
+ {
5738
+ idPrefix: "github",
5739
+ typeId: "github",
5740
+ publishedTo: "github",
5741
+ uploadGroupName: void 0
5736
5742
  }
5737
5743
  ], Mn = r(i);
5738
5744
  async function Nn(e, r) {
@@ -5888,7 +5894,7 @@ async function Kn() {
5888
5894
  try {
5889
5895
  K("Check configuration files"), J("1️⃣ Check individual files");
5890
5896
  let e = Bn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5891
- await Y(t, ".editorconfig"), await qn(e, t), await Y(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_npm_published" : ".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 Y(t, "tsconfig.scripts.json"), await Xn(e, t), await Zn(e, t), q("Configuration files checked");
5897
+ await Y(t, ".editorconfig"), await qn(e, t), await Y(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_npm_published" : ".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");
5892
5898
  } catch (e) {
5893
5899
  console.error("❌ Error checking configuration files", e), process.exit(1);
5894
5900
  }
@@ -5897,7 +5903,7 @@ async function qn(e, t) {
5897
5903
  ["development"].includes(e.typeId) ? console.info("ℹ️ File '.gitattributes' is UNIQUE to this project") : await Y(t, ".gitattributes", [".gitattributes_default"]);
5898
5904
  }
5899
5905
  async function Jn(e, t) {
5900
- [
5906
+ ["github", "kb"].includes(e.typeId) ? console.info("ℹ️ File 'eslint.config.js' is NOT required by this project") : [
5901
5907
  "app",
5902
5908
  "api",
5903
5909
  "development",
@@ -5905,7 +5911,7 @@ async function Jn(e, t) {
5905
5911
  ].includes(e.typeId) ? console.info("ℹ️ File 'eslint.config.js' is UNIQUE to this project") : await Y(t, "eslint.config.js", ["eslint.config.default.js"]);
5906
5912
  }
5907
5913
  async function Yn(e, t) {
5908
- [
5914
+ ["github"].includes(e.typeId) ? console.info("ℹ️ File 'tsconfig.json' is NOT required by this project") : [
5909
5915
  "connector",
5910
5916
  "engine",
5911
5917
  "shared",
@@ -5913,7 +5919,14 @@ async function Yn(e, t) {
5913
5919
  ].includes(e.typeId) ? await Y(t, "tsconfig.json", ["tsconfig.default.json"]) : console.info("ℹ️ File 'tsconfig.json' is UNIQUE to this project");
5914
5920
  }
5915
5921
  async function Xn(e, t) {
5916
- if (["eslint", "kb"].includes(e.typeId)) console.info("ℹ️ File 'vite.config.ts' is NOT required by this project");
5922
+ ["github"].includes(e.typeId) ? console.info("ℹ️ File 'tsconfig.scripts.json' is NOT required by this project") : await Y(t, "tsconfig.scripts.json");
5923
+ }
5924
+ async function Zn(e, t) {
5925
+ if ([
5926
+ "eslint",
5927
+ "github",
5928
+ "kb"
5929
+ ].includes(e.typeId)) console.info("ℹ️ File 'vite.config.ts' is NOT required by this project");
5917
5930
  else if ([
5918
5931
  "app",
5919
5932
  "api",
@@ -5926,11 +5939,12 @@ async function Xn(e, t) {
5926
5939
  n = e.typeId === "connector" ? ["vite.config.default.ts", "vite.config.wasm.ts"] : e.typeId === "tool" ? ["vite.config.tool.ts"] : ["vite.config.default.ts"], await Y(t, "vite.config.ts", n);
5927
5940
  }
5928
5941
  }
5929
- async function Zn(e, t) {
5942
+ async function Qn(e, t) {
5930
5943
  [
5931
5944
  "app",
5932
5945
  "api",
5933
5946
  "eslint",
5947
+ "github",
5934
5948
  "kb"
5935
5949
  ].includes(e.typeId) ? console.info("ℹ️ File 'vitest.config.ts' is NOT required by this project") : await Y(t, "vitest.config.ts");
5936
5950
  }
@@ -5952,7 +5966,7 @@ async function Y(e, t, r = []) {
5952
5966
  }
5953
5967
  //#endregion
5954
5968
  //#region src/actions/checkDependencies.ts
5955
- async function Qn() {
5969
+ async function $n() {
5956
5970
  try {
5957
5971
  K("Check Dependencies"), await U("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), J("2️⃣ Check using 'npm-check-updates'");
5958
5972
  let e = {};
@@ -5972,7 +5986,7 @@ async function Qn() {
5972
5986
  "--prefer-online",
5973
5987
  "--no-strict-allow-scripts"
5974
5988
  ]);
5975
- let t = await $n();
5989
+ let t = await er();
5976
5990
  t.length > 0 ? await U("4️⃣ Move install-script pins to installed versions", "npm", [
5977
5991
  "install-scripts",
5978
5992
  "approve",
@@ -5986,84 +6000,84 @@ async function Qn() {
5986
6000
  console.error("❌ Error checking dependencies", e), process.exit(1);
5987
6001
  }
5988
6002
  }
5989
- async function $n() {
6003
+ async function er() {
5990
6004
  let { allowScripts: e = {} } = await W(n.resolve(process.cwd(), "package.json")), t = Object.entries(e).filter(([e, t]) => t && e.lastIndexOf("@") > 0).map(([e]) => e.slice(0, e.lastIndexOf("@")));
5991
6005
  return [...new Set(t)];
5992
6006
  }
5993
6007
  //#endregion
5994
6008
  //#region src/actions/documentBundleSizes.ts
5995
- var er = "<!-- BUNDLE_START -->", tr = "<!-- BUNDLE_END -->", nr = "&nbsp;&nbsp;&nbsp;&nbsp;", rr = 20, ir = "The Bundle Analysis Report is generated automatically on each release using [Sonda](https://sonda.dev/), which analyses final source maps to reveal the actual effects of tree-shaking and minification rather than relying on pre-build estimates.\n\n_Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS._";
5996
- async function ar(e) {
6009
+ var tr = "<!-- BUNDLE_START -->", nr = "<!-- BUNDLE_END -->", rr = "&nbsp;&nbsp;&nbsp;&nbsp;", ir = 20, ar = "The Bundle Analysis Report is generated automatically on each release using [Sonda](https://sonda.dev/), which analyses final source maps to reveal the actual effects of tree-shaking and minification rather than relying on pre-build estimates.\n\n_Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS._";
6010
+ async function or(e) {
5997
6011
  try {
5998
6012
  K("Document Bundle Sizes"), J("1️⃣ Read bundle analysis report");
5999
6013
  let t = await W("./bundle-analysis-reports/sonda/index.json");
6000
6014
  J("2️⃣ Insert table into 'README.md'");
6001
- let n = or(t, e?.moduleLevel ?? !1);
6002
- await zn("README.md", Wn(await G("./README.md"), `\n${ir}\n\n${n}\n\n(unassigned) = bytes Sonda can't trace to a specific source line (whitespace, stray keywords, bundler-injected region markers) — not actual missing/unknown code.`, er, tr)), q("Bundle sizes documented");
6015
+ let n = sr(t, e?.moduleLevel ?? !1);
6016
+ await zn("README.md", Wn(await G("./README.md"), `\n${ar}\n\n${n}\n\n(unassigned) = bytes Sonda can't trace to a specific source line (whitespace, stray keywords, bundler-injected region markers) — not actual missing/unknown code.`, tr, nr)), q("Bundle sizes documented");
6003
6017
  } catch (e) {
6004
6018
  console.error("❌ Error documenting bundle sizes", e), process.exit(1);
6005
6019
  }
6006
6020
  }
6007
- function or(e, t) {
6008
- let n = fr(e), r = n.values().flatMap((e) => e.values().toArray()).reduce((e, t) => e + t.sizes.uncompressed, 0), i = e.resources.filter((e) => e.kind === "asset").map((e) => [e.name, gr(e)]).toSorted((e, t) => t[1].uncompressed - e[1].uncompressed), a = ["|Chunk/Module/File|Composition|", "|:------ |:-----------|"];
6021
+ function sr(e, t) {
6022
+ let n = pr(e), r = n.values().flatMap((e) => e.values().toArray()).reduce((e, t) => e + t.sizes.uncompressed, 0), i = e.resources.filter((e) => e.kind === "asset").map((e) => [e.name, _r(e)]).toSorted((e, t) => t[1].uncompressed - e[1].uncompressed), a = ["|Chunk/Module/File|Composition|", "|:------ |:-----------|"];
6009
6023
  for (let [e, o] of i) {
6010
- let i = [...n.get(e) ?? /* @__PURE__ */ new Map()].toSorted((e, t) => t[1].sizes.uncompressed - e[1].sizes.uncompressed), s = i.length === 1 ? sr(e, o, ur(i), r, t) : cr(e, o, i, r, t);
6024
+ let i = [...n.get(e) ?? /* @__PURE__ */ new Map()].toSorted((e, t) => t[1].sizes.uncompressed - e[1].sizes.uncompressed), s = i.length === 1 ? cr(e, o, dr(i), r, t) : lr(e, o, i, r, t);
6011
6025
  a.push(...s);
6012
6026
  }
6013
6027
  return a.join("\n");
6014
6028
  }
6015
- function sr(e, t, n, r, i) {
6029
+ function cr(e, t, n, r, i) {
6016
6030
  let [a, { sizes: o, files: s }] = n, c = r > 0 ? o.uncompressed / r * 100 : 0;
6017
- if (s.size === 1) return [`| ${e} → ${a} → ${dr(s)} | ${_r(t)} · ${vr(c)} |`];
6018
- let l = [`| ${e} → ${a} | ${_r(t)} · ${vr(c)} |`];
6019
- return i || l.push(...lr(s, nr, r)), l;
6031
+ if (s.size === 1) return [`| ${e} → ${a} → ${fr(s)} | ${vr(t)} · ${yr(c)} |`];
6032
+ let l = [`| ${e} → ${a} | ${vr(t)} · ${yr(c)} |`];
6033
+ return i || l.push(...ur(s, rr, r)), l;
6020
6034
  }
6021
- function cr(e, t, n, r, i) {
6022
- let a = [`| ${e} | ${_r(t)} |`];
6035
+ function lr(e, t, n, r, i) {
6036
+ let a = [`| ${e} | ${vr(t)} |`];
6023
6037
  for (let [e, { sizes: t, files: o }] of n) {
6024
6038
  let n = r > 0 ? t.uncompressed / r * 100 : 0;
6025
6039
  if (o.size === 1) {
6026
- let t = dr(o);
6027
- a.push(`| ${nr}${e} → ${t} | ${vr(n)} |`);
6040
+ let t = fr(o);
6041
+ a.push(`| ${rr}${e} → ${t} | ${yr(n)} |`);
6028
6042
  continue;
6029
6043
  }
6030
- a.push(`| ${nr}${e} | ${vr(n)} |`), i || a.push(...lr(o, `${nr}${nr}`, r));
6044
+ a.push(`| ${rr}${e} | ${yr(n)} |`), i || a.push(...ur(o, `${rr}${rr}`, r));
6031
6045
  }
6032
6046
  return a;
6033
6047
  }
6034
- function lr(e, t, n) {
6035
- return [...e].toSorted((e, t) => t[1].uncompressed - e[1].uncompressed).map(([e, r]) => `| ${t}${e} | ${vr(n > 0 ? r.uncompressed / n * 100 : 0)} |`);
6048
+ function ur(e, t, n) {
6049
+ return [...e].toSorted((e, t) => t[1].uncompressed - e[1].uncompressed).map(([e, r]) => `| ${t}${e} | ${yr(n > 0 ? r.uncompressed / n * 100 : 0)} |`);
6036
6050
  }
6037
- function ur(e) {
6051
+ function dr(e) {
6038
6052
  let [t] = e;
6039
6053
  if (t === void 0) throw Error("Expected exactly one entry");
6040
6054
  return t;
6041
6055
  }
6042
- function dr(e) {
6056
+ function fr(e) {
6043
6057
  let [t] = e.keys();
6044
6058
  if (t === void 0) throw Error("Expected exactly one file");
6045
6059
  return t;
6046
6060
  }
6047
- function fr(e) {
6048
- let t = pr(e.dependencies), n = /* @__PURE__ */ new Map();
6061
+ function pr(e) {
6062
+ let t = mr(e.dependencies), n = /* @__PURE__ */ new Map();
6049
6063
  for (let r of e.resources) {
6050
6064
  if (r.kind !== "chunk" || !r.parent) continue;
6051
- let { group: e, file: i } = mr(r.name, t), a = gr(r), o = n.get(r.parent) ?? /* @__PURE__ */ new Map();
6065
+ let { group: e, file: i } = hr(r.name, t), a = _r(r), o = n.get(r.parent) ?? /* @__PURE__ */ new Map();
6052
6066
  n.set(r.parent, o);
6053
6067
  let s = o.get(e) ?? {
6054
- sizes: yr(),
6068
+ sizes: br(),
6055
6069
  files: /* @__PURE__ */ new Map()
6056
6070
  };
6057
- o.set(e, s), br(s.sizes, a);
6058
- let c = s.files.get(i) ?? yr();
6059
- s.files.set(i, c), br(c, a);
6071
+ o.set(e, s), xr(s.sizes, a);
6072
+ let c = s.files.get(i) ?? br();
6073
+ s.files.set(i, c), xr(c, a);
6060
6074
  }
6061
6075
  return n;
6062
6076
  }
6063
- function pr(e) {
6077
+ function mr(e) {
6064
6078
  return e.flatMap((e) => e.paths.map((t) => [t, e.name])).toSorted((e, t) => t[0].length - e[0].length);
6065
6079
  }
6066
- function mr(e, t) {
6080
+ function hr(e, t) {
6067
6081
  let n = t.find(([t]) => e === t || e.startsWith(`${t}/`));
6068
6082
  if (n) {
6069
6083
  let [t, r] = n;
@@ -6080,49 +6094,49 @@ function mr(e, t) {
6080
6094
  file: e.slice(1)
6081
6095
  } : e.startsWith("rust/") || e.includes("vite-plugin-wasm") ? {
6082
6096
  group: "wasm",
6083
- file: hr(e)
6097
+ file: gr(e)
6084
6098
  } : {
6085
6099
  group: "src",
6086
- file: hr(e)
6100
+ file: gr(e)
6087
6101
  };
6088
6102
  }
6089
- function hr(e) {
6103
+ function gr(e) {
6090
6104
  return e.split("/").at(-1) ?? e;
6091
6105
  }
6092
- function gr(e) {
6106
+ function _r(e) {
6093
6107
  return {
6094
6108
  uncompressed: e.uncompressed,
6095
6109
  brotli: e.brotli ?? 0
6096
6110
  };
6097
6111
  }
6098
- function _r(e) {
6099
- return `${xr(e.uncompressed)} · brotli ${xr(e.brotli)}`;
6100
- }
6101
6112
  function vr(e) {
6102
- let t = Math.round(e / 100 * rr);
6103
- return `\`${"█".repeat(t)}${"░".repeat(rr - t)}\` ${e.toFixed(1)}%`;
6113
+ return `${Sr(e.uncompressed)} · brotli ${Sr(e.brotli)}`;
6114
+ }
6115
+ function yr(e) {
6116
+ let t = Math.round(e / 100 * ir);
6117
+ return `\`${"█".repeat(t)}${"░".repeat(ir - t)}\` ${e.toFixed(1)}%`;
6104
6118
  }
6105
- function yr() {
6119
+ function br() {
6106
6120
  return {
6107
6121
  uncompressed: 0,
6108
6122
  brotli: 0
6109
6123
  };
6110
6124
  }
6111
- function br(e, t) {
6125
+ function xr(e, t) {
6112
6126
  e.uncompressed += t.uncompressed, e.brotli += t.brotli;
6113
6127
  }
6114
- function xr(e) {
6128
+ function Sr(e) {
6115
6129
  return e < 1024 ? `${String(e)} B` : `${(e / 1024).toFixed(1)} kB`;
6116
6130
  }
6117
6131
  //#endregion
6118
6132
  //#region src/actions/documentDependencies.ts
6119
- var Sr = "<!-- DEPENDENCY_LICENSES_START -->", Cr = "<!-- DEPENDENCY_LICENSES_END -->", wr = "<!-- DEPENDENCY_TREE_START -->", Tr = "<!-- DEPENDENCY_TREE_END -->", Er = "The dependency tree below lists every package in this project — direct and transitive — along with its installed version, release date, and update status. Packages flagged ❗ have a newer version available; ⚠️ indicates a package that hasn't been updated in the last 6 months or longer. Neither flag necessarily indicates a problem: we let new releases stabilise before upgrading, and some packages are simply mature and stable, requiring no active development.";
6120
- async function Dr(e = "MIT") {
6133
+ var Cr = "<!-- DEPENDENCY_LICENSES_START -->", wr = "<!-- DEPENDENCY_LICENSES_END -->", Tr = "<!-- DEPENDENCY_TREE_START -->", Er = "<!-- DEPENDENCY_TREE_END -->", Dr = "The dependency tree below lists every package in this project — direct and transitive — along with its installed version, release date, and update status. Packages flagged ❗ have a newer version available; ⚠️ indicates a package that hasn't been updated in the last 6 months or longer. Neither flag necessarily indicates a problem: we let new releases stabilise before upgrading, and some packages are simply mature and stable, requiring no active development.";
6134
+ async function Or(e = "MIT") {
6121
6135
  try {
6122
6136
  K("Document Dependencies");
6123
6137
  let t = await W("package.json");
6124
6138
  if (t.name === "@dpuse/dpuse-development" || t.name === "@dpuse/eslint-config-dpuse") {
6125
- await Or(t.name), q("Dependencies documented");
6139
+ await kr(t.name), q("Dependencies documented");
6126
6140
  return;
6127
6141
  }
6128
6142
  await Nn("1️⃣ Clear downloaded licenses", "licenses/downloads"), J("2️⃣ Identify production licenses"), await new Promise((n, r) => {
@@ -6145,38 +6159,38 @@ async function Dr(e = "MIT") {
6145
6159
  "--all",
6146
6160
  "--json",
6147
6161
  "--omit=dev"
6148
- ], "licenses/licenseTree.json"), await kr("4️⃣ ", e), q("Dependencies documented");
6162
+ ], "licenses/licenseTree.json"), await Ar("4️⃣ ", e), q("Dependencies documented");
6149
6163
  } catch (e) {
6150
6164
  console.error("❌ Error documenting dependencies", e), process.exit(1);
6151
6165
  }
6152
6166
  }
6153
- async function Or(e) {
6167
+ async function kr(e) {
6154
6168
  J(`1️⃣ Skip: ${e} is a development-only tool and is never part of a production release.`);
6155
6169
  let t = `> [!WARNING]\n> Dependency licenses are not documented here: ${e} is a development-only tool and is never part of a production release.`;
6156
- await zn("README.md", Wn(Wn(await G("./README.md"), t, Sr, Cr), "", wr, Tr));
6170
+ await zn("README.md", Wn(Wn(await G("./README.md"), t, Cr, wr), "", Tr, Er));
6157
6171
  }
6158
- async function kr(e, t) {
6172
+ async function Ar(e, t) {
6159
6173
  J(`${e} Insert licenses into 'README.md'`);
6160
6174
  let [n, r] = await Promise.all([W("licenses/licenses.json"), W("licenses/licenseTree.json")]), i = /* @__PURE__ */ new Map();
6161
- for (let [e, t] of Object.entries(n)) i.set(e, Mr(e, t));
6175
+ for (let [e, t] of Object.entries(n)) i.set(e, Nr(e, t));
6162
6176
  await Promise.all(i.values().map(async (e) => {
6163
- let t = await Nr(e.name, e.installedVersion);
6177
+ let t = await Pr(e.name, e.installedVersion);
6164
6178
  e.latestVersion = t.latestVersion, e.latestPublishedDate = t.latestPublishedDate, e.publishedDate = t.publishedDate;
6165
6179
  }));
6166
- let a = `${Ar(t)}\n\n|Dependency|Version|License(s)|Document|\n|:-|:-:|:-|:-|\n`;
6167
- for (let e of i.values()) a += Pr(e);
6180
+ let a = `${jr(t)}\n\n|Dependency|Version|License(s)|Document|\n|:-|:-:|:-|:-|\n`;
6181
+ for (let e of i.values()) a += Fr(e);
6168
6182
  let o = [];
6169
- r.dependencies != null && Fr(r.dependencies, i, o, 0);
6170
- let s = `${Er}\n\n${o.join("\n")}`;
6171
- await zn("README.md", Wn(Wn(await G("./README.md"), a, Sr, Cr), s, wr, Tr));
6172
- }
6173
- function Ar(e) {
6174
- return `License data is collected automatically on each release using [license-checker](https://github.com/RSeidelsohn/license-checker-rseidelsohn). The following table lists all production dependencies. These dependencies (including transitive ones) have been checked and confirmed to use ${jr(e.split(";"))} — all permissive, commercially-friendly licenses. Users of the uploaded library are covered by these checks; developers cloning this repository should independently verify development dependencies.`;
6183
+ r.dependencies != null && Ir(r.dependencies, i, o, 0);
6184
+ let s = `${Dr}\n\n${o.join("\n")}`;
6185
+ await zn("README.md", Wn(Wn(await G("./README.md"), a, Cr, wr), s, Tr, Er));
6175
6186
  }
6176
6187
  function jr(e) {
6188
+ return `License data is collected automatically on each release using [license-checker](https://github.com/RSeidelsohn/license-checker-rseidelsohn). The following table lists all production dependencies. These dependencies (including transitive ones) have been checked and confirmed to use ${Mr(e.split(";"))} — all permissive, commercially-friendly licenses. Users of the uploaded library are covered by these checks; developers cloning this repository should independently verify development dependencies.`;
6189
+ }
6190
+ function Mr(e) {
6177
6191
  return e.length === 1 ? e[0] ?? "" : e.length === 2 ? `${String(e[0])} or ${String(e[1])}` : `${e.slice(0, -1).join(", ")}, or ${String(e.at(-1))}`;
6178
6192
  }
6179
- function Mr(e, t) {
6193
+ function Nr(e, t) {
6180
6194
  let n = e.lastIndexOf("@"), r = n > 0 ? e.slice(0, n) : e, i = n > 0 ? e.slice(n + 1) : "";
6181
6195
  return {
6182
6196
  name: r,
@@ -6190,7 +6204,7 @@ function Mr(e, t) {
6190
6204
  ...t.licenseFile != null && { licenseFileLink: t.licenseFile }
6191
6205
  };
6192
6206
  }
6193
- async function Nr(e, t) {
6207
+ async function Pr(e, t) {
6194
6208
  try {
6195
6209
  let n = await fetch(`https://registry.npmjs.org/${encodeURIComponent(e)}`);
6196
6210
  if (n.ok) {
@@ -6208,25 +6222,25 @@ async function Nr(e, t) {
6208
6222
  publishedDate: ""
6209
6223
  };
6210
6224
  }
6211
- function Pr(e) {
6225
+ function Fr(e) {
6212
6226
  let t = e.licenseFileLink == null || e.licenseFileLink === "" ? "⚠️ No license file" : `[LICENSE](licenses/${e.licenseFileLink})`;
6213
6227
  return `|[${e.name}](${e.repository})|${e.installedVersion}|${e.licenseTypes}|${t}|\n`;
6214
6228
  }
6215
- function Fr(e, t, n, r) {
6229
+ function Ir(e, t, n, r) {
6216
6230
  let i = " ".repeat(r);
6217
6231
  for (let [a, o] of Object.entries(e)) {
6218
- let e = o.version ?? "", s = t.get(`${a}@${e}`), c = s == null ? a : `[${a}](${s.repository})`, l = Ir(s);
6219
- n.push(`${i}- **${c}** ${e}${l}`), o.dependencies != null && Fr(o.dependencies, t, n, r + 1);
6232
+ let e = o.version ?? "", s = t.get(`${a}@${e}`), c = s == null ? a : `[${a}](${s.repository})`, l = Lr(s);
6233
+ n.push(`${i}- **${c}** ${e}${l}`), o.dependencies != null && Ir(o.dependencies, t, n, r + 1);
6220
6234
  }
6221
6235
  }
6222
- function Ir(e) {
6236
+ function Lr(e) {
6223
6237
  if (e == null) return "";
6224
- let t = e.publishedDate ? Lr(e.publishedDate.split("T", 1)[0]) : "";
6238
+ let t = e.publishedDate ? Rr(e.publishedDate.split("T", 1)[0]) : "";
6225
6239
  if (e.latestVersion === "" || e.latestVersion === e.installedVersion) return t === "" ? "" : ` — ${t}`;
6226
- let n = e.latestPublishedDate ? Lr(e.latestPublishedDate.split("T", 1)[0]) : "", r = n === "" ? `**latest**: ${e.latestVersion} ❗` : `**latest**: ${e.latestVersion} — ${n} ❗`;
6240
+ let n = e.latestPublishedDate ? Rr(e.latestPublishedDate.split("T", 1)[0]) : "", r = n === "" ? `**latest**: ${e.latestVersion} ❗` : `**latest**: ${e.latestVersion} — ${n} ❗`;
6227
6241
  return t === "" ? ` — → ${r}` : ` — ${t} → ${r}`;
6228
6242
  }
6229
- function Lr(e) {
6243
+ function Rr(e) {
6230
6244
  if (e == null || e === "") return "n/a";
6231
6245
  let t = e.split("T", 1)[0];
6232
6246
  if (t == null || t === "") return "n/a";
@@ -6235,17 +6249,17 @@ function Lr(e) {
6235
6249
  }
6236
6250
  //#endregion
6237
6251
  //#region src/actions/documentGovernance.ts
6238
- var Rr = "<!-- GOVERNANCE_START -->", zr = "<!-- GOVERNANCE_END -->";
6239
- async function Br() {
6252
+ var zr = "<!-- GOVERNANCE_START -->", Br = "<!-- GOVERNANCE_END -->";
6253
+ async function Vr() {
6240
6254
  try {
6241
6255
  K("Document Governance"), J("1️⃣ Insert governance content into 'README.md'");
6242
- let [e, t] = await Promise.all([W("package.json"), W("config.json")]), { owner: n, repo: r } = Vr(e), i = Wr(n, r, Hr(e), Ur(t.firstCreatedAt));
6243
- await zn("README.md", Wn(await G("./README.md"), i, Rr, zr)), q("Governance documented");
6256
+ let [e, t] = await Promise.all([W("package.json"), W("config.json")]), { owner: n, repo: r } = Hr(e), i = Gr(n, r, Ur(e), Wr(t.firstCreatedAt));
6257
+ await zn("README.md", Wn(await G("./README.md"), i, zr, Br)), q("Governance documented");
6244
6258
  } catch (e) {
6245
6259
  console.error("❌ Error documenting governance", e), process.exit(1);
6246
6260
  }
6247
6261
  }
6248
- function Vr(e) {
6262
+ function Hr(e) {
6249
6263
  let t = e.repository, n = typeof t == "string" ? t : t?.url;
6250
6264
  if (n == null || n === "") throw Error("package.json 'repository' field is required to document governance.");
6251
6265
  let r = n.replace(/^git\+/, "").replace(/\.git$/, ""), i = /github\.com[/:]([^/]+)\/([^/]+)$/.exec(r);
@@ -6255,18 +6269,18 @@ function Vr(e) {
6255
6269
  repo: i[2]
6256
6270
  };
6257
6271
  }
6258
- function Hr(e) {
6272
+ function Ur(e) {
6259
6273
  let t = e.author, n = typeof t == "string" ? t : t?.name;
6260
6274
  if (n == null || n === "") throw Error("package.json 'author' field is required to document governance.");
6261
6275
  return n.replace(/\s*<[^>]*>\s*/, "").trim();
6262
6276
  }
6263
- function Ur(e) {
6277
+ function Wr(e) {
6264
6278
  let t = (/* @__PURE__ */ new Date()).getFullYear();
6265
6279
  if (e == null) return String(t);
6266
6280
  let n = new Date(e).getFullYear();
6267
6281
  return n === t ? String(t) : `${String(n)}-present`;
6268
6282
  }
6269
- function Wr(e, t, n, r) {
6283
+ function Gr(e, t, n, r) {
6270
6284
  let i = `https://github.com/${e}/${t}`, a = `github.com/${e}/${t}`;
6271
6285
  return `## Security & Quality
6272
6286
 
@@ -6313,28 +6327,28 @@ This project is licensed under the MIT License, permitting free use, modificatio
6313
6327
  }
6314
6328
  //#endregion
6315
6329
  //#region node_modules/@dpuse/dpuse-shared/dist/componentConfig.schema-Dxqinpxy.js
6316
- var Gr = {
6330
+ var Kr = {
6317
6331
  lang: void 0,
6318
6332
  message: void 0,
6319
6333
  abortEarly: void 0,
6320
6334
  abortPipeEarly: void 0
6321
6335
  };
6322
6336
  /* @__NO_SIDE_EFFECTS__ */
6323
- function Kr(e) {
6337
+ function qr(e) {
6324
6338
  return e ? {
6325
6339
  lang: e?.lang ?? void 0,
6326
6340
  message: e?.message,
6327
6341
  abortEarly: e?.abortEarly ?? void 0,
6328
6342
  abortPipeEarly: e?.abortPipeEarly ?? void 0
6329
- } : Gr;
6343
+ } : Kr;
6330
6344
  }
6331
6345
  /* @__NO_SIDE_EFFECTS__ */
6332
- function qr(e) {
6346
+ function Jr(e) {
6333
6347
  let t = typeof e;
6334
6348
  return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : t;
6335
6349
  }
6336
6350
  function X(e, t, n, r, i) {
6337
- let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ qr(a), c = {
6351
+ let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ Jr(a), c = {
6338
6352
  kind: e.kind,
6339
6353
  type: e.type,
6340
6354
  input: a,
@@ -6351,39 +6365,39 @@ function X(e, t, n, r, i) {
6351
6365
  u !== void 0 && (c.message = typeof u == "function" ? u(c) : u), l && (n.typed = !1), n.issues ? n.issues.push(c) : n.issues = [c];
6352
6366
  }
6353
6367
  /* @__NO_SIDE_EFFECTS__ */
6354
- function Jr(e, t) {
6368
+ function Yr(e, t) {
6355
6369
  return e === t || Number.isNaN(e) && Number.isNaN(t);
6356
6370
  }
6357
6371
  /* @__NO_SIDE_EFFECTS__ */
6358
- function Yr(e, t) {
6372
+ function Xr(e, t) {
6359
6373
  return Object.prototype.hasOwnProperty.call(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
6360
6374
  }
6361
6375
  /* @__NO_SIDE_EFFECTS__ */
6362
- function Xr(e, t) {
6376
+ function Zr(e, t) {
6363
6377
  let n = [...new Set(e)];
6364
6378
  return n.length > 1 ? `(${n.join(` ${t} `)})` : n[0] ?? "never";
6365
6379
  }
6366
- function Zr(e) {
6380
+ function Qr(e) {
6367
6381
  return e["~standard"] = {
6368
6382
  version: 1,
6369
6383
  vendor: "valibot",
6370
- validate: (t) => e["~run"]({ value: t }, /* @__PURE__ */ Kr())
6384
+ validate: (t) => e["~run"]({ value: t }, /* @__PURE__ */ qr())
6371
6385
  }, e;
6372
6386
  }
6373
6387
  /* @__NO_SIDE_EFFECTS__ */
6374
- function Qr(e, t, n) {
6388
+ function $r(e, t, n) {
6375
6389
  return typeof e.fallback == "function" ? e.fallback(t, n) : e.fallback;
6376
6390
  }
6377
6391
  /* @__NO_SIDE_EFFECTS__ */
6378
- function $r(e, t, n) {
6392
+ function ei(e, t, n) {
6379
6393
  return typeof e.default == "function" ? e.default(t, n) : e.default;
6380
6394
  }
6381
6395
  /* @__NO_SIDE_EFFECTS__ */
6382
- function ei(e, t) {
6383
- return Zr({
6396
+ function ti(e, t) {
6397
+ return Qr({
6384
6398
  kind: "schema",
6385
6399
  type: "array",
6386
- reference: ei,
6400
+ reference: ti,
6387
6401
  expects: "Array",
6388
6402
  async: !1,
6389
6403
  item: e,
@@ -6416,11 +6430,11 @@ function ei(e, t) {
6416
6430
  });
6417
6431
  }
6418
6432
  /* @__NO_SIDE_EFFECTS__ */
6419
- function ti(e) {
6420
- return Zr({
6433
+ function ni(e) {
6434
+ return Qr({
6421
6435
  kind: "schema",
6422
6436
  type: "boolean",
6423
- reference: ti,
6437
+ reference: ni,
6424
6438
  expects: "boolean",
6425
6439
  async: !1,
6426
6440
  message: e,
@@ -6430,23 +6444,23 @@ function ti(e) {
6430
6444
  });
6431
6445
  }
6432
6446
  /* @__NO_SIDE_EFFECTS__ */
6433
- function ni(e, t) {
6434
- return Zr({
6447
+ function ri(e, t) {
6448
+ return Qr({
6435
6449
  kind: "schema",
6436
6450
  type: "literal",
6437
- reference: ni,
6438
- expects: /* @__PURE__ */ qr(e),
6451
+ reference: ri,
6452
+ expects: /* @__PURE__ */ Jr(e),
6439
6453
  async: !1,
6440
6454
  literal: e,
6441
6455
  message: t,
6442
6456
  "~run"(e, t) {
6443
- return /* @__PURE__ */ Jr(e.value, this.literal) ? e.typed = !0 : X(this, "type", e, t), e;
6457
+ return /* @__PURE__ */ Yr(e.value, this.literal) ? e.typed = !0 : X(this, "type", e, t), e;
6444
6458
  }
6445
6459
  });
6446
6460
  }
6447
6461
  /* @__NO_SIDE_EFFECTS__ */
6448
6462
  function Z(e, t) {
6449
- return Zr({
6463
+ return Qr({
6450
6464
  kind: "schema",
6451
6465
  type: "nullable",
6452
6466
  reference: Z,
@@ -6455,16 +6469,16 @@ function Z(e, t) {
6455
6469
  wrapped: e,
6456
6470
  default: t,
6457
6471
  "~run"(e, t) {
6458
- return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ $r(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6472
+ return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ ei(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6459
6473
  }
6460
6474
  });
6461
6475
  }
6462
6476
  /* @__NO_SIDE_EFFECTS__ */
6463
- function ri(e) {
6464
- return Zr({
6477
+ function ii(e) {
6478
+ return Qr({
6465
6479
  kind: "schema",
6466
6480
  type: "number",
6467
- reference: ri,
6481
+ reference: ii,
6468
6482
  expects: "number",
6469
6483
  async: !1,
6470
6484
  message: e,
@@ -6475,7 +6489,7 @@ function ri(e) {
6475
6489
  }
6476
6490
  /* @__NO_SIDE_EFFECTS__ */
6477
6491
  function Q(e, t) {
6478
- return Zr({
6492
+ return Qr({
6479
6493
  kind: "schema",
6480
6494
  type: "object",
6481
6495
  reference: Q,
@@ -6490,7 +6504,7 @@ function Q(e, t) {
6490
6504
  for (let r in this.entries) {
6491
6505
  let i = this.entries[r];
6492
6506
  if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
6493
- let a = r in n ? n[r] : /* @__PURE__ */ $r(i), o = i["~run"]({ value: a }, t);
6507
+ let a = r in n ? n[r] : /* @__PURE__ */ ei(i), o = i["~run"]({ value: a }, t);
6494
6508
  if (o.issues) {
6495
6509
  let i = {
6496
6510
  type: "object",
@@ -6506,7 +6520,7 @@ function Q(e, t) {
6506
6520
  }
6507
6521
  }
6508
6522
  o.typed || (e.typed = !1), e.value[r] = o.value;
6509
- } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ Qr(i);
6523
+ } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ $r(i);
6510
6524
  else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (X(this, "key", e, t, {
6511
6525
  input: void 0,
6512
6526
  expected: `"${r}"`,
@@ -6525,26 +6539,26 @@ function Q(e, t) {
6525
6539
  });
6526
6540
  }
6527
6541
  /* @__NO_SIDE_EFFECTS__ */
6528
- function ii(e, t) {
6529
- return Zr({
6542
+ function ai(e, t) {
6543
+ return Qr({
6530
6544
  kind: "schema",
6531
6545
  type: "optional",
6532
- reference: ii,
6546
+ reference: ai,
6533
6547
  expects: `(${e.expects} | undefined)`,
6534
6548
  async: !1,
6535
6549
  wrapped: e,
6536
6550
  default: t,
6537
6551
  "~run"(e, t) {
6538
- return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ $r(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6552
+ return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ ei(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6539
6553
  }
6540
6554
  });
6541
6555
  }
6542
6556
  /* @__NO_SIDE_EFFECTS__ */
6543
- function ai(e, t, n) {
6544
- return Zr({
6557
+ function oi(e, t, n) {
6558
+ return Qr({
6545
6559
  kind: "schema",
6546
6560
  type: "record",
6547
- reference: ai,
6561
+ reference: oi,
6548
6562
  expects: "Object",
6549
6563
  async: !1,
6550
6564
  key: e,
@@ -6554,7 +6568,7 @@ function ai(e, t, n) {
6554
6568
  let n = e.value;
6555
6569
  if (n && typeof n == "object") {
6556
6570
  e.typed = !0, e.value = {};
6557
- for (let r in n) if (/* @__PURE__ */ Yr(n, r)) {
6571
+ for (let r in n) if (/* @__PURE__ */ Xr(n, r)) {
6558
6572
  let i = n[r], a = this.key["~run"]({ value: r }, t);
6559
6573
  if (a.issues) {
6560
6574
  let o = {
@@ -6594,7 +6608,7 @@ function ai(e, t, n) {
6594
6608
  }
6595
6609
  /* @__NO_SIDE_EFFECTS__ */
6596
6610
  function $(e) {
6597
- return Zr({
6611
+ return Qr({
6598
6612
  kind: "schema",
6599
6613
  type: "string",
6600
6614
  reference: $,
@@ -6607,19 +6621,19 @@ function $(e) {
6607
6621
  });
6608
6622
  }
6609
6623
  /* @__NO_SIDE_EFFECTS__ */
6610
- function oi(e) {
6624
+ function si(e) {
6611
6625
  let t;
6612
6626
  if (e) for (let n of e) if (t) for (let e of n.issues) t.push(e);
6613
6627
  else t = n.issues;
6614
6628
  return t;
6615
6629
  }
6616
6630
  /* @__NO_SIDE_EFFECTS__ */
6617
- function si(e, t) {
6618
- return Zr({
6631
+ function ci(e, t) {
6632
+ return Qr({
6619
6633
  kind: "schema",
6620
6634
  type: "union",
6621
- reference: si,
6622
- expects: /* @__PURE__ */ Xr(e.map((e) => e.expects), "|"),
6635
+ reference: ci,
6636
+ expects: /* @__PURE__ */ Zr(e.map((e) => e.expects), "|"),
6623
6637
  async: !1,
6624
6638
  options: e,
6625
6639
  message: t,
@@ -6638,29 +6652,29 @@ function si(e, t) {
6638
6652
  if (n) return n;
6639
6653
  if (r) {
6640
6654
  if (r.length === 1) return r[0];
6641
- X(this, "type", e, t, { issues: /* @__PURE__ */ oi(r) }), e.typed = !0;
6655
+ X(this, "type", e, t, { issues: /* @__PURE__ */ si(r) }), e.typed = !0;
6642
6656
  } else if (i?.length === 1) return i[0];
6643
- else X(this, "type", e, t, { issues: /* @__PURE__ */ oi(i) });
6657
+ else X(this, "type", e, t, { issues: /* @__PURE__ */ si(i) });
6644
6658
  return e;
6645
6659
  }
6646
6660
  });
6647
6661
  }
6648
- var ci = /* @__PURE__ */ Q({
6662
+ var li = /* @__PURE__ */ Q({
6649
6663
  en: /* @__PURE__ */ $(),
6650
6664
  es: /* @__PURE__ */ $()
6651
- }), li = {
6665
+ }), ui = {
6652
6666
  id: /* @__PURE__ */ $(),
6653
6667
  label: /* @__PURE__ */ Q({
6654
- en: /* @__PURE__ */ ii(/* @__PURE__ */ $()),
6655
- es: /* @__PURE__ */ ii(/* @__PURE__ */ $())
6668
+ en: /* @__PURE__ */ ai(/* @__PURE__ */ $()),
6669
+ es: /* @__PURE__ */ ai(/* @__PURE__ */ $())
6656
6670
  }),
6657
6671
  description: /* @__PURE__ */ Q({
6658
- en: /* @__PURE__ */ ii(/* @__PURE__ */ $()),
6659
- es: /* @__PURE__ */ ii(/* @__PURE__ */ $())
6672
+ en: /* @__PURE__ */ ai(/* @__PURE__ */ $()),
6673
+ es: /* @__PURE__ */ ai(/* @__PURE__ */ $())
6660
6674
  }),
6661
6675
  icon: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6662
6676
  iconDark: /* @__PURE__ */ Z(/* @__PURE__ */ $())
6663
- }, ui = (e) => /* @__PURE__ */ si(e.map((e) => /* @__PURE__ */ ni(e))), di = ui([
6677
+ }, di = (e) => /* @__PURE__ */ ci(e.map((e) => /* @__PURE__ */ ri(e))), fi = di([
6664
6678
  "app",
6665
6679
  "connector",
6666
6680
  "connectorConnection",
@@ -6682,33 +6696,33 @@ var ci = /* @__PURE__ */ Q({
6682
6696
  "presenter",
6683
6697
  "presenterPresentation",
6684
6698
  "tool"
6685
- ]), fi = ui([
6699
+ ]), pi = di([
6686
6700
  "danger",
6687
6701
  "success",
6688
6702
  "warning"
6689
- ]), pi = ui([
6703
+ ]), mi = di([
6690
6704
  "alpha",
6691
6705
  "beta",
6692
6706
  "releaseCandidate",
6693
6707
  "generalAvailability"
6694
- ]), mi = /* @__PURE__ */ Q({
6695
- color: fi,
6708
+ ]), hi = /* @__PURE__ */ Q({
6709
+ color: pi,
6696
6710
  label: /* @__PURE__ */ $()
6697
- }), hi = {
6698
- ...li,
6699
- typeId: di
6700
- }, gi = /* @__PURE__ */ Q({
6701
- ...hi,
6702
- order: /* @__PURE__ */ ri(),
6711
+ }), gi = {
6712
+ ...ui,
6713
+ typeId: fi
6714
+ }, _i = /* @__PURE__ */ Q({
6715
+ ...gi,
6716
+ order: /* @__PURE__ */ ii(),
6703
6717
  path: /* @__PURE__ */ $()
6704
- }), _i = {
6705
- ...hi,
6706
- firstCreatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ ri()),
6707
- lastUpdatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ ri()),
6708
- status: /* @__PURE__ */ Z(mi),
6709
- statusId: /* @__PURE__ */ Z(pi)
6718
+ }), vi = {
6719
+ ...gi,
6720
+ firstCreatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ ii()),
6721
+ lastUpdatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ ii()),
6722
+ status: /* @__PURE__ */ Z(hi),
6723
+ statusId: /* @__PURE__ */ Z(mi)
6710
6724
  };
6711
- ({ ..._i }), ui([
6725
+ ({ ...vi }), di([
6712
6726
  "app",
6713
6727
  "engine",
6714
6728
  "connector",
@@ -6718,17 +6732,17 @@ var ci = /* @__PURE__ */ Q({
6718
6732
  ]);
6719
6733
  //#endregion
6720
6734
  //#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-B_EBeUaj.js
6721
- var vi = {
6722
- ..._i,
6735
+ var yi = {
6736
+ ...vi,
6723
6737
  vendorAccountURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6724
6738
  vendorDocumentationURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6725
6739
  vendorHomeURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6726
6740
  version: /* @__PURE__ */ $()
6727
6741
  };
6728
- ({ ...vi });
6742
+ ({ ...yi });
6729
6743
  //#endregion
6730
6744
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleConnector.es.js
6731
- var yi = ui([
6745
+ var bi = di([
6732
6746
  "abortOperation",
6733
6747
  "auditObjectContent",
6734
6748
  "createObject",
@@ -6744,38 +6758,38 @@ var yi = ui([
6744
6758
  "retrieveChunks",
6745
6759
  "retrieveRecords",
6746
6760
  "upsertRecords"
6747
- ]), bi = ui([
6761
+ ]), xi = di([
6748
6762
  "application",
6749
6763
  "curatedDataset",
6750
6764
  "database",
6751
6765
  "fileStore"
6752
- ]), xi = /* @__PURE__ */ Q({ label: ci }), Si = ui([
6766
+ ]), Si = /* @__PURE__ */ Q({ label: li }), Ci = di([
6753
6767
  "bidirectional",
6754
6768
  "destination",
6755
6769
  "source"
6756
- ]), Ci = /* @__PURE__ */ Q({ label: ci }), wi = /* @__PURE__ */ Q({
6757
- authMethodId: ui([
6770
+ ]), wi = /* @__PURE__ */ Q({ label: li }), Ti = /* @__PURE__ */ Q({
6771
+ authMethodId: di([
6758
6772
  "apiKey",
6759
6773
  "disabled",
6760
6774
  "oAuth2",
6761
6775
  "none"
6762
6776
  ]),
6763
- activeConnectionCount: /* @__PURE__ */ ii(/* @__PURE__ */ ri()),
6764
- canDescribe: /* @__PURE__ */ ii(/* @__PURE__ */ ti()),
6765
- id: /* @__PURE__ */ ii(/* @__PURE__ */ $()),
6766
- label: /* @__PURE__ */ ii(ci),
6767
- maxConnectionCount: /* @__PURE__ */ Z(/* @__PURE__ */ ri()),
6768
- params: /* @__PURE__ */ ii(/* @__PURE__ */ ei(/* @__PURE__ */ ai(/* @__PURE__ */ $(), /* @__PURE__ */ $())))
6769
- }), Ti = /* @__PURE__ */ Q({
6770
- ...vi,
6771
- typeId: /* @__PURE__ */ ni("connector"),
6772
- actionNames: /* @__PURE__ */ ei(yi),
6773
- category: /* @__PURE__ */ Z(xi),
6774
- categoryId: bi,
6775
- implementations: /* @__PURE__ */ ai(/* @__PURE__ */ $(), wi),
6776
- usage: /* @__PURE__ */ Z(Ci),
6777
- usageId: /* @__PURE__ */ Z(Si)
6778
- }), Ei = {
6777
+ activeConnectionCount: /* @__PURE__ */ ai(/* @__PURE__ */ ii()),
6778
+ canDescribe: /* @__PURE__ */ ai(/* @__PURE__ */ ni()),
6779
+ id: /* @__PURE__ */ ai(/* @__PURE__ */ $()),
6780
+ label: /* @__PURE__ */ ai(li),
6781
+ maxConnectionCount: /* @__PURE__ */ Z(/* @__PURE__ */ ii()),
6782
+ params: /* @__PURE__ */ ai(/* @__PURE__ */ ti(/* @__PURE__ */ oi(/* @__PURE__ */ $(), /* @__PURE__ */ $())))
6783
+ }), Ei = /* @__PURE__ */ Q({
6784
+ ...yi,
6785
+ typeId: /* @__PURE__ */ ri("connector"),
6786
+ actionNames: /* @__PURE__ */ ti(bi),
6787
+ category: /* @__PURE__ */ Z(Si),
6788
+ categoryId: xi,
6789
+ implementations: /* @__PURE__ */ oi(/* @__PURE__ */ $(), Ti),
6790
+ usage: /* @__PURE__ */ Z(wi),
6791
+ usageId: /* @__PURE__ */ Z(Ci)
6792
+ }), Di = {
6779
6793
  abortOperation: "Abort Operation",
6780
6794
  auditObjectContent: "Audit Object Content",
6781
6795
  createObject: "Create Object",
@@ -6791,12 +6805,12 @@ var yi = ui([
6791
6805
  retrieveChunks: "Retrieve Chunks",
6792
6806
  retrieveRecords: "Retrieve Records",
6793
6807
  upsertRecords: "Upsert Records"
6794
- }, Di = /* @__PURE__ */ new Set([
6808
+ }, Oi = /* @__PURE__ */ new Set([
6795
6809
  "createObject",
6796
6810
  "dropObject",
6797
6811
  "removeRecords",
6798
6812
  "upsertRecords"
6799
- ]), Oi = /* @__PURE__ */ new Set([
6813
+ ]), ki = /* @__PURE__ */ new Set([
6800
6814
  "auditObjectContent",
6801
6815
  "findObject",
6802
6816
  "getInfo",
@@ -6807,46 +6821,46 @@ var yi = ui([
6807
6821
  "retrieveChunks",
6808
6822
  "retrieveRecords"
6809
6823
  ]);
6810
- function ki(e) {
6824
+ function Ai(e) {
6811
6825
  let t = !1, n = !1;
6812
- for (let r of e) Oi.has(r) && (t = !0), Di.has(r) && (n = !0);
6826
+ for (let r of e) ki.has(r) && (t = !0), Oi.has(r) && (n = !0);
6813
6827
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "source";
6814
6828
  }
6815
- function Ai(e) {
6829
+ function ji(e) {
6816
6830
  let t = new Set(e), n = "|Action|Supported|\n";
6817
6831
  n += "|:----|:-------:|\n";
6818
- for (let e of Object.keys(Ei)) n += `| ${Ei[e]} | ${t.has(e) ? "✓" : ""} |\n`;
6832
+ for (let e of Object.keys(Di)) n += `| ${Di[e]} | ${t.has(e) ? "✓" : ""} |\n`;
6819
6833
  return n;
6820
6834
  }
6821
6835
  //#endregion
6822
6836
  //#region src/actions/documentActions.ts
6823
- var ji = "<!-- CONNECTOR_ACTIONS_START -->", Mi = "<!-- CONNECTOR_ACTIONS_END -->", Ni = "Connectors conform to a unified interface contract by implementing a specific subset of standard actions. These standardised actions allow the DPUse application to interact with any underlying data source in the same way, enabling Connectors to be built independently and loaded dynamically at runtime.", Pi = {
6837
+ var Mi = "<!-- CONNECTOR_ACTIONS_START -->", Ni = "<!-- CONNECTOR_ACTIONS_END -->", Pi = "Connectors conform to a unified interface contract by implementing a specific subset of standard actions. These standardised actions allow the DPUse application to interact with any underlying data source in the same way, enabling Connectors to be built independently and loaded dynamically at runtime.", Fi = {
6824
6838
  source: "This connector is a Source connector that supports only read actions. Connectors can also function as a Destination (write-only) or Bidirectional (read/write), depending on the actions they support.",
6825
6839
  destination: "This connector is a Destination connector that supports only write actions. Connectors can also function as a Source (read-only) or Bidirectional (read/write), depending on the actions they support.",
6826
6840
  bidirectional: "This connector is a Bidirectional connector that supports both read and write actions. Connectors can also function as a Source (read-only) or Destination (write-only), depending on the actions they support."
6827
- }, Fi = "The table below lists all connector actions and highlights those supported by this connector.";
6828
- async function Ii() {
6841
+ }, Ii = "The table below lists all connector actions and highlights those supported by this connector.";
6842
+ async function Li() {
6829
6843
  try {
6830
6844
  K("Document Actions"), J("1️⃣ Insert actions description and table into 'README.md'");
6831
- let e = (await W("config.json")).actionNames ?? [], t = ki(e), n = Ai(e), r = `${Ni}\n\n${Pi[t]} ${Fi}\n\n${n}`;
6832
- await zn("README.md", Wn(await G("./README.md"), r, ji, Mi)), q("Actions documented");
6845
+ let e = (await W("config.json")).actionNames ?? [], t = Ai(e), n = ji(e), r = `${Pi}\n\n${Fi[t]} ${Ii}\n\n${n}`;
6846
+ await zn("README.md", Wn(await G("./README.md"), r, Mi, Ni)), q("Actions documented");
6833
6847
  } catch (e) {
6834
6848
  console.error("❌ Error documenting actions", e), process.exit(1);
6835
6849
  }
6836
6850
  }
6837
6851
  //#endregion
6838
6852
  //#region src/actions/documentOpening.ts
6839
- var Li = "<!-- OPENING_START -->", Ri = "<!-- OPENING_END -->";
6840
- async function zi() {
6853
+ var Ri = "<!-- OPENING_START -->", zi = "<!-- OPENING_END -->";
6854
+ async function Bi() {
6841
6855
  try {
6842
6856
  K("Document Opening"), J("1️⃣ Insert opening content into 'README.md'");
6843
- let e = await W("package.json"), t = await W("config.json"), { owner: n, repo: r } = Bi(e), i = Ui(n, r, Vi(e), Hi(t));
6844
- await zn("README.md", Wn(await G("./README.md"), i, Li, Ri)), q("Opening documented");
6857
+ let e = await W("package.json"), t = await W("config.json"), { owner: n, repo: r } = Vi(e), i = Wi(n, r, Hi(e), Ui(t));
6858
+ await zn("README.md", Wn(await G("./README.md"), i, Ri, zi)), q("Opening documented");
6845
6859
  } catch (e) {
6846
6860
  console.error("❌ Error documenting opening", e), process.exit(1);
6847
6861
  }
6848
6862
  }
6849
- function Bi(e) {
6863
+ function Vi(e) {
6850
6864
  let t = e.repository, n = typeof t == "string" ? t : t?.url;
6851
6865
  if (n == null || n === "") throw Error("package.json 'repository' field is required to document opening.");
6852
6866
  let r = n.replace(/^git\+/, "").replace(/\.git$/, ""), i = /github\.com[/:]([^/]+)\/([^/]+)$/.exec(r);
@@ -6856,17 +6870,17 @@ function Bi(e) {
6856
6870
  repo: i[2]
6857
6871
  };
6858
6872
  }
6859
- function Vi(e) {
6873
+ function Hi(e) {
6860
6874
  let t = e.license;
6861
6875
  if (t == null || t === "") throw Error("package.json 'license' field is required to document opening.");
6862
6876
  return t;
6863
6877
  }
6864
- function Hi(e) {
6878
+ function Ui(e) {
6865
6879
  let t = e.description.en;
6866
6880
  if (t == null || t.length === 0) throw Error("config.json 'description.en' field is required to document opening.");
6867
6881
  return t;
6868
6882
  }
6869
- function Ui(e, t, n, r) {
6883
+ function Wi(e, t, n, r) {
6870
6884
  let i = `https://github.com/${e}/${t}`;
6871
6885
  return `[![License: ${n}](https://img.shields.io/badge/License-${n.replaceAll("-", "--")}-blue.svg)](./LICENSE)
6872
6886
  [![DPUse version](https://img.shields.io/github/v/release/${e}/${t}?color=f6821f&label=DPUse)](${i}/releases/latest)
@@ -6886,31 +6900,31 @@ ${r}`;
6886
6900
  }
6887
6901
  //#endregion
6888
6902
  //#region src/actions/documentUsage.ts
6889
- var Wi = "<!-- USAGE_START -->", Gi = "<!-- USAGE_END -->";
6890
- async function Ki() {
6903
+ var Gi = "<!-- USAGE_START -->", Ki = "<!-- USAGE_END -->";
6904
+ async function qi() {
6891
6905
  try {
6892
6906
  K("Document Usage"), J("1️⃣ Insert usage content into 'README.md'");
6893
- let e = await W("package.json"), t = qi(e), n = Xi(t, Ji(t), Yi(e.engines?.node), Yi(e.engines?.npm), Yi(e.devDependencies?.typescript));
6894
- await zn("README.md", Wn(await G("./README.md"), n, Wi, Gi)), q("Usage documented");
6907
+ let e = await W("package.json"), t = Ji(e), n = Zi(t, Yi(t), Xi(e.engines?.node), Xi(e.engines?.npm), Xi(e.devDependencies?.typescript));
6908
+ await zn("README.md", Wn(await G("./README.md"), n, Gi, Ki)), q("Usage documented");
6895
6909
  } catch (e) {
6896
6910
  console.error("❌ Error documenting usage", e), process.exit(1);
6897
6911
  }
6898
6912
  }
6899
- function qi(e) {
6913
+ function Ji(e) {
6900
6914
  let t = e.repository, n = typeof t == "string" ? t : t?.url;
6901
6915
  if (n == null || n === "") throw Error("package.json 'repository' field is required to document usage.");
6902
6916
  return n.replace(/^git\+/, "");
6903
6917
  }
6904
- function Ji(e) {
6918
+ function Yi(e) {
6905
6919
  return (e.split("/").at(-1) ?? "").replace(/\.git$/, "");
6906
6920
  }
6907
- function Yi(e) {
6921
+ function Xi(e) {
6908
6922
  if (e == null) throw Error("package.json version range is required to document usage.");
6909
6923
  let t = /\d+(?:\.\d+)*/.exec(e);
6910
6924
  if (t == null) throw Error(`Unable to parse version from '${e}'.`);
6911
6925
  return t[0];
6912
6926
  }
6913
- function Xi(e, t, n, r, i) {
6927
+ function Zi(e, t, n, r, i) {
6914
6928
  return `This connector is automatically uploaded to the DPUse Engine cloud once released and becomes instantly available to all new browser app instances, with existing instances notified of the update.
6915
6929
 
6916
6930
  You may view or clone this repository for your own purposes, such as building a new, similar connector, though there is currently no process to accept third-party connectors into DPUse at this stage. Cloned or forked code is unsupported and isn't guaranteed to remain compatible with the DPUse Engine as it evolves.
@@ -6925,7 +6939,7 @@ _Requires [Node.js](https://nodejs.org/) ${n} or later, [npm](https://www.npmjs.
6925
6939
  }
6926
6940
  //#endregion
6927
6941
  //#region src/actions/formatCode.ts
6928
- async function Zi() {
6942
+ async function Qi() {
6929
6943
  try {
6930
6944
  K("Format Code"), await U("1️⃣ Format", "prettier", [
6931
6945
  "--write",
@@ -6940,7 +6954,7 @@ async function Zi() {
6940
6954
  }
6941
6955
  //#endregion
6942
6956
  //#region src/actions/lintCode.ts
6943
- async function Qi() {
6957
+ async function $i() {
6944
6958
  try {
6945
6959
  K("Lint Code"), await U("1️⃣ Lint", "eslint", ["."]), q("Code linted");
6946
6960
  } catch (e) {
@@ -6949,7 +6963,7 @@ async function Qi() {
6949
6963
  }
6950
6964
  //#endregion
6951
6965
  //#region src/utilities/cloudflare.ts
6952
- async function $i() {
6966
+ async function ea() {
6953
6967
  let e = await W("config.json"), t = {
6954
6968
  body: JSON.stringify(e),
6955
6969
  headers: { "Content-Type": "application/json" },
@@ -6957,7 +6971,7 @@ async function $i() {
6957
6971
  }, n = await fetch(`https://api.dpuse.app/configs/${e.id}`, t);
6958
6972
  if (!n.ok) throw Error(await n.text());
6959
6973
  }
6960
- async function ea(e, t) {
6974
+ async function ta(e, t) {
6961
6975
  async function n(e, t, r) {
6962
6976
  for (let i of r) {
6963
6977
  let r = `${e}/${i}`, a = `${t}/${i}`;
@@ -6975,7 +6989,7 @@ async function ea(e, t) {
6975
6989
  let r = await Pn(`${e}/${t}/`);
6976
6990
  await n(`${e}/${t}`, t, r);
6977
6991
  }
6978
- async function ta(e) {
6992
+ async function na(e) {
6979
6993
  let t = e.id, n = {
6980
6994
  body: JSON.stringify(e),
6981
6995
  headers: { "Content-Type": "application/json" },
@@ -6983,7 +6997,7 @@ async function ta(e) {
6983
6997
  }, r = await fetch(`https://api.dpuse.app/configs/${t}`, n);
6984
6998
  if (!r.ok) throw Error(await r.text());
6985
6999
  }
6986
- async function na(e, t) {
7000
+ async function ra(e, t) {
6987
7001
  let n = `v${e.version ?? "unknown"}`;
6988
7002
  async function r(e, r = "") {
6989
7003
  let i = await Pn(e, { withFileTypes: !0 });
@@ -7007,24 +7021,24 @@ async function na(e, t) {
7007
7021
  }
7008
7022
  //#endregion
7009
7023
  //#region node_modules/valibot/dist/index.mjs
7010
- var ra = {
7024
+ var ia = {
7011
7025
  lang: void 0,
7012
7026
  message: void 0,
7013
7027
  abortEarly: void 0,
7014
7028
  abortPipeEarly: void 0
7015
7029
  };
7016
7030
  /* @__NO_SIDE_EFFECTS__ */
7017
- function ia(e) {
7031
+ function aa(e) {
7018
7032
  return e ? {
7019
7033
  lang: e?.lang ?? void 0,
7020
7034
  message: e?.message,
7021
7035
  abortEarly: e?.abortEarly ?? void 0,
7022
7036
  abortPipeEarly: e?.abortPipeEarly ?? void 0
7023
- } : ra;
7037
+ } : ia;
7024
7038
  }
7025
7039
  /* @__NO_SIDE_EFFECTS__ */
7026
- function aa(e, t, n) {
7027
- let r = e["~run"]({ value: t }, /* @__PURE__ */ ia(n));
7040
+ function oa(e, t, n) {
7041
+ let r = e["~run"]({ value: t }, /* @__PURE__ */ aa(n));
7028
7042
  return {
7029
7043
  typed: r.typed,
7030
7044
  success: !r.issues,
@@ -7034,56 +7048,56 @@ function aa(e, t, n) {
7034
7048
  }
7035
7049
  //#endregion
7036
7050
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModulePresenter.es.js
7037
- var oa = ui([
7051
+ var sa = di([
7038
7052
  "list",
7039
7053
  "render",
7040
7054
  "setColorMode"
7041
- ]), sa = /* @__PURE__ */ Q({
7042
- ...vi,
7043
- typeId: /* @__PURE__ */ ni("presenter"),
7044
- actionNames: /* @__PURE__ */ ei(oa),
7045
- presentations: /* @__PURE__ */ ei(gi)
7055
+ ]), ca = /* @__PURE__ */ Q({
7056
+ ...yi,
7057
+ typeId: /* @__PURE__ */ ri("presenter"),
7058
+ actionNames: /* @__PURE__ */ ti(sa),
7059
+ presentations: /* @__PURE__ */ ti(_i)
7046
7060
  });
7047
7061
  //#endregion
7048
7062
  //#region src/actions/manageProject.ts
7049
- async function ca() {
7063
+ async function la() {
7050
7064
  try {
7051
7065
  K("Build Project"), await U("1️⃣ Bundle project", "vite", ["build"]), q("Project built");
7052
7066
  } catch (e) {
7053
7067
  console.error("❌ Error building project", e), process.exit(1);
7054
7068
  }
7055
7069
  }
7056
- async function la() {
7070
+ async function ua() {
7057
7071
  try {
7058
7072
  K("Publish Project");
7059
7073
  let e = await W("package.json"), t = await W("config.json"), n = Bn(t.id);
7060
- if (n.typeId === "app") J("1️⃣ Register module"), await $i();
7061
- else if (n.typeId === "engine") J("1️⃣ Register module"), await na(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await ta(t);
7074
+ if (n.typeId === "app") J("1️⃣ Register module"), await ea();
7075
+ else if (n.typeId === "engine") J("1️⃣ Register module"), await ra(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await na(t);
7062
7076
  else if (n.uploadGroupName === void 0) J("1️⃣ Publishing NOT required");
7063
7077
  else {
7064
7078
  J("1️⃣ Register module");
7065
7079
  let r = t.id.split("-").slice(2).join("-");
7066
- await na(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await ta(t);
7080
+ await ra(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await na(t);
7067
7081
  }
7068
7082
  q(`Project version '${e.version ?? "unknown"}' published.`);
7069
7083
  } catch (e) {
7070
7084
  console.error("❌ Error publishing project", e), process.exit(1);
7071
7085
  }
7072
7086
  }
7073
- async function ua() {
7087
+ async function da() {
7074
7088
  try {
7075
7089
  K("Release Project");
7076
7090
  let e = await W("package.json"), t = await W("config.json");
7077
- await _a("1️⃣ ", e);
7091
+ await va("1️⃣ ", e);
7078
7092
  let n = Bn(t.id);
7079
7093
  switch (n.typeId) {
7080
7094
  case "connector":
7081
- t = await fa("2️⃣ ", e);
7095
+ t = await pa("2️⃣ ", e);
7082
7096
  break;
7083
7097
  case "presenter":
7084
- t = await pa("2️⃣ ", e);
7098
+ t = await ma("2️⃣ ", e);
7085
7099
  break;
7086
- default: t = await da("2️⃣ ", e);
7100
+ default: t = await fa("2️⃣ ", e);
7087
7101
  }
7088
7102
  if (await U("3️⃣ Bundle project", "vite", ["build"]), await Fn("4️⃣ Stage changes", "git", ["add", "."]), await Fn("5️⃣ Commit changes", "git", [
7089
7103
  "commit",
@@ -7093,13 +7107,13 @@ async function ua() {
7093
7107
  "push",
7094
7108
  "origin",
7095
7109
  "main:main"
7096
- ]), n.typeId === "app") J("7️⃣ Register module"), await $i();
7097
- else if (n.typeId === "engine") J("7️⃣ Register module"), await na(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await ta(t);
7110
+ ]), n.typeId === "app") J("7️⃣ Register module"), await ea();
7111
+ else if (n.typeId === "engine") J("7️⃣ Register module"), await ra(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await na(t);
7098
7112
  else if (n.uploadGroupName === void 0) J("7️⃣ Registration NOT required");
7099
7113
  else {
7100
7114
  J("7️⃣ Register module");
7101
7115
  let r = t.id.split("-").slice(2).join("-");
7102
- await na(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await ta(t);
7116
+ await ra(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await na(t);
7103
7117
  }
7104
7118
  n.publishedTo === "npm" ? await U("8️⃣ Create GitHub release", "gh", [
7105
7119
  "release",
@@ -7114,39 +7128,39 @@ async function ua() {
7114
7128
  console.error("❌ Error releasing project", e), process.exit(1);
7115
7129
  }
7116
7130
  }
7117
- async function da(e, t) {
7131
+ async function fa(e, t) {
7118
7132
  J(`${e} Build project configuration`);
7119
7133
  let n = await W("config.json");
7120
7134
  return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), n.icon ??= await Ln("logo.svg"), n.iconDark ??= await Ln("logoDark.svg"), await Rn("config.json", n), n;
7121
7135
  }
7122
- async function fa(e, t) {
7136
+ async function pa(e, t) {
7123
7137
  J(`${e} Build connector project configuration`);
7124
- let [n, r] = await Promise.all([W("config.json"), G("src/index.ts")]), i = /* @__PURE__ */ aa(Ti, n);
7138
+ let [n, r] = await Promise.all([W("config.json"), G("src/index.ts")]), i = /* @__PURE__ */ oa(Ei, n);
7125
7139
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
7126
7140
  let a = Hn(r);
7127
- return await ma(t, n, a, ki(a));
7141
+ return await ha(t, n, a, Ai(a));
7128
7142
  }
7129
- async function pa(e, t) {
7143
+ async function ma(e, t) {
7130
7144
  J(`${e} Build presenter project configuration`);
7131
- let [n, r] = await Promise.all([W("config.json"), G("src/index.ts")]), i = /* @__PURE__ */ aa(sa, n);
7145
+ let [n, r] = await Promise.all([W("config.json"), G("src/index.ts")]), i = /* @__PURE__ */ oa(ca, n);
7132
7146
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
7133
- return await ma(t, n, Hn(r));
7147
+ return await ha(t, n, Hn(r));
7134
7148
  }
7135
- async function ma(e, t, n, r) {
7149
+ async function ha(e, t, n, r) {
7136
7150
  return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations"), r === "unknown" ? console.warn("⚠️ No usage identified") : r && console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.actionNames = n, r !== void 0 && (t.usageId = r), await Rn("config.json", t), t;
7137
7151
  }
7138
- async function ha() {
7152
+ async function ga() {
7139
7153
  try {
7140
7154
  K("Synchronise Project with GitHub");
7141
7155
  let e = await W("package.json"), t = await W("config.json");
7142
- switch (await _a("1️⃣ ", e), Bn(t.id).typeId) {
7156
+ switch (await va("1️⃣ ", e), Bn(t.id).typeId) {
7143
7157
  case "connector":
7144
- await fa("2️⃣ ", e);
7158
+ await pa("2️⃣ ", e);
7145
7159
  break;
7146
7160
  case "presenter":
7147
- await pa("2️⃣ ", e);
7161
+ await ma("2️⃣ ", e);
7148
7162
  break;
7149
- default: await da("2️⃣ ", e);
7163
+ default: await fa("2️⃣ ", e);
7150
7164
  }
7151
7165
  await Fn("3️⃣ Stage changes", "git", ["add", "."]), await Fn("4️⃣ Commit changes", "git", [
7152
7166
  "commit",
@@ -7161,14 +7175,14 @@ async function ha() {
7161
7175
  console.error("❌ Error synchronising project with GitHub", e), process.exit(1);
7162
7176
  }
7163
7177
  }
7164
- function ga() {
7178
+ function _a() {
7165
7179
  try {
7166
7180
  K("Test Project"), console.error("\n❌ No tests implemented.\n");
7167
7181
  } catch (e) {
7168
7182
  console.error("❌ Error testing project", e), process.exit(1);
7169
7183
  }
7170
7184
  }
7171
- async function _a(e, t, n = "./") {
7185
+ async function va(e, t, n = "./") {
7172
7186
  if (J(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`);
7173
7187
  else {
7174
7188
  let e = t.version, n = t.version.split(".");
@@ -7177,6 +7191,6 @@ async function _a(e, t, n = "./") {
7177
7191
  await Rn(`${n}package.json`, t);
7178
7192
  }
7179
7193
  //#endregion
7180
- export { Gn as auditDependencies, ca as buildProject, Kn as checkConfigFiles, Qn as checkDependencies, Ii as documentActions, ar as documentBundleSizes, Dr as documentDependencies, Br as documentGovernance, zi as documentOpening, Ki as documentUsage, Zi as formatCode, Qi as lintCode, la as publishProject, ua as releaseProject, ha as syncProjectWithGitHub, ga as testProject, ea as uploadDirectoryToR2 };
7194
+ export { Gn as auditDependencies, la as buildProject, Kn as checkConfigFiles, $n as checkDependencies, Li as documentActions, or as documentBundleSizes, Or as documentDependencies, Vr as documentGovernance, Bi as documentOpening, qi as documentUsage, Qi as formatCode, $i as lintCode, ua as publishProject, da as releaseProject, ga as syncProjectWithGitHub, _a as testProject, ta as uploadDirectoryToR2 };
7181
7195
 
7182
7196
  //# sourceMappingURL=dpuse-development.es.js.map