mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Fix plugin template npm and git ignore
This commit is contained in:
3 files changed
+2
-2
No files matched your search
@@ -94,8 +94,8 @@ async function copyPluginTemplates(pluginName, templates) {
|
|||||||
const commonPath = path.resolve(__dirname, "./templates/common");
|
const commonPath = path.resolve(__dirname, "./templates/common");
|
||||||
|
|
||||||
// Files included in all templates
|
// Files included in all templates
|
||||||
files.set(".gitignore", path.join(commonPath, ".gitignore"));
|
files.set(".gitignore", path.join(commonPath, "template.gitignore"));
|
||||||
files.set(".npmignore", path.join(commonPath, ".npmignore"));
|
files.set(".npmignore", path.join(commonPath, "template.npmignore"));
|
||||||
files.set("package.json", path.join(commonPath, "package.json"));
|
files.set("package.json", path.join(commonPath, "package.json"));
|
||||||
files.set(`index.${ext}`, path.join(templatePath, `index.${ext}`));
|
files.set(`index.${ext}`, path.join(templatePath, `index.${ext}`));
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user