verteilen-core 1.3.31 → 1.3.33

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.
@@ -29,6 +29,7 @@ export interface PluginContainer extends DataTime {
29
29
  icon?: string;
30
30
  owner?: string;
31
31
  title?: string;
32
+ description?: string;
32
33
  url?: string;
33
34
  plugins: Array<Plugin>;
34
35
  projects: Array<TemplateData_Project>;
@@ -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.33",
4
4
  "license": "MIT",
5
5
  "homepage": "https://verteilen.github.io/wiki/",
6
6
  "author": "Elly",
@@ -114,6 +114,10 @@ export interface PluginContainer extends DataTime {
114
114
  * **Plugin Group Name**
115
115
  */
116
116
  title?: string
117
+ /**
118
+ * **Plugin Group Description**
119
+ */
120
+ description?: string
117
121
  /**
118
122
  * **Plugin Header URL**
119
123
  */
@@ -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
  }