guard-my-design-system 1.3.1 → 1.3.3
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.
- package/README.md +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,8 +22,10 @@ It speaks in nearests, not scoldings:
|
|
|
22
22
|
|
|
23
23
|
It learns your system by scanning your repo with the
|
|
24
24
|
[roast-my-design-system](https://github.com/gregkozakiewicz/roast-my-design-system)
|
|
25
|
-
engine, then judges the diff against what it learned.
|
|
26
|
-
|
|
25
|
+
engine, then judges the diff against what it learned. CSS, SCSS, styled
|
|
26
|
+
components, and the web-component world too: Lit's `` css`…` `` templates and
|
|
27
|
+
Stencil styling are read like any stylesheet. No config files, no rules to
|
|
28
|
+
write, no tokens to register. Your codebase is the rulebook.
|
|
27
29
|
|
|
28
30
|
This is what a pull request sees, on real code, with the guard's own comment:
|
|
29
31
|
|
|
@@ -200,6 +202,10 @@ in a pull request:
|
|
|
200
202
|
- **Not on GitHub?** Covered — copy-paste GitLab and Bitbucket recipes live in
|
|
201
203
|
[Not on GitHub?](#not-on-github) above. Only the comment-posting Action is
|
|
202
204
|
GitHub-specific.
|
|
205
|
+
- **Inside `` css`…` `` templates, colours are caught line by line; spacing,
|
|
206
|
+
radii and friends are not yet.** The whole-repo learning reads those
|
|
207
|
+
templates in full, so the system is learned correctly either way; the
|
|
208
|
+
line-level gap closes with a future engine release.
|
|
203
209
|
|
|
204
210
|
## The family
|
|
205
211
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "guard-my-design-system",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Your design system dies one pull request at a time. This makes sure it doesn't. A guard that judges only the lines a change adds, against the system the repo already has, and names the on-system value the author probably meant.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"src/"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"roast-my-design-system": "5.
|
|
14
|
+
"roast-my-design-system": "5.7.2"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"design-system",
|