@moccona/apicodegen 0.1.2 → 1.0.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/package.json CHANGED
@@ -1,13 +1,31 @@
1
1
  {
2
2
  "name": "@moccona/apicodegen",
3
- "version": "0.1.2",
4
- "description": "",
3
+ "version": "1.0.0",
4
+ "description": "Generate a dependency-free TypeScript API client from OpenAPI 2.0, 3.0 and 3.1 specs.",
5
5
  "type": "module",
6
6
  "engines": {
7
- "node": ">=24"
7
+ "node": ">=22.18"
8
8
  },
9
9
  "bin": {
10
- "apicodegen": "./bin/cli.cjs"
10
+ "apicodegen": "bin/cli.cjs"
11
+ },
12
+ "scripts": {
13
+ "dev": "tsdown --watch",
14
+ "build": "tsdown",
15
+ "test": "vitest --watch false",
16
+ "verify:specs": "REAL_SPECS=1 vitest run __tests__/real-specs.test.ts",
17
+ "verify:ts-min": "node scripts/verify-ts-min.mjs",
18
+ "bench": "node scripts/bench.mjs",
19
+ "prepublishOnly": "npm run build",
20
+ "lint": "pnpm exec biome check src",
21
+ "lint:fix": "pnpm exec biome check --write src",
22
+ "format": "pnpm exec biome format --write src",
23
+ "debug": "node --inspect-brk=9229 bin/cli.cjs",
24
+ "prepare": "husky",
25
+ "typecheck": "tsc --noEmit",
26
+ "typecheck:src": "tsc --noEmit -p tsconfig.src.json",
27
+ "version": "changeset version",
28
+ "publish": "npm publish"
11
29
  },
12
30
  "exports": {
13
31
  "./package.json": "./package.json",
@@ -27,11 +45,18 @@
27
45
  }
28
46
  },
29
47
  "keywords": [
30
- "api-codegen"
48
+ "openapi",
49
+ "swagger",
50
+ "typescript",
51
+ "codegen",
52
+ "api-client",
53
+ "fetch",
54
+ "axios",
55
+ "vite"
31
56
  ],
32
57
  "repository": {
33
58
  "type": "git",
34
- "url": "https://github.com/freemode1614/api-codegen"
59
+ "url": "git+https://github.com/freemode1614/api-codegen.git"
35
60
  },
36
61
  "author": "freemode",
37
62
  "license": "MIT",
@@ -44,10 +69,11 @@
44
69
  "@moccona/logger": "^0.0.2",
45
70
  "commander": "^13.1.0",
46
71
  "execa": "^9.5.2",
47
- "fs-extra": "^11.3.0",
72
+ "fs-extra": "^11.4.1",
48
73
  "openapi-types": "^12.1.3",
49
74
  "prettier": "^3.6.2",
50
- "undici": "^7.8.0"
75
+ "undici": "^7.8.0",
76
+ "yaml": "^2.9.0"
51
77
  },
52
78
  "devDependencies": {
53
79
  "@arethetypeswrong/core": "^0.18.2",
@@ -85,15 +111,5 @@
85
111
  "biome format --write"
86
112
  ]
87
113
  },
88
- "scripts": {
89
- "dev": "tsdown --watch",
90
- "build": "tsdown",
91
- "test": "vitest --watch false",
92
- "lint": "pnpm exec biome check src",
93
- "lint:fix": "pnpm exec biome check --write src",
94
- "format": "pnpm exec biome format --write src",
95
- "debug": "node --inspect-brk=9229 bin/cli.cjs",
96
- "typecheck": "tsc --noEmit",
97
- "version": "changeset version"
98
- }
99
- }
114
+ "packageManager": "pnpm@10.9.0"
115
+ }