@dpuse/dpuse-development 0.3.626 → 0.3.628

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
@@ -100,23 +100,23 @@ The Bundle Analysis Reports provide detailed breakdowns of the bundle's composit
100
100
 
101
101
  |Chunk/Module/File|Composition|
102
102
  |:------ |:-----------|
103
- | dpuse-development.es.js | 299.5 kB · gz 74.7 kB · br 59.8 kB |
103
+ | dpuse-development.es.js | 299.6 kB · gz 74.8 kB · br 59.7 kB |
104
104
  |     acorn → dist/acorn.mjs | `██████████░░░░░░░░░░` 49.4% |
105
- |     acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 35.5% |
105
+ |     acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 35.4% |
106
106
  |     src | `██░░░░░░░░░░░░░░░░░░` 10.8% |
107
107
  |         manageProject.ts | `█░░░░░░░░░░░░░░░░░░░` 2.8% |
108
108
  |         documentBundleSizes.ts | `░░░░░░░░░░░░░░░░░░░░` 2.0% |
109
109
  |         documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% |
110
110
  |         index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% |
111
111
  |         cloudflare.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
112
- |         checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.7% |
112
+ |         checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
113
113
  |         checkDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
114
114
  |         documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
115
115
  |         formatCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
116
116
  |         auditDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
117
117
  |         lintCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
118
118
  |     @dpuse/dpuse-shared | `█░░░░░░░░░░░░░░░░░░░` 4.0% |
119
- |         dist/componentConfig.schema-dBVLwQIt.js | `█░░░░░░░░░░░░░░░░░░░` 3.2% |
119
+ |         dist/componentConfig.schema-dBVLwQIt.js | `█░░░░░░░░░░░░░░░░░░░` 3.1% |
120
120
  |         dist/dpuse-shared-componentModuleConnector.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
121
121
  |         dist/dpuse-shared-componentModuleContext.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
122
122
  |         dist/dpuse-shared-locale.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
@@ -5873,12 +5873,18 @@ async function Yn() {
5873
5873
  try {
5874
5874
  G("Check configuration files"), q("1️⃣ Check individual files");
5875
5875
  let e = Un((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5876
- await J(t, ".editorconfig"), await J(t, ".gitattributes"), await J(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"]), await J(t, ".markdownlint.json"), await J(t, ".ncurc.json"), await J(t, "eslint.config.ts", ["eslint.config.default.ts"]), await J(t, "LICENSE"), await J(t, "tsconfig.scripts.json"), ["kb"].includes(e.typeId) ? console.info("ℹ️ File 'vite.config.ts' is NOT required by this project") : [
5876
+ if (await J(t, ".editorconfig"), await J(t, ".gitattributes"), await J(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"]), await J(t, ".markdownlint.json"), await J(t, ".ncurc.json"), await J(t, "eslint.config.ts", ["eslint.config.default.ts"]), await J(t, "LICENSE"), await J(t, "tsconfig.scripts.json"), ["kb"].includes(e.typeId)) console.info("ℹ️ File 'vite.config.ts' is NOT required by this project");
5877
+ else if ([
5877
5878
  "app",
5878
5879
  "api",
5879
5880
  "development",
5880
5881
  "shared"
5881
- ].includes(e.typeId) ? console.info("ℹ️ File 'vite.config.ts' is UNIQUE to this project") : await J(t, "vite.config.ts", e.typeId === "tool" ? ["vite.config.tool.ts", "vite.config.tool.wasm.ts"] : ["vite.config.default.ts"]), await J(t, "vitest.config.ts"), K("Configuration files checked");
5882
+ ].includes(e.typeId)) console.info("ℹ️ File 'vite.config.ts' is UNIQUE to this project");
5883
+ else {
5884
+ let n;
5885
+ n = e.typeId === "connector" ? ["vite.config.default.ts", "vite.config.wasm.ts"] : e.typeId === "tool" ? ["vite.config.tool.ts"] : ["vite.config.default.ts"], await J(t, "vite.config.ts", n);
5886
+ }
5887
+ await J(t, "vitest.config.ts"), K("Configuration files checked");
5882
5888
  } catch (e) {
5883
5889
  console.error("❌ Error checking configuration files", e), process.exit(1);
5884
5890
  }
@@ -5893,7 +5899,7 @@ async function J(e, t, r = []) {
5893
5899
  for (let r of a) {
5894
5900
  let i = await zn(n.resolve(e, `../${r}`));
5895
5901
  if (o === i) {
5896
- console.info(`ℹ️ File '${t.split("_", 1)[0] ?? t}' is the same`);
5902
+ console.info(`ℹ️ File '${t.split("_", 1)[0] ?? t}' is the same as '${r}'`);
5897
5903
  return;
5898
5904
  }
5899
5905
  }