@shipworthy/openapi-cli 0.0.0-stage → 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 +440 -2
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +19 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +6 -0
- package/dist/commands/bundle/command.d.ts +6 -0
- package/dist/commands/bundle/command.js +23 -0
- package/dist/commands/generate/command.d.ts +2 -0
- package/dist/commands/generate/command.js +6 -0
- package/dist/commands/generate/ensure.d.ts +9 -0
- package/dist/commands/generate/ensure.js +31 -0
- package/dist/commands/generate/files.d.ts +4 -0
- package/dist/commands/generate/files.js +16 -0
- package/dist/commands/generate/force.d.ts +2 -0
- package/dist/commands/generate/force.js +2 -0
- package/dist/commands/generate/plugins/standard-schema/plugin.d.ts +7 -0
- package/dist/commands/generate/plugins/standard-schema/plugin.js +44 -0
- package/dist/commands/generate/plugins/tanstack-query/plugin.d.ts +9 -0
- package/dist/commands/generate/plugins/tanstack-query/plugin.js +42 -0
- package/dist/commands/generate/plugins/typescript/flags.d.ts +35 -0
- package/dist/commands/generate/plugins/typescript/flags.js +37 -0
- package/dist/commands/generate/plugins/typescript/plugin.d.ts +32 -0
- package/dist/commands/generate/plugins/typescript/plugin.js +84 -0
- package/dist/commands/generate/plugins/zod/plugin.d.ts +8 -0
- package/dist/commands/generate/plugins/zod/plugin.js +48 -0
- package/dist/commands/generate/publish.d.ts +11 -0
- package/dist/commands/generate/publish.js +23 -0
- package/dist/commands/generate/stamp.d.ts +13 -0
- package/dist/commands/generate/stamp.js +61 -0
- package/dist/commands/input.d.ts +4 -0
- package/dist/commands/input.js +16 -0
- package/dist/commands/lint/command.d.ts +7 -0
- package/dist/commands/lint/command.js +35 -0
- package/dist/commands/overlay/command.d.ts +9 -0
- package/dist/commands/overlay/command.js +32 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +10 -0
- package/package.json +72 -4
package/package.json
CHANGED
|
@@ -1,6 +1,74 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipworthy/openapi-cli",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"files": [
|
|
5
|
+
"dist"
|
|
6
|
+
],
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@effect/platform-node": "^4.0.0",
|
|
9
|
+
"@shipworthy/openapi-generator": "0.0.1",
|
|
10
|
+
"@shipworthy/openapi-parser": "0.0.1",
|
|
11
|
+
"@shipworthy/openapi-validator": "0.0.1",
|
|
12
|
+
"@shipworthy/overlay": "0.0.1",
|
|
13
|
+
"effect": "^4.0.0"
|
|
14
|
+
},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@shipworthy/openapi-standard-schema": "0.0.1",
|
|
17
|
+
"@shipworthy/openapi-tanstack-query": "0.0.1",
|
|
18
|
+
"@shipworthy/openapi-typescript": "0.0.1",
|
|
19
|
+
"@shipworthy/openapi-zod": "0.0.1"
|
|
20
|
+
},
|
|
21
|
+
"bin": {
|
|
22
|
+
"openapi": "./dist/bin.js"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/ShipWorthyAI/openapi.git",
|
|
28
|
+
"directory": "packages/openapi-cli"
|
|
29
|
+
},
|
|
30
|
+
"type": "module",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/cli.d.ts",
|
|
34
|
+
"default": "./dist/cli.js"
|
|
35
|
+
},
|
|
36
|
+
"./package.json": "./package.json"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json && sed -i.bak '1s|^#!.*|#!/usr/bin/env node|' dist/bin.js && rm dist/bin.js.bak"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@shipworthy/openapi-standard-schema": "0.0.1",
|
|
44
|
+
"@shipworthy/openapi-tanstack-query": "0.0.1",
|
|
45
|
+
"@shipworthy/openapi-typescript": "0.0.1",
|
|
46
|
+
"@shipworthy/openapi-zod": "0.0.1",
|
|
47
|
+
"@shipworthy/typescript-config": "0.0.1",
|
|
48
|
+
"@types/node": "^24.10.3",
|
|
49
|
+
"typescript": "^7.0.2",
|
|
50
|
+
"vitest": "5.0.3"
|
|
51
|
+
},
|
|
52
|
+
"peerDependenciesMeta": {
|
|
53
|
+
"@shipworthy/openapi-standard-schema": {
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"@shipworthy/openapi-tanstack-query": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"@shipworthy/openapi-typescript": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@shipworthy/openapi-zod": {
|
|
63
|
+
"optional": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=22.19.0"
|
|
68
|
+
},
|
|
69
|
+
"main": "./dist/cli.js",
|
|
70
|
+
"types": "./dist/cli.d.ts",
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public"
|
|
73
|
+
}
|
|
74
|
+
}
|