@dpuse/dpuse-development 0.3.654 → 0.3.656
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.
|
@@ -5878,7 +5878,11 @@ async function qn() {
|
|
|
5878
5878
|
try {
|
|
5879
5879
|
G("Check configuration files"), q("1️⃣ Check individual files");
|
|
5880
5880
|
let e = Vn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
|
|
5881
|
-
if (await J(t, ".editorconfig"), await J(t, ".gitattributes"), await J(t, ".gitignore", [e.publishedTo === "npm" ? ".
|
|
5881
|
+
if (await J(t, ".editorconfig"), await J(t, ".gitattributes"), await J(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_npm_published" : ".gitignore_default"]), await J(t, ".markdownlint.json"), await J(t, ".ncurc.json"), [
|
|
5882
|
+
"api",
|
|
5883
|
+
"development",
|
|
5884
|
+
"eslint"
|
|
5885
|
+
].includes(e.typeId) ? console.info("ℹ️ File 'eslint.config.js' is UNIQUE to this project") : await J(t, "eslint.config.js", ["eslint.config.default.js"]), await J(t, "LICENSE"), [
|
|
5882
5886
|
"connector",
|
|
5883
5887
|
"engine",
|
|
5884
5888
|
"shared",
|
|
@@ -5895,7 +5899,11 @@ async function qn() {
|
|
|
5895
5899
|
let n;
|
|
5896
5900
|
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);
|
|
5897
5901
|
}
|
|
5898
|
-
[
|
|
5902
|
+
[
|
|
5903
|
+
"api",
|
|
5904
|
+
"eslint",
|
|
5905
|
+
"kb"
|
|
5906
|
+
].includes(e.typeId) ? console.info("ℹ️ File 'vitest.config.ts' is NOT required by this project") : await J(t, "vitest.config.ts"), K("Configuration files checked");
|
|
5899
5907
|
} catch (e) {
|
|
5900
5908
|
console.error("❌ Error checking configuration files", e), process.exit(1);
|
|
5901
5909
|
}
|