generator-folklore 3.0.58 → 3.0.60
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.
|
@@ -20,3 +20,11 @@
|
|
|
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
22
|
- Always add a `description` to i18n message and don't define `id`
|
|
23
|
+
|
|
24
|
+
### CSS
|
|
25
|
+
- Use CSS modules with PostCSS
|
|
26
|
+
- Use CSS nesting (via postcss preset env)
|
|
27
|
+
- Make use of the theme folder (if present) and global css variables to standardize codebase.
|
|
28
|
+
- Avoid too recent CSS features to emphasize compatibility.
|
|
29
|
+
- In components *.modules.css files, follow the pattern of scoping classes under a .container.
|
|
30
|
+
- A component never positions itself: its placement (position, offsets, margins, z-index, size in the layout) belongs to the parent using it, through a class passed with `className`. The component's own stylesheet only styles what is inside it.
|
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
{
|
|
2
2
|
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Bash(npm run lint*)",
|
|
5
|
-
"Bash(npm run format*)",
|
|
6
|
-
"Bash(npm run typecheck)",
|
|
7
|
-
"Bash(npm run test*)",
|
|
8
|
-
"Bash(npm test*)",
|
|
9
|
-
"Bash(npm run server*)",
|
|
10
|
-
"Bash(npx prettier *)",
|
|
11
|
-
"Bash(npx eslint *)",
|
|
12
|
-
"Bash(npx stylelint *)",
|
|
13
|
-
"Bash(npx tsc --noEmit*)",
|
|
14
|
-
"Bash(gh issue view *)",
|
|
15
|
-
"Bash(gh issue list*)",
|
|
16
|
-
"Bash(gh issue create *)",
|
|
17
|
-
"Bash(gh issue edit *)",
|
|
18
|
-
"Bash(gh issue comment *)",
|
|
19
|
-
"Bash(gh pr view*)",
|
|
20
|
-
"Bash(gh pr list*)",
|
|
21
|
-
"Bash(gh pr diff*)",
|
|
22
|
-
"Bash(gh pr checks*)",
|
|
23
|
-
"Bash(gh pr create *)",
|
|
24
|
-
"Bash(gh pr edit *)",
|
|
25
|
-
"Bash(gh pr comment *)"
|
|
26
|
-
],
|
|
27
|
-
"ask": [
|
|
28
|
-
"Bash(git push*)"
|
|
29
|
-
]
|
|
30
3
|
}
|
|
31
4
|
}
|
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
{
|
|
2
2
|
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Bash(npm run lint*)",
|
|
5
|
-
"Bash(npm run format*)",
|
|
6
|
-
"Bash(npm run typecheck)",
|
|
7
|
-
"Bash(npm run test*)",
|
|
8
|
-
"Bash(npm test*)",
|
|
9
|
-
"Bash(npm run server*)",
|
|
10
|
-
"Bash(npx prettier *)",
|
|
11
|
-
"Bash(npx eslint *)",
|
|
12
|
-
"Bash(npx stylelint *)",
|
|
13
|
-
"Bash(npx tsc --noEmit*)",
|
|
14
|
-
"Bash(php artisan test*)",
|
|
15
|
-
"Bash(npx flklr certificates*)",
|
|
16
|
-
"Bash(npx flklr certs*)",
|
|
17
|
-
"Bash(gh issue view *)",
|
|
18
|
-
"Bash(gh issue list*)",
|
|
19
|
-
"Bash(gh issue create *)",
|
|
20
|
-
"Bash(gh issue edit *)",
|
|
21
|
-
"Bash(gh issue comment *)",
|
|
22
|
-
"Bash(gh pr view*)",
|
|
23
|
-
"Bash(gh pr list*)",
|
|
24
|
-
"Bash(gh pr diff*)",
|
|
25
|
-
"Bash(gh pr checks*)",
|
|
26
|
-
"Bash(gh pr create *)",
|
|
27
|
-
"Bash(gh pr edit *)",
|
|
28
|
-
"Bash(gh pr comment *)"
|
|
29
|
-
],
|
|
30
|
-
"ask": [
|
|
31
|
-
"Bash(npx flklr certificates*--fix*)",
|
|
32
|
-
"Bash(npx flklr certs*--fix*)",
|
|
33
|
-
"Bash(git push*)"
|
|
34
|
-
]
|
|
35
3
|
}
|
|
36
4
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-folklore",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.60",
|
|
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": "
|
|
43
|
+
"gitHead": "c54cd91bc3627c29fa1c97ff240e7a70d22e7bf3"
|
|
44
44
|
}
|