@dpuse/dpuse-development 0.3.625 → 0.3.627
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,9 +100,9 @@ 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.
|
|
103
|
+
| dpuse-development.es.js | 299.6 kB · gz 74.8 kB · br 59.6 kB |
|
|
104
104
|
| acorn → dist/acorn.mjs | `██████████░░░░░░░░░░` 49.4% |
|
|
105
|
-
| acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 35.
|
|
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% |
|
|
@@ -116,7 +116,7 @@ The Bundle Analysis Reports provide detailed breakdowns of the bundle's composit
|
|
|
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.
|
|
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,27 +5873,35 @@ 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)
|
|
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)
|
|
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
|
}
|
|
5885
5891
|
}
|
|
5886
|
-
async function J(e, t, r) {
|
|
5887
|
-
let i = n.resolve(process.cwd(), t), a =
|
|
5892
|
+
async function J(e, t, r = []) {
|
|
5893
|
+
let i = n.resolve(process.cwd(), t), a = r.length > 0 ? r : [t], o;
|
|
5888
5894
|
try {
|
|
5889
5895
|
o = await zn(i);
|
|
5890
5896
|
} catch (e) {
|
|
5891
5897
|
if (e.code !== "ENOENT") throw e;
|
|
5892
5898
|
}
|
|
5893
|
-
let
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5899
|
+
for (let r of a) {
|
|
5900
|
+
let i = await zn(n.resolve(e, `../${r}`));
|
|
5901
|
+
if (o === i) {
|
|
5902
|
+
console.info(`ℹ️ File '${t.split("_", 1)[0] ?? t}' is the same`);
|
|
5903
|
+
return;
|
|
5904
|
+
}
|
|
5897
5905
|
}
|
|
5898
5906
|
console.info(`⚠️ File '${t.split("_", 1)[0] ?? t}' is NOT the same`);
|
|
5899
5907
|
}
|