verteilen-core 1.3.31 → 1.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,12 +82,12 @@ const PluginBuild = (root, plugins, templates) => {
82
82
  console.log("Output project templates");
83
83
  templates.projects.forEach(item => {
84
84
  const result = item.template((0, interface_1.CreateDefaultProject)());
85
- fs.writeFileSync(path.join(root_p, `${item.title}.json`), JSON.stringify(result, null, 4), 'utf-8');
85
+ fs.writeFileSync(path.join(root_p, `${item.filename}.json`), JSON.stringify(result, null, 4), 'utf-8');
86
86
  });
87
87
  console.log("Output database templates");
88
88
  templates.databases.forEach(item => {
89
89
  const result = item.template();
90
- fs.writeFileSync(path.join(root_d, `${item.title}.json`), JSON.stringify(result, null, 4), 'utf-8');
90
+ fs.writeFileSync(path.join(root_d, `${item.filename}.json`), JSON.stringify(result, null, 4), 'utf-8');
91
91
  });
92
92
  };
93
93
  exports.PluginBuild = PluginBuild;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verteilen-core",
3
- "version": "1.3.31",
3
+ "version": "1.3.32",
4
4
  "license": "MIT",
5
5
  "homepage": "https://verteilen.github.io/wiki/",
6
6
  "author": "Elly",
@@ -50,7 +50,7 @@ export const PluginBuild = (root:string, plugins:PluginNode, templates:PluginGen
50
50
  templates.projects.forEach(item => {
51
51
  const result:Project = item.template(CreateDefaultProject())
52
52
  fs.writeFileSync(
53
- path.join(root_p, `${item.title}.json`),
53
+ path.join(root_p, `${item.filename}.json`),
54
54
  JSON.stringify(result, null, 4), 'utf-8')
55
55
  })
56
56
 
@@ -58,7 +58,7 @@ export const PluginBuild = (root:string, plugins:PluginNode, templates:PluginGen
58
58
  templates.databases.forEach(item => {
59
59
  const result:Array<DatabaseContainer> = item.template()
60
60
  fs.writeFileSync(
61
- path.join(root_d, `${item.title}.json`),
61
+ path.join(root_d, `${item.filename}.json`),
62
62
  JSON.stringify(result, null, 4), 'utf-8')
63
63
  })
64
64
  }