@dpuse/dpuse-development 0.3.746 → 0.3.748

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 CHANGED
@@ -28,13 +28,17 @@ Actions for managing DPUse projects.
28
28
 
29
29
  <!-- OPENING_END -->
30
30
 
31
+ <!-- USAGE_START -->
32
+
31
33
  ## Usage
32
34
 
33
- <!-- USAGE_START -->
35
+ This package is published to the [public npm registry](https://www.npmjs.com/package/@dpuse/dpuse-development). Install it with:
34
36
 
35
- 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.
37
+ ```bash
38
+ npm install @dpuse/dpuse-development
39
+ ```
36
40
 
37
- 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.
41
+ To work on the source instead, clone this repository. Cloned or forked code is unsupported and isn't guaranteed to remain compatible with the DPUse Engine as it evolves.
38
42
 
39
43
  ```bash
40
44
  git clone https://github.com/dpuse/dpuse-development.git
@@ -122,20 +126,20 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
122
126
 
123
127
  |Chunk/Module/File|Composition|
124
128
  |:------ |:-----------|
125
- | dist/dpuse-development.es.js | 318.9 kB · gzip 81.9 kB |
129
+ | dist/dpuse-development.es.js | 319.5 kB · gzip 82.0 kB |
126
130
  | &nbsp;&nbsp;&nbsp;&nbsp;acorn → dist/acorn.mjs | `████████░░░░░░░░░░░░` 41.0% |
127
131
  | &nbsp;&nbsp;&nbsp;&nbsp;acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 35.9% |
128
- | &nbsp;&nbsp;&nbsp;&nbsp;src | `██░░░░░░░░░░░░░░░░░░` 12.4% |
132
+ | &nbsp;&nbsp;&nbsp;&nbsp;src | `███░░░░░░░░░░░░░░░░░` 12.5% |
129
133
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentGovernance.ts | `█░░░░░░░░░░░░░░░░░░░` 2.5% |
130
134
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
131
135
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;manageProject.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
132
136
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
133
137
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentBundleSizes.ts | `░░░░░░░░░░░░░░░░░░░░` 1.4% |
134
138
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
139
+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentUsage.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
135
140
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
136
141
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cloudflare.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
137
142
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checkDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
138
- | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentUsage.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% |
139
143
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;documentOpening.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% |
140
144
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;formatCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
141
145
  | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auditDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
@@ -183,7 +187,7 @@ Please do not open public GitHub issues for security vulnerabilities. Use [GitHu
183
187
 
184
188
  [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/dpuse/dpuse-development/badge)](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-development)
185
189
 
186
- This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. Currently the [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-development) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement.
190
+ This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. Currently the [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-development) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement. Apart from the Best Practices badge above, the remaining Scorecard gaps need multi-person review or a pull-request workflow, which this solo-maintained project doesn't use.
187
191
 
188
192
  ## Contributing
189
193
 
@@ -6471,7 +6471,7 @@ Please do not open public GitHub issues for security vulnerabilities. ${p}
6471
6471
 
6472
6472
  ${f}[![OpenSSF Scorecard](https://api.scorecard.dev/projects/${l}/badge)](https://scorecard.dev/viewer/?uri=${l})
6473
6473
 
6474
- This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. Currently the [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=${l}) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement.${d}
6474
+ This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. Currently the [OpenSSF Scorecard](https://scorecard.dev) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement.${d}
6475
6475
 
6476
6476
  ## Contributing
6477
6477
 
@@ -7076,46 +7076,68 @@ ${r}`;
7076
7076
  }
7077
7077
  //#endregion
7078
7078
  //#region src/actions/documentUsage.ts
