@airfleet/generator-init 0.5.0 → 0.5.1

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.
@@ -96,14 +96,20 @@ export default class extends Generator {
96
96
  ".airfleet-release",
97
97
  ".editorconfig",
98
98
  ".gitattributes",
99
- ".gitignore",
100
99
  ".gitlab-ci.yml",
101
100
  "CHANGELOG.md",
102
101
  "LICENSE.ejs",
103
102
  "package.json.ejs",
104
103
  "README.md.ejs",
105
104
  ];
106
- const templates = mapFilesToTemplates(files);
105
+ const templates = [
106
+ ...mapFilesToTemplates(files),
107
+ {
108
+ template: "gitignore",
109
+ destination: `.gitignore`,
110
+ isEnabled: true,
111
+ },
112
+ ];
107
113
 
108
114
  copyTemplates(this, templates, this.data);
109
115
  }
@@ -0,0 +1,3 @@
1
+ node_modules
2
+ coverage
3
+ .npmrc
@@ -112,7 +112,6 @@ export default class extends Generator {
112
112
  ".airfleet-release",
113
113
  ".editorconfig",
114
114
  ".gitattributes",
115
- ".gitignore",
116
115
  ".gitlab-ci.yml",
117
116
  "CHANGELOG.md",
118
117
  "composer.json.ejs",
@@ -123,6 +122,11 @@ export default class extends Generator {
123
122
  ];
124
123
  const templates = [
125
124
  ...mapFilesToTemplates(files),
125
+ {
126
+ template: "gitignore",
127
+ destination: `.gitignore`,
128
+ isEnabled: true,
129
+ },
126
130
  {
127
131
  template: "plugin-name.php.ejs",
128
132
  destination: `${this.name.slug}.php`,
@@ -0,0 +1,4 @@
1
+ node_modules
2
+ coverage
3
+ .npmrc
4
+ vendor
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airfleet/generator-init",
3
3
  "description": "A Yeoman generator to scaffold common Airfleet features",
4
- "version": "0.5.0",
4
+ "version": "0.5.1",
5
5
  "scripts": {},
6
6
  "publishConfig": {
7
7
  "access": "public"