rc inital

This commit is contained in:
OrJDev
2022-11-01 09:38:08 +02:00
commit f67748fe9d
20 changed files with 3610 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { existsSync } from "fs";
import fs from "fs/promises";
import path from "path";
import { fileURLToPath } from "url";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
async function main() {
if (!existsSync(path.join(__dirname, "../dist"))) {
await fs.mkdir(path.join(__dirname, "../dist"));
}
await fs.copyFile(
path.join(__dirname, "../README.MD"),
path.join(__dirname, "../dist/README.MD")
);
}
main().catch((e) => {
console.log(e);
});