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

3
server/node_modules/plop/scripts/README.md generated vendored Normal file
View File

@@ -0,0 +1,3 @@
This is the main source code for the `plop` package.
For documentation, please refer to [our website](https://plopjs.com/) or [our main README at the root of the repository](../../README.md).

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"));
}

19
server/node_modules/plop/scripts/prepublishOnly.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));
// Keep backup of temporary README
fs.copyFileSync(
path.join(__dirname, "../README.md"),
path.join(__dirname, "./README.md"),
);
// Move main README
fs.copyFileSync(
path.join(__dirname, "../../../README.md"),
path.join(__dirname, "../README.md"),
);