@dpuse/dpuse-development 1.0.116 → 1.0.117

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
@@ -97,7 +97,7 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
97
97
  |         ↳ testProject.ts | `░░░░░░░░░░░░░░░░░░░░` 1.2% · 799 B |
98
98
  |         ↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.4% · 2.8 kB |
99
99
  |     (inlined worker) | `░░░░░░░░░░░░░░░░░░░░` 0.0% · 17 B |
100
- |     (bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 11.8% · 7.6 kB |
100
+ |     (bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 11.9% · 7.6 kB |
101
101
  | **dist/utilities-CjhO3pxf.js** | 23.1 kB · gzip 6.4 kB · 23.6% of the build |
102
102
  |     @dpuse/dpuse-shared → dist/dpuse-shared.es.js | `██████████░░░░░░░░░░` 50.8% · 11.8 kB |
103
103
  |     src → index.ts | `███████░░░░░░░░░░░░░` 35.8% · 8.3 kB |
@@ -1461,7 +1461,13 @@ async function Tr() {
1461
1461
  try {
1462
1462
  s("Publish Project");
1463
1463
  let e = await S("package.json"), t = await S("config.json"), n = m(t.id);
1464
- n.publishedTo === "npm" ? await o("1️⃣ Publish to npm", "npm", ["publish", "--provenance"]) : C("1️⃣ Publishing to npm NOT required"), await Er("2️⃣ ", e, t, n), n.publishedTo === "api" || n.publishedTo === "kb" ? await o("3️⃣ Deploy", "npm", ["run", "deploy"]) : n.publishedTo === "sampleData" && (C("3️⃣ Upload sample data"), await yr("public")), b(`Project version '${e.version ?? "unknown"}' published.`);
1464
+ n.publishedTo === "npm" ? await o("1️⃣ Publish to npm", "npm", ["publish", "--provenance"]) : C("1️⃣ Publishing to npm NOT required");
1465
+ let r = [
1466
+ "api",
1467
+ "app",
1468
+ "kb"
1469
+ ].includes(n.publishedTo);
1470
+ r && await o("2️⃣ Deploy", "npm", ["run", "deploy"]), await Er(r ? "3️⃣ " : "2️⃣ ", e, t, n), n.publishedTo === "sampleData" && (C("3️⃣ Upload sample data"), await yr("public")), b(`Project version '${e.version ?? "unknown"}' published.`);
1465
1471
  } catch (e) {
1466
1472
  console.error("❌ Error publishing project", e), process.exit(1);
1467
1473
  }