7079
- var ua = "<!-- USAGE_START -->", da = "<!-- USAGE_END -->";
7080
- async function fa() {
7079
+ var ua = "<!-- USAGE_START -->", da = "<!-- USAGE_END -->", fa = /* @__PURE__ */ new Set([
7080
+ "connector",
7081
+ "context",
7082
+ "cookbook",
7083
+ "presenter"
7084
+ ]), pa = "Cloned or forked code is unsupported and isn't guaranteed to remain compatible with the DPUse Engine as it evolves.";
7085
+ async function ma() {
7081
7086
  try {
7082
7087
  G("Document Usage"), q("1️⃣ Insert usage content into 'README.md'");
7083
- let e = await W("package.json"), t = pa(e);
7084
- await Bn(ga(t, ma(t), ha(e.engines?.node), ha(e.engines?.npm), ha(e.devDependencies?.typescript)), ua, da), K("Usage documented");
7088
+ let [e, t] = await Promise.all([W("package.json"), W("config.json")]), n = ha(e), r = ga(n), i = _a(e.engines?.node), a = _a(e.engines?.npm), o = _a(e.devDependencies?.typescript);
7089
+ await Bn(ya(va(Hn(t.id), e.name), n, r, i, a, o), ua, da), K("Usage documented");
7085
7090
  } catch (e) {
7086
7091
  console.error("❌ Error documenting usage", e), process.exit(1);
7087
7092
  }
7088
7093
  }
7089
- function pa(e) {
7094
+ function ha(e) {
7090
7095
  let t = e.repository, n = typeof t == "string" ? t : t?.url;
7091
7096
  if (n == null || n === "") throw Error("package.json 'repository' field is required to document usage.");
7092
7097
  return n.replace(/^git\+/, "");
7093
7098
  }
7094
- function ma(e) {
7099
+ function ga(e) {
7095
7100
  return (e.split("/").at(-1) ?? "").replace(/\.git$/, "");
7096
7101
  }
7097
- function ha(e) {
7102
+ function _a(e) {
7098
7103
  if (e == null) throw Error("package.json version range is required to document usage.");
7099
7104
  let t = /\d+(?:\.\d+)*/.exec(e);
7100
7105
  if (t == null) throw Error(`Unable to parse version from '${e}'.`);
7101
7106
  return t[0];
7102
7107
  }
7103
- function ga(e, t, n, r, i) {
7104
- 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.
7108
+ function va(e, t) {
7109
+ let { typeId: n } = e;
7110
+ if (fa.has(n)) return `This ${n} 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.
7111
+
7112
+ You may view or clone this repository for your own purposes, such as building a new, similar ${n}, though there is currently no process to accept third-party ${n}s into DPUse at this stage. ${pa}`;
7113
+ if (e.publishedTo === "npm") {
7114
+ if (t == null || t === "") throw Error("package.json 'name' field is required to document usage.");
7115
+ return `This package is published to the [public npm registry](https://www.npmjs.com/package/${t}). Install it with:
7116
+
7117
+ \`\`\`bash
7118
+ npm install ${t}
7119
+ \`\`\`
7120
+
7121
+ To work on the source instead, clone this repository. ${pa}`;
7122
+ }
7123
+ return `You may view or clone this repository for your own purposes. ${pa}`;
7124
+ }
7125
+ function ya(e, t, n, r, i, a) {
7126
+ return `## Usage
7105
7127
 
7106
- 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.
7128
+ ${e}
7107
7129
 
7108
7130
  \`\`\`bash
7109
- git clone ${e}
7110
- cd ${t}
7131
+ git clone ${t}
7132
+ cd ${n}
7111
7133
  npm install
7112
7134
  \`\`\`
7113
7135
 
7114
- _Requires [Node.js](https://nodejs.org/) ${n} or later, [npm](https://www.npmjs.com/) ${r} or later, and [TypeScript](https://www.typescriptlang.org/) ${i} or later._`;
7136
+ _Requires [Node.js](https://nodejs.org/) ${r} or later, [npm](https://www.npmjs.com/) ${i} or later, and [TypeScript](https://www.typescriptlang.org/) ${a} or later._`;
7115
7137
  }
7116
7138
  //#endregion
7117
7139
  //#region src/actions/formatCode.ts
7118
- async function _a() {
7140
+ async function ba() {
7119
7141
  try {
7120
7142
  G("Format Code"), await U("1️⃣ Format", "prettier", [
7121
7143
  "--write",
@@ -7130,7 +7152,7 @@ async function _a() {
7130
7152
  }
7131
7153
  //#endregion
7132
7154
  //#region src/actions/lintCode.ts
7133
- async function va() {
7155
+ async function xa() {
7134
7156
  try {
7135
7157
  G("Lint Code"), await U("1️⃣ Lint", "eslint", ["."]), K("Code linted");
7136
7158
  } catch (e) {
@@ -7139,7 +7161,7 @@ async function va() {
7139
7161
  }
7140
7162
  //#endregion
7141
7163
  //#region src/utilities/cloudflare.ts
7142
- async function ya() {
7164
+ async function Sa() {
7143
7165
  let e = await W("config.json"), t = {
7144
7166
  body: JSON.stringify(e),
7145
7167
  headers: { "Content-Type": "application/json" },
@@ -7147,7 +7169,7 @@ async function ya() {
7147
7169
  }, n = await fetch(`https://api.dpuse.app/configs/${e.id}`, t);
7148
7170
  if (!n.ok) throw Error(await n.text());
7149
7171
  }
7150
- async function ba(e, t) {
7172
+ async function Ca(e, t) {
7151
7173
  async function n(e, t, r) {
7152
7174
  for (let i of r) {
7153
7175
  let r = `${e}/${i}`, a = `${t}/${i}`;
@@ -7165,7 +7187,7 @@ async function ba(e, t) {
7165
7187
  let r = await Pn(`${e}/${t}/`);
7166
7188
  await n(`${e}/${t}`, t, r);
7167
7189
  }
7168
- async function xa(e) {
7190
+ async function wa(e) {
7169
7191
  let t = e.id, n = {
7170
7192
  body: JSON.stringify(e),
7171
7193
  headers: { "Content-Type": "application/json" },
@@ -7173,7 +7195,7 @@ async function xa(e) {
7173
7195
  }, r = await fetch(`https://api.dpuse.app/configs/${t}`, n);
7174
7196
  if (!r.ok) throw Error(await r.text());
7175
7197
  }
7176
- async function Sa(e, t) {
7198
+ async function Ta(e, t) {
7177
7199
  let n = `v${e.version ?? "unknown"}`;
7178
7200
  async function r(e, r = "") {
7179
7201
  let i = await Pn(e, { withFileTypes: !0 });
@@ -7197,24 +7219,24 @@ async function Sa(e, t) {
7197
7219
  }
7198
7220
  //#endregion
7199
7221
  //#region node_modules/valibot/dist/index.mjs
7200
- var Ca = {
7222
+ var Ea = {
7201
7223
  lang: void 0,
7202
7224
  message: void 0,
7203
7225
  abortEarly: void 0,
7204
7226
  abortPipeEarly: void 0
7205
7227
  };
7206
7228
  /* @__NO_SIDE_EFFECTS__ */
7207
- function wa(e) {
7229
+ function Da(e) {
7208
7230
  return e ? {
7209
7231
  lang: e?.lang ?? void 0,
7210
7232
  message: e?.message,
7211
7233
  abortEarly: e?.abortEarly ?? void 0,
7212
7234
  abortPipeEarly: e?.abortPipeEarly ?? void 0
7213
- } : Ca;
7235
+ } : Ea;
7214
7236
  }
7215
7237
  /* @__NO_SIDE_EFFECTS__ */
7216
- function Ta(e, t, n) {
7217
- let r = e["~run"]({ value: t }, /* @__PURE__ */ wa(n));
7238
+ function Oa(e, t, n) {
7239
+ let r = e["~run"]({ value: t }, /* @__PURE__ */ Da(n));
7218
7240
  return {
7219
7241
  typed: r.typed,
7220
7242
  success: !r.issues,
@@ -7224,21 +7246,21 @@ function Ta(e, t, n) {
7224
7246
  }
7225
7247
  //#endregion
7226
7248
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModulePresenter.es.js
7227
- var Ea = ji([
7249
+ var ka = ji([
7228
7250
  "list",
7229
7251
  "render",
7230
7252
  "setColorMode"
7231
- ]), Da = /* @__PURE__ */ Q({
7253
+ ]), Aa = /* @__PURE__ */ Q({
7232
7254
  ...zi,
7233
7255
  typeId: /* @__PURE__ */ Ci("presenter"),
7234
- actionNames: /* @__PURE__ */ xi(Ea),
7256
+ actionNames: /* @__PURE__ */ xi(ka),
7235
7257
  presentations: /* @__PURE__ */ xi(Li)
7236
- }), Oa = [
7258
+ }), ja = [
7237
7259
  "1️⃣ ",
7238
7260
  "2️⃣ ",
7239
7261
  "3️⃣ ",
7240
7262
  "4️⃣ "
7241
- ], ka = [{
7263
+ ], Ma = [{
7242
7264
  id: "unit",
7243
7265
  label: "Run unit tests",
7244
7266
  command: "vitest",
@@ -7251,36 +7273,36 @@ var Ea = ji([
7251
7273
  arguments: ["test", "--pass-with-no-tests"],
7252
7274
  configFileName: "playwright.config.ts"
7253
7275
  }];
7254
- async function Aa() {
7276
+ async function Na() {
7255
7277
  try {
7256
7278
  G("Build Project"), await U("1️⃣ Bundle project", "vite", ["build"]), K("Project built");
7257
7279
  } catch (e) {
7258
7280
  console.error("❌ Error building project", e), process.exit(1);
7259
7281
  }
7260
7282
  }
7261
- async function ja() {
7283
+ async function Pa() {
7262
7284
  try {
7263
7285
  G("Publish Project");
7264
7286
  let e = await W("package.json"), t = await W("config.json");
7265
- await Ba("1️⃣ ", e, t, Hn(t.id)), K(`Project version '${e.version ?? "unknown"}' published.`);
7287
+ await Ua("1️⃣ ", e, t, Hn(t.id)), K(`Project version '${e.version ?? "unknown"}' published.`);
7266
7288
  } catch (e) {
7267
7289
  console.error("❌ Error publishing project", e), process.exit(1);
7268
7290
  }
7269
7291
  }
7270
- async function Ma() {
7292
+ async function Fa() {
7271
7293
  try {
7272
7294
  G("Release Project");
7273
7295
  let e = await W("package.json"), t = await W("config.json");
7274
- await za("1️⃣ ", e);
7296
+ await Ha("1️⃣ ", e);
7275
7297
  let n = Hn(t.id);
7276
7298
  switch (n.typeId) {
7277
7299
  case "connector":
7278
- t = await Pa("2️⃣ ", e);
7300
+ t = await La("2️⃣ ", e);
7279
7301
  break;
7280
7302
  case "presenter":
7281
- t = await Fa("2️⃣ ", e);
7303
+ t = await Ra("2️⃣ ", e);
7282
7304
  break;
7283
- default: t = await Na("2️⃣ ", e);
7305
+ default: t = await Ia("2️⃣ ", e);
7284
7306
  }
7285
7307
  await U("3️⃣ Bundle project", "vite", ["build"]), await Fn("4️⃣ Stage changes", "git", ["add", "."]), await Fn("5️⃣ Commit changes", "git", [
7286
7308
  "commit",
@@ -7290,7 +7312,7 @@ async function Ma() {
7290
7312
  "push",
7291
7313
  "origin",
7292
7314
  "main:main"
7293
- ]), await Ba("7️⃣ ", e, t, n), n.publishedTo === "npm" ? await U("8️⃣ Create GitHub release", "gh", [
7315
+ ]), await Ua("7️⃣ ", e, t, n), n.publishedTo === "npm" ? await U("8️⃣ Create GitHub release", "gh", [
7294
7316
  "release",
7295
7317
  "create",
7296
7318
  `v${e.version ?? "unknown"}`,
@@ -7303,39 +7325,39 @@ async function Ma() {
7303
7325
  console.error("❌ Error releasing project", e), process.exit(1);
7304
7326
  }
7305
7327
  }
7306
- async function Na(e, t) {
7328
+ async function Ia(e, t) {
7307
7329
  q(`${e} Build project configuration`);
7308
7330
  let n = await W("config.json");
7309
7331
  return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), n.icon ??= await Rn("logo.svg"), n.iconDark ??= await Rn("logoDark.svg"), await zn("config.json", n), n;
7310
7332
  }
7311
- async function Pa(e, t) {
7333
+ async function La(e, t) {
7312
7334
  q(`${e} Build connector project configuration`);
7313
- let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ Ta(Ki, n);
7335
+ let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ Oa(Ki, n);
7314
7336
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
7315
7337
  let a = Gn(r);
7316
- return await Ia(t, n, a, Xi(a));
7338
+ return await za(t, n, a, Xi(a));
7317
7339
  }
7318
- async function Fa(e, t) {
7340
+ async function Ra(e, t) {
7319
7341
  q(`${e} Build presenter project configuration`);
7320
- let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ Ta(Da, n);
7342
+ let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ Oa(Aa, n);
7321
7343
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
7322
- return await Ia(t, n, Gn(r));
7344
+ return await za(t, n, Gn(r));
7323
7345
  }
7324
- async function Ia(e, t, n, r) {
7346
+ async function za(e, t, n, r) {
7325
7347
  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 zn("config.json", t), t;
7326
7348
  }
7327
- async function La() {
7349
+ async function Ba() {
7328
7350
  try {
7329
7351
  G("Synchronise Project with GitHub");
7330
7352
  let e = await W("package.json"), t = await W("config.json");
7331
- switch (await za("1️⃣ ", e), Hn(t.id).typeId) {
7353
+ switch (await Ha("1️⃣ ", e), Hn(t.id).typeId) {
7332
7354
  case "connector":
7333
- await Pa("2️⃣ ", e);
7355
+ await La("2️⃣ ", e);
7334
7356
  break;
7335
7357
  case "presenter":
7336
- await Fa("2️⃣ ", e);
7358
+ await Ra("2️⃣ ", e);
7337
7359
  break;
7338
- default: await Na("2️⃣ ", e);
7360
+ default: await Ia("2️⃣ ", e);
7339
7361
  }
7340
7362
  await Fn("3️⃣ Stage changes", "git", ["add", "."]), await Fn("4️⃣ Commit changes", "git", [
7341
7363
  "commit",
@@ -7350,14 +7372,14 @@ async function La() {
7350
7372
  console.error("❌ Error synchronising project with GitHub", e), process.exit(1);
7351
7373
  }
7352
7374
  }
7353
- async function Ra(e = ["unit"], t = !1) {
7375
+ async function Va(e = ["unit"], t = !1) {
7354
7376
  try {
7355
7377
  G("Test Project");
7356
7378
  let n = 0;
7357
- for (let r of ka) {
7379
+ for (let r of Ma) {
7358
7380
  if (!e.includes(r.id) || await Rn(r.configFileName) === null) continue;
7359
7381
  let i = t && r.id === "unit" ? ["--coverage"] : [];
7360
- await U(`${Oa[n] ?? ""} ${r.label}`, r.command, [...r.arguments, ...i]), n += 1;
7382
+ await U(`${ja[n] ?? ""} ${r.label}`, r.command, [...r.arguments, ...i]), n += 1;
7361
7383
  }
7362
7384
  if (n === 0) {
7363
7385
  console.warn("\n⚠️ No tests configured for this project.\n");
@@ -7368,7 +7390,7 @@ async function Ra(e = ["unit"], t = !1) {
7368
7390
  console.error("❌ Error testing project", e), process.exit(1);
7369
7391
  }
7370
7392
  }
7371
- async function za(e, t, n = "./") {
7393
+ async function Ha(e, t, n = "./") {
7372
7394
  if (q(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`);
7373
7395
  else {
7374
7396
  let e = t.version, n = t.version.split(".");
@@ -7376,17 +7398,17 @@ async function za(e, t, n = "./") {
7376
7398
  }
7377
7399
  await zn(`${n}package.json`, t);
7378
7400
  }
7379
- async function Ba(e, t, n, r) {
7380
- if (r.typeId === "app") q(`${e} Register module`), await ya();
7381
- else if (r.typeId === "engine") q(`${e} Register module`), await Sa(t, `dpuse-engine-eu/${r.uploadGroupName ?? "unknown"}`), await xa(n);
7401
+ async function Ua(e, t, n, r) {
7402
+ if (r.typeId === "app") q(`${e} Register module`), await Sa();
7403
+ else if (r.typeId === "engine") q(`${e} Register module`), await Ta(t, `dpuse-engine-eu/${r.uploadGroupName ?? "unknown"}`), await wa(n);
7382
7404
  else if (r.uploadGroupName === void 0) q(`${e} Registration NOT required`);
7383
7405
  else {
7384
7406
  q(`${e} Register module`);
7385
7407
  let i = n.id.split("-").slice(2).join("-");
7386
- await Sa(t, `dpuse-engine-eu/${r.uploadGroupName}/${i}`), await xa(n);
7408
+ await Ta(t, `dpuse-engine-eu/${r.uploadGroupName}/${i}`), await wa(n);
7387
7409
  }
7388
7410
  }
7389
7411
  //#endregion
7390
- export { Jn as auditDependencies, Aa as buildProject, Yn as checkConfigFiles, nr as checkDependencies, ra as documentActions, dr as documentBundleSizes, Nr as documentDependencies, ei as documentGovernance, oa as documentOpening, fa as documentUsage, _a as formatCode, va as lintCode, ja as publishProject, Ma as releaseProject, La as syncProjectWithGitHub, Ra as testProject, ba as uploadDirectoryToR2 };
7412
+ export { Jn as auditDependencies, Na as buildProject, Yn as checkConfigFiles, nr as checkDependencies, ra as documentActions, dr as documentBundleSizes, Nr as documentDependencies, ei as documentGovernance, oa as documentOpening, ma as documentUsage, ba as formatCode, xa as lintCode, Pa as publishProject, Fa as releaseProject, Ba as syncProjectWithGitHub, Va as testProject, Ca as uploadDirectoryToR2 };
7391
7413
 
7392
7414
  //# sourceMappingURL=dpuse-development.es.js.map