@mittwald/api-code-generator 4.500.0 → 4.500.2
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.
|
@@ -183,7 +183,7 @@ describe("compiled types", () => {
|
|
|
183
183
|
types = await compile();
|
|
184
184
|
});
|
|
185
185
|
test("wraps everything in the root namespace", () => {
|
|
186
|
-
expect(types).toContain("export declare
|
|
186
|
+
expect(types).toContain("export declare namespace PetstoreAPI {");
|
|
187
187
|
});
|
|
188
188
|
test("imports the descriptors and the commons helper types", () => {
|
|
189
189
|
expect(types).toContain('import * as descriptors from "./descriptors.js"');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-code-generator",
|
|
3
|
-
"version": "4.500.
|
|
3
|
+
"version": "4.500.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": "https://github.com/mittwald/api-client-js.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,26 +34,25 @@
|
|
|
34
34
|
"@sindresorhus/is": "^8.1.0",
|
|
35
35
|
"@types/clone-deep": "^4.0.4",
|
|
36
36
|
"@types/invariant": "^2.2.37",
|
|
37
|
-
"@types/prettier": "^3.0.0",
|
|
38
37
|
"@types/verror": "^1.10.11",
|
|
39
38
|
"@types/yieldable-json": "^2.0.2",
|
|
40
|
-
"axios": "^1.
|
|
39
|
+
"axios": "^1.20.0",
|
|
41
40
|
"camelcase": "^9.0.0",
|
|
42
41
|
"clone-deep": "^4.0.1",
|
|
43
42
|
"dot-prop": "^10.2.0",
|
|
44
43
|
"fs-jetpack": "^5.1.0",
|
|
45
44
|
"get-stdin": "^10.0.0",
|
|
46
45
|
"invariant": "^2.2.4",
|
|
47
|
-
"js-yaml": "^5.4.
|
|
46
|
+
"js-yaml": "^5.4.3",
|
|
48
47
|
"json-schema-to-typescript": "^15.0.4",
|
|
49
48
|
"openapi-schema-validator": "^12.1.3",
|
|
50
49
|
"openapi-types": "^12.1.3",
|
|
51
|
-
"prettier": "^3.
|
|
50
|
+
"prettier": "^3.9.9",
|
|
52
51
|
"swagger2openapi": "^7.0.8",
|
|
53
52
|
"type-fest": "^4.30.0",
|
|
54
53
|
"verror": "^1.10.1",
|
|
55
54
|
"yieldable-json": "^2.1.0",
|
|
56
|
-
"zod": "^4.
|
|
55
|
+
"zod": "^4.6.5",
|
|
57
56
|
"zod-validation-error": "^5.0.0"
|
|
58
57
|
},
|
|
59
58
|
"devDependencies": {
|
|
@@ -67,7 +66,6 @@
|
|
|
67
66
|
"eslint-plugin-prettier": "^5.5.6",
|
|
68
67
|
"globals": "^17.11.0",
|
|
69
68
|
"jest": "^30.5.0",
|
|
70
|
-
"prettier": "^3.9.6",
|
|
71
69
|
"prettier-plugin-jsdoc": "^1.8.1",
|
|
72
70
|
"prettier-plugin-pkgsort": "^0.3.0",
|
|
73
71
|
"prettier-plugin-sort-json": "^4.2.0",
|
|
@@ -85,5 +83,5 @@
|
|
|
85
83
|
"@oclif/plugin-plugins"
|
|
86
84
|
]
|
|
87
85
|
},
|
|
88
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "c76da980b3805476e69e193cc8476a4c03775ae1"
|
|
89
87
|
}
|