Merge pull request #800 from Cooldude2606/fix/template-ignore

Fix plugin template npm and git ignore
This commit is contained in:
Daniel authored and GitHub committed 2025-10-30 13:54:29 +01:00
commit af299bc08d
3 files changed
+2 -2

No files matched your search

+2 -2
View File
@@ -94,8 +94,8 @@ async function copyPluginTemplates(pluginName, templates) {
const commonPath = path.resolve(__dirname, "./templates/common");
// Files included in all templates
files.set(".gitignore", path.join(commonPath, ".gitignore"));
files.set(".npmignore", path.join(commonPath, ".npmignore"));
files.set(".gitignore", path.join(commonPath, "template.gitignore"));
files.set(".npmignore", path.join(commonPath, "template.npmignore"));
files.set("package.json", path.join(commonPath, "package.json"));
files.set(`index.${ext}`, path.join(templatePath, `index.${ext}`));