fetchtype 0.0.1 → 0.1.0

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.
@@ -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,9 @@
1
+ import {
2
+ createProgram,
3
+ runCli
4
+ } from "./chunk-KNQYU2Y2.js";
5
+ export {
6
+ createProgram,
7
+ runCli
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,9 +1,42 @@
1
1
  {
2
2
  "name": "fetchtype",
3
- "version": "0.0.1",
4
- "description": "Typography design tokens with built-in accessibility validation",
5
- "main": "index.js",
6
- "keywords": ["typography", "design-tokens", "a11y", "wcag", "css", "fonts"],
7
- "author": "timreactor",
8
- "license": "MIT"
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "bin": {
11
+ "fetchtype": "dist/bin.js"
12
+ },
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ }
21
+ },
22
+ "scripts": {
23
+ "build": "tsup",
24
+ "typecheck": "tsc --noEmit",
25
+ "test": "vitest run --passWithNoTests",
26
+ "dev": "tsx src/bin.ts"
27
+ },
28
+ "dependencies": {
29
+ "@modelcontextprotocol/sdk": "^1.27.1",
30
+ "chalk": "^5.4.1",
31
+ "commander": "^13.1.0",
32
+ "lilconfig": "^3.1.3"
33
+ },
34
+ "devDependencies": {
35
+ "@fetchtype/cdn": "workspace:*",
36
+ "@fetchtype/components": "workspace:*",
37
+ "@fetchtype/core": "workspace:*",
38
+ "@fetchtype/fonts": "workspace:*",
39
+ "@fetchtype/types": "workspace:*",
40
+ "tsx": "^4.19.3"
41
+ }
9
42
  }
package/index.js DELETED
@@ -1 +0,0 @@
1
- // Reserved