@dpuse/dpuse-development 0.3.607 → 0.3.608

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
@@ -149,7 +149,7 @@ The Bundle Analysis Reports provide detailed breakdowns of the bundle's composit
149
149
  |         documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% |
150
150
  |         index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.9% |
151
151
  |         cloudflare.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
152
- |         checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
152
+ |         checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
153
153
  |         checkDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
154
154
  |         documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
155
155
  |         formatCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
@@ -5872,21 +5872,22 @@ async function Jn() {
5872
5872
  try {
5873
5873
  G("Check configuration files.");
5874
5874
  let e = Hn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5875
- await Yn(t, "../", ".editorconfig"), await Yn(t, "../", ".gitattributes"), await Yn(t, "../", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Yn(t, "../", ".markdownlint.json"), await Yn(t, "../", ".ncurc.json"), await Yn(t, "../", "LICENSE"), await Yn(t, "../", "tsconfig.scripts.json"), await Yn(t, "../", "vite.config.ts"), await Yn(t, "../", "vitest.config.ts"), K("Configuration files checked..");
5875
+ await Yn(t, "../", ".editorconfig"), await Yn(t, "../", ".gitattributes"), await Yn(t, "../", ".gitignore", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Yn(t, "../", ".markdownlint.json"), await Yn(t, "../", ".ncurc.json"), await Yn(t, "../", "LICENSE"), await Yn(t, "../", "tsconfig.scripts.json"), await Yn(t, "../", "vite.config.ts", "vite.config.default.ts"), await Yn(t, "../", "vitest.config.ts"), K("Configuration files checked..");
5876
5876
  } catch (e) {
5877
5877
  console.error("❌ Error checking configuration files.", e), process.exit(1);
5878
5878
  }
5879
5879
  }
5880
- async function Yn(e, t, r) {
5881
- let i = n.resolve(e, `${t}${r}`), a = await Rn(i), o = n.resolve(process.cwd(), r.split("_", 1)[0] ?? r);
5882
- console.log(111, i, o);
5880
+ async function Yn(e, t, r, i) {
5881
+ let a = n.resolve(process.cwd(), r), o = n.resolve(e, `'../'${i ?? r}`);
5882
+ console.log(111, a, o);
5883
5883
  let s;
5884
5884
  try {
5885
- s = await Rn(o);
5885
+ s = await Rn(a);
5886
5886
  } catch (e) {
5887
5887
  if (e.code !== "ENOENT") throw e;
5888
5888
  }
5889
- if (s === a) {
5889
+ let c = await Rn(o);
5890
+ if (s === c) {
5890
5891
  console.info(`ℹ️ File '${r.split("_", 1)[0] ?? r}' is the same`);
5891
5892
  return;
5892
5893
  }