node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

19
server/node_modules/plop/scripts/postpublish.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env node
import fs from "fs";
import * as path from "path";
import * as url from "url";
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
const exists = fs.existsSync("./README.md");
if (exists) {
// Restore version of README previously there.
fs.copyFileSync(
path.join(__dirname, "./README.md"),
path.join(__dirname, "../README.md"),
);
fs.unlinkSync(path.join(__dirname, "./README.md"));
}