guard-my-design-system 0.0.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.
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/index.mjs +14 -0
- package/package.json +35 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Greg Kozakiewicz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# guard-my-design-system
|
|
2
|
+
|
|
3
|
+
**No new mess.**
|
|
4
|
+
|
|
5
|
+
Design systems don't die in a redesign. They die one pull request at a time:
|
|
6
|
+
a colour that's nearly the token, a spacing value that's off the scale, an
|
|
7
|
+
`!important` that seemed harmless on a Friday.
|
|
8
|
+
|
|
9
|
+
This is the smoke alarm at the door. It checks only the lines a pull request
|
|
10
|
+
adds, says nothing about the past, and points each new sin at the on-system
|
|
11
|
+
value the author probably meant. Old wiring is not its business; new sparks
|
|
12
|
+
are.
|
|
13
|
+
|
|
14
|
+
## Status
|
|
15
|
+
|
|
16
|
+
Not ready yet. This publish reserves the name while v1 is built.
|
|
17
|
+
|
|
18
|
+
When it ships, setup will be five minutes: one devDependency and a copy-paste
|
|
19
|
+
GitHub Action. After that you forget it exists, which is the whole point of a
|
|
20
|
+
smoke alarm.
|
|
21
|
+
|
|
22
|
+
## In the meantime
|
|
23
|
+
|
|
24
|
+
Find out how bad things already are:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npx roast-my-design-system
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[roast-my-design-system](https://github.com/gregkozakiewicz/roast-my-design-system)
|
|
31
|
+
diagnoses the whole codebase and scores it against a 34-repo benchmark.
|
|
32
|
+
roast diagnoses it, guard protects it.
|
|
33
|
+
|
|
34
|
+
## Licence
|
|
35
|
+
|
|
36
|
+
MIT © [Greg Kozakiewicz](https://gregkozakiewicz.com)
|
package/index.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
console.log(`
|
|
4
|
+
guard-my-design-system — no new mess.
|
|
5
|
+
|
|
6
|
+
A pull request guard that stops design system drift one diff at a time.
|
|
7
|
+
It is not ready yet. This publish reserves the name while it is built.
|
|
8
|
+
|
|
9
|
+
In the meantime, find out how bad things already are:
|
|
10
|
+
|
|
11
|
+
npx roast-my-design-system
|
|
12
|
+
|
|
13
|
+
Follow along: https://github.com/gregkozakiewicz/guard-my-design-system
|
|
14
|
+
`);
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "guard-my-design-system",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "No new mess. A pull request guard that stops design system drift one diff at a time. Coming soon.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"guard-my-design-system": "index.mjs"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"index.mjs"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"design-system",
|
|
14
|
+
"design-tokens",
|
|
15
|
+
"lint",
|
|
16
|
+
"ci",
|
|
17
|
+
"pull-request",
|
|
18
|
+
"code-review",
|
|
19
|
+
"tailwind",
|
|
20
|
+
"css"
|
|
21
|
+
],
|
|
22
|
+
"author": "Greg Kozakiewicz (https://gregkozakiewicz.com)",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/gregkozakiewicz/guard-my-design-system.git"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/gregkozakiewicz/guard-my-design-system#readme",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/gregkozakiewicz/guard-my-design-system/issues"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=18"
|
|
34
|
+
}
|
|
35
|
+
}
|