@datapos/datapos-development 0.3.405 → 0.3.406
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.
|
@@ -5520,25 +5520,25 @@ async function $r(t = []) {
|
|
|
5520
5520
|
async function Ar(t) {
|
|
5521
5521
|
console.log(1111, t);
|
|
5522
5522
|
const e = te.dirname(ri(import.meta.url));
|
|
5523
|
-
await Ut(e, "../", ".editorconfig"), await Ut(e, "../", ".gitattributes"), await Ut(e, "../", ".markdownlint.json"), await Ut(e, "../", "LICENSE"), t.isPublish && await Ut(e, "../", ".gitignore_published");
|
|
5523
|
+
await Ut(e, "../", ".editorconfig"), await Ut(e, "../", ".gitattributes"), await Ut(e, "../", ".markdownlint.json"), await Ut(e, "../", "LICENSE"), t.isPublish && await Ut(e, "../", ".gitignore_published", ".gitignore2");
|
|
5524
5524
|
}
|
|
5525
|
-
async function Ut(t, e, s) {
|
|
5525
|
+
async function Ut(t, e, s, a) {
|
|
5526
5526
|
console.log(2222, t, e, s);
|
|
5527
|
-
const
|
|
5528
|
-
console.log(3333,
|
|
5529
|
-
const
|
|
5530
|
-
console.log(4444,
|
|
5531
|
-
let
|
|
5527
|
+
const o = te.resolve(t, `${e}${s}`);
|
|
5528
|
+
console.log(3333, o);
|
|
5529
|
+
const l = await At(o), d = te.resolve(process.cwd(), a || s);
|
|
5530
|
+
console.log(4444, d);
|
|
5531
|
+
let v;
|
|
5532
5532
|
try {
|
|
5533
|
-
|
|
5534
|
-
} catch (
|
|
5535
|
-
if (
|
|
5533
|
+
v = await At(d);
|
|
5534
|
+
} catch (g) {
|
|
5535
|
+
if (g.code !== "ENOENT") throw g;
|
|
5536
5536
|
}
|
|
5537
|
-
if (
|
|
5537
|
+
if (v === l) {
|
|
5538
5538
|
console.info(`ℹ️ File '${s}' is already up to date.`);
|
|
5539
5539
|
return;
|
|
5540
5540
|
}
|
|
5541
|
-
await Gt(
|
|
5541
|
+
await Gt(d, l), console.info(`ℹ️ File '${s}' synchronised.`);
|
|
5542
5542
|
}
|
|
5543
5543
|
async function Gr(t) {
|
|
5544
5544
|
try {
|