@open-norantec/herbal 2.0.0-alpha.0 → 2.0.0-alpha.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/dist/cli/herbal.js +1 -1
- package/dist/core.js +2 -2
- package/package.json +3 -3
package/dist/cli/herbal.js
CHANGED
|
@@ -240,7 +240,7 @@ command
|
|
|
240
240
|
case 1: return [2, _a.sent()];
|
|
241
241
|
case 2:
|
|
242
242
|
error_1 = _a.sent();
|
|
243
|
-
log('error', "Failed to generate client code:", error_1
|
|
243
|
+
log('error', "Failed to generate client code:", error_1 === null || error_1 === void 0 ? void 0 : error_1.message);
|
|
244
244
|
return [2, ''];
|
|
245
245
|
case 3: return [2];
|
|
246
246
|
}
|
package/dist/core.js
CHANGED
|
@@ -211,7 +211,7 @@ var MethodPool = (function () {
|
|
|
211
211
|
required: true,
|
|
212
212
|
content: {
|
|
213
213
|
'application/json': {
|
|
214
|
-
schema: config.options.inputSchema,
|
|
214
|
+
schema: config.options.inputSchema.toJSONSchema(),
|
|
215
215
|
},
|
|
216
216
|
},
|
|
217
217
|
},
|
|
@@ -221,7 +221,7 @@ var MethodPool = (function () {
|
|
|
221
221
|
content: {
|
|
222
222
|
'application/json': utilities_1.z
|
|
223
223
|
.object({
|
|
224
|
-
data: config.options.outputSchema
|
|
224
|
+
data: config.options.outputSchema,
|
|
225
225
|
token: utilities_1.z.string().nullable(),
|
|
226
226
|
})
|
|
227
227
|
.toJSONSchema(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-norantec/herbal",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.1",
|
|
4
4
|
"description": "Herbal is a builder and toolchain for Nest.js applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@nestjs/core": "^10.4.19",
|
|
42
42
|
"@nestjs/platform-express": "^10.4.22",
|
|
43
43
|
"@nestjs/sequelize": "^10.0.1",
|
|
44
|
-
"@open-norantec/forge": "^3.0.0-alpha.
|
|
44
|
+
"@open-norantec/forge": "^3.0.0-alpha.4",
|
|
45
45
|
"commander": "^12.1.0",
|
|
46
46
|
"fs-extra": "^11.3.4",
|
|
47
47
|
"json-schema-to-typescript": "^15.0.4",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"uuid": "^11.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@open-norantec/utilities": "^2.0.
|
|
61
|
+
"@open-norantec/utilities": "^2.0.4",
|
|
62
62
|
"@types/express": "^5.0.3",
|
|
63
63
|
"@types/fs-extra": "^11.0.4",
|
|
64
64
|
"@types/lodash": "^4.17.16",
|