@designtools/adherence 0.0.0-stage → 0.1.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/CHANGELOG.md +17 -0
- package/LICENSE +21 -0
- package/README.md +99 -2
- package/dist/chunk-7FM4ZQLW.js +1030 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +113 -0
- package/dist/index.d.ts +473 -0
- package/dist/index.js +62 -0
- package/package.json +69 -3
package/package.json
CHANGED
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designtools/adherence",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A warn-only report on how closely a React product follows its design system: system components against the raw elements they replace, classes that bypass the tokens, and classNames that override a component. Reads the @designtools/manifest JSON; markdown for a pull request, JSON for docs.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Made by Many",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/madebymany/designtools.git",
|
|
11
|
+
"directory": "packages/adherence"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/madebymany/designtools/tree/main/packages/adherence#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/madebymany/designtools/issues"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"bin": {
|
|
26
|
+
"designtools-adherence": "dist/cli.js"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"CHANGELOG.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20.19"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"design-system",
|
|
39
|
+
"adherence",
|
|
40
|
+
"adoption",
|
|
41
|
+
"react",
|
|
42
|
+
"tailwind",
|
|
43
|
+
"design-tokens",
|
|
44
|
+
"react-scanner",
|
|
45
|
+
"eslint",
|
|
46
|
+
"report",
|
|
47
|
+
"cli",
|
|
48
|
+
"deterministic"
|
|
49
|
+
],
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@typescript-eslint/parser": "^8.71.1",
|
|
52
|
+
"eslint": "^10.12.0",
|
|
53
|
+
"eslint-plugin-better-tailwindcss": "^4.9.0",
|
|
54
|
+
"picomatch": "^4.0.7",
|
|
55
|
+
"react-scanner": "1.2.0",
|
|
56
|
+
"tailwindcss": "^4.3.3",
|
|
57
|
+
"typescript": "~6.0.3"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@types/node": "^24.19.1",
|
|
61
|
+
"@types/picomatch": "^4.0.3",
|
|
62
|
+
"tsup": "^8.5.1",
|
|
63
|
+
"tsx": "^4.23.15",
|
|
64
|
+
"vitest": "^4.1.11"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsup src/index.ts src/cli.ts --format esm --dts --clean",
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"test": "vitest run",
|
|
70
|
+
"cli": "tsx src/cli.ts"
|
|
71
|
+
}
|
|
6
72
|
}
|