@driftdev/cli 1.3.0 → 1.5.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.
- package/README.md +10 -8
- package/dist/drift.js +674 -205
- package/package.json +23 -19
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driftdev/cli",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Drift CLI -
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"description": "Drift CLI - detect when your docs drift from your code",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
7
7
|
"cli",
|
|
8
8
|
"documentation",
|
|
9
9
|
"drift",
|
|
10
10
|
"docs-coverage",
|
|
11
|
-
"drift-detection"
|
|
11
|
+
"drift-detection",
|
|
12
|
+
"openapi",
|
|
13
|
+
"rest",
|
|
14
|
+
"api",
|
|
15
|
+
"agent",
|
|
16
|
+
"mcp"
|
|
12
17
|
],
|
|
13
18
|
"homepage": "https://github.com/ryanwaits/drift#readme",
|
|
14
19
|
"repository": {
|
|
@@ -19,17 +24,9 @@
|
|
|
19
24
|
"license": "MIT",
|
|
20
25
|
"author": "Ryan Waits",
|
|
21
26
|
"type": "module",
|
|
22
|
-
"main": "./dist/index.js",
|
|
23
|
-
"types": "./dist/index.d.ts",
|
|
24
27
|
"bin": {
|
|
25
28
|
"drift": "./dist/drift.js"
|
|
26
29
|
},
|
|
27
|
-
"exports": {
|
|
28
|
-
".": {
|
|
29
|
-
"import": "./dist/index.js",
|
|
30
|
-
"types": "./dist/index.d.ts"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
30
|
"scripts": {
|
|
34
31
|
"build": "bunup",
|
|
35
32
|
"dev": "bunup --watch",
|
|
@@ -37,23 +34,30 @@
|
|
|
37
34
|
"lint": "biome check src/",
|
|
38
35
|
"lint:fix": "biome check --write src/",
|
|
39
36
|
"format": "biome format --write src/",
|
|
40
|
-
"
|
|
37
|
+
"prepublishOnly": "bun run build",
|
|
38
|
+
"test": "bun run --cwd ../sdk build && bun run --cwd ../adapters/clarity build && bun run --cwd ../adapters/openapi build && for f in test/*.test.ts; do bun test \"$f\" || exit 1; done"
|
|
41
39
|
},
|
|
42
40
|
"files": [
|
|
43
41
|
"dist"
|
|
44
42
|
],
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=20"
|
|
45
|
+
},
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@driftdev/clarity-adapter": "
|
|
47
|
-
"@driftdev/
|
|
48
|
-
"@
|
|
47
|
+
"@driftdev/clarity-adapter": "^1.0.1",
|
|
48
|
+
"@driftdev/openapi-adapter": "^1.0.0",
|
|
49
|
+
"@driftdev/sdk": "^1.4.0",
|
|
50
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
51
|
+
"@openpkg-ts/sdk": "^0.38.0",
|
|
49
52
|
"@openpkg-ts/spec": "^0.37.0",
|
|
50
53
|
"chalk": "^5.4.1",
|
|
51
|
-
"commander": "^14.0.0"
|
|
54
|
+
"commander": "^14.0.0",
|
|
55
|
+
"zod": "^4.2.1"
|
|
52
56
|
},
|
|
53
57
|
"devDependencies": {
|
|
54
|
-
"@types/bun": "
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"bunup": "
|
|
58
|
+
"@types/bun": "^1.3.14",
|
|
59
|
+
"@types/node": "^24.0.0",
|
|
60
|
+
"bunup": "0.16.26"
|
|
57
61
|
},
|
|
58
62
|
"publishConfig": {
|
|
59
63
|
"access": "public"
|