generator-folklore 3.0.43 → 3.0.45

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.
@@ -22,7 +22,7 @@ class AgentsGenerator extends _generator.default {
22
22
  const hasPackageJson = this.fs.exists(this.destinationPath('package.json'));
23
23
  const existingContent = this.fs.exists(destPath) ? this.fs.read(destPath) : '';
24
24
  const separator = '\n\n---\n\n';
25
- const parts = [this.fs.read(this.templatePath('general.md')), hasComposerJson ? this.fs.read(this.templatePath('laravel.md')) : null, hasPackageJson ? this.fs.read(this.templatePath('frontend.md')) : null].filter(it => it !== null).join(separator);
25
+ const parts = [this.fs.read(this.templatePath('general.md')), hasComposerJson ? this.fs.read(this.templatePath('laravel.md')) : null, hasPackageJson ? this.fs.read(this.templatePath('frontend.md')) : null, this.fs.read(this.templatePath('after.md'))].filter(it => it !== null).join(separator);
26
26
  const newContent = existingContent.length > 0 ? `${existingContent}${separator}${parts}` : parts;
27
27
  this.fs.write(destPath, newContent);
28
28
  }
@@ -0,0 +1,4 @@
1
+ ### After changes
2
+ - Format code using prettier
3
+ - Run linter
4
+ - Don't run tests unless explicitly specified
@@ -19,3 +19,4 @@
19
19
  - Organize global types in `.d.ts` files in the `types` folder
20
20
  - Add className props for style composition and when needed add className props for inner elements
21
21
  - Don't write string, use i18n components from react-intl
22
+ - Always add a `description` to i18n message and don't define `id`
@@ -5,10 +5,11 @@
5
5
  "trailingComma": "all",
6
6
  "tabWidth": 4,
7
7
  "importOrder": [
8
+ "\\.global\\.s?css$",
8
9
  "<THIRD_PARTY_MODULES>",
9
10
  "^[./](.*)?/(utils|hooks|lib)",
10
11
  "^[./].*(?<!(\\.[a-z]+))$",
11
- "\\.scss$",
12
+ "\\.s?css$",
12
13
  "\\.[a-z]+$"
13
14
  ],
14
15
  "importOrderSeparation": true,
@@ -2,7 +2,6 @@
2
2
  "name": "",
3
3
  "version": "0.1.0",
4
4
  "private": true,
5
- "type": "module",
6
5
  "author": {
7
6
  "name": "Folklore",
8
7
  "email": "info@folklore.email"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-folklore",
3
- "version": "3.0.43",
3
+ "version": "3.0.45",
4
4
  "description": "Yeoman generator for projects at Folklore",
5
5
  "keywords": [
6
6
  "yeoman-generator"
@@ -40,5 +40,5 @@
40
40
  "yeoman-generator": "5.9.0",
41
41
  "yeoman-remote": "^1.0.1"
42
42
  },
43
- "gitHead": "e95789961cd93204846f5a5119f26bf11623b8a1"
43
+ "gitHead": "39cebabcb64d071a301fd92e1787e276b6969a67"
44
44
  }