fetchtype 0.0.1 → 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/README.md +134 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +9 -0
- package/dist/bin.js.map +1 -0
- package/dist/chunk-KNQYU2Y2.js +21760 -0
- package/dist/chunk-KNQYU2Y2.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/package.json +60 -6
- package/index.js +0 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
|
|
3
|
+
type Logger = {
|
|
4
|
+
stdout: (text: string) => void;
|
|
5
|
+
stderr: (text: string) => void;
|
|
6
|
+
};
|
|
7
|
+
declare function createProgram(logger?: Logger, cwd?: string): Command;
|
|
8
|
+
declare function runCli(argv?: string[], logger?: Logger, cwd?: string): Promise<number>;
|
|
9
|
+
|
|
10
|
+
export { createProgram, runCli };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,9 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fetchtype",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Typography design
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Typography validation for design systems. Catch readability bugs, enforce WCAG thresholds, export to CSS/Tailwind/shadcn/W3C.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/Tim-ReJet/fetchtype.git",
|
|
9
|
+
"directory": "packages/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://fetchtype.com",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"typography",
|
|
14
|
+
"design-tokens",
|
|
15
|
+
"validation",
|
|
16
|
+
"wcag",
|
|
17
|
+
"accessibility",
|
|
18
|
+
"tailwind",
|
|
19
|
+
"shadcn",
|
|
20
|
+
"css",
|
|
21
|
+
"design-system",
|
|
22
|
+
"font"
|
|
23
|
+
],
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "dist/index.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"README.md"
|
|
30
|
+
],
|
|
31
|
+
"bin": {
|
|
32
|
+
"fetchtype": "dist/bin.js"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"import": "./dist/index.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsup",
|
|
45
|
+
"typecheck": "tsc --noEmit",
|
|
46
|
+
"test": "vitest run --passWithNoTests",
|
|
47
|
+
"dev": "tsx src/bin.ts"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
51
|
+
"chalk": "^5.4.1",
|
|
52
|
+
"commander": "^13.1.0",
|
|
53
|
+
"lilconfig": "^3.1.3"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@fetchtype/cdn": "workspace:*",
|
|
57
|
+
"@fetchtype/components": "workspace:*",
|
|
58
|
+
"@fetchtype/core": "workspace:*",
|
|
59
|
+
"@fetchtype/fonts": "workspace:*",
|
|
60
|
+
"@fetchtype/types": "workspace:*",
|
|
61
|
+
"tsx": "^4.19.3"
|
|
62
|
+
}
|
|
9
63
|
}
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// Reserved
|