@dpuse/dpuse-development 0.3.616 → 0.3.617

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
@@ -140,18 +140,18 @@ The Bundle Analysis Reports provide detailed breakdowns of the bundle's composit
140
140
 
141
141
  |Chunk/Module/File|Composition|
142
142
  |:------ |:-----------|
143
- | dpuse-development.es.js | 299.1 kB · gz 74.6 kB · br 59.5 kB |
144
- |     acorn → dist/acorn.mjs | `██████████░░░░░░░░░░` 49.5% |
143
+ | dpuse-development.es.js | 299.3 kB · gz 74.6 kB · br 59.5 kB |
144
+ |     acorn → dist/acorn.mjs | `██████████░░░░░░░░░░` 49.4% |
145
145
  |     acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 35.5% |
146
- |     src | `██░░░░░░░░░░░░░░░░░░` 10.6% |
146
+ |     src | `██░░░░░░░░░░░░░░░░░░` 10.7% |
147
147
  |         manageProject.ts | `█░░░░░░░░░░░░░░░░░░░` 2.8% |
148
148
  |         documentBundleSizes.ts | `░░░░░░░░░░░░░░░░░░░░` 2.0% |
149
149
  |         documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% |
150
- |         index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.8% |
150
+ |         index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% |
151
151
  |         cloudflare.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
152
- |         checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
153
- |         documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
152
+ |         checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
154
153
  |         checkDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
154
+ |         documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
155
155
  |         formatCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
156
156
  |         auditDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
157
157
  |         lintCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
@@ -5804,7 +5804,7 @@ async function Hn(e, n) {
5804
5804
  await t.writeFile(e, n, "utf8");
5805
5805
  }
5806
5806
  function G(e) {
5807
- let t = "─".repeat(Math.max(e.length + 60, 60));
5807
+ let t = "────────────────────────────────────────────────────────────────────────────────";
5808
5808
  console.info(`\n${t}`), console.info(`▶️ ${e}`), console.info(`${t}`);
5809
5809
  }
5810
5810
  function K(e) {
@@ -5873,7 +5873,9 @@ async function Yn() {
5873
5873
  try {
5874
5874
  G("Check configuration files.");
5875
5875
  let e = Un((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5876
- await Xn(t, ".editorconfig"), await Xn(t, ".gitattributes"), await Xn(t, ".gitignore", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Xn(t, ".markdownlint.json"), await Xn(t, ".ncurc.json"), await Xn(t, "LICENSE"), await Xn(t, "tsconfig.scripts.json"), await Xn(t, "vite.config.ts", e.typeId === "tool" ? "vite.config.tool.ts" : "vite.config.default.ts"), await Xn(t, "vitest.config.ts"), K("Configuration files checked.");
5876
+ await Xn(t, ".editorconfig"), await Xn(t, ".gitattributes"), await Xn(t, ".gitignore", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Xn(t, ".markdownlint.json"), await Xn(t, ".ncurc.json"), await Xn(t, "LICENSE"), await Xn(t, "tsconfig.scripts.json");
5877
+ let r = e.typeId === "tool" ? "vite.config.tool.ts" : "vite.config.default.ts";
5878
+ await Xn(t, "vite.config.ts", e.typeId === "development" ? void 0 : r), await Xn(t, "vitest.config.ts"), K("Configuration files checked.");
5877
5879
  } catch (e) {
5878
5880
  console.error("❌ Error checking configuration files.", e), process.exit(1);
5879
5881
  }
@@ -5898,6 +5900,7 @@ async function Zn() {
5898
5900
  try {
5899
5901
  G("Check Dependencies"), await Ln("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), q("2️⃣ Check using 'npm-check-updates'"), await s({
5900
5902
  interactive: !0,
5903
+ upgrade: !0,
5901
5904
  dep: "dev,prod,peer,optional",
5902
5905
  install: "never"
5903
5906
  }), await Ln("3️⃣ Install updated dependencies", "npm", ["install", "--prefer-online"]), K("Dependencies checked.");