@lark-apaas/fullstack-nestjs-core 1.0.3-alpha.10 → 1.0.3-alpha.12
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/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -454,9 +454,6 @@ var DevToolsV2Module = class {
|
|
|
454
454
|
(0, import_node_fs3.mkdirSync)(clientSdkOutPath, {
|
|
455
455
|
recursive: true
|
|
456
456
|
});
|
|
457
|
-
generateClientConfig({
|
|
458
|
-
outputPath: clientSdkOutPath
|
|
459
|
-
});
|
|
460
457
|
const { createClient } = await import("@hey-api/openapi-ts");
|
|
461
458
|
await createClient({
|
|
462
459
|
input: openapiPath,
|
|
@@ -473,6 +470,9 @@ var DevToolsV2Module = class {
|
|
|
473
470
|
]
|
|
474
471
|
});
|
|
475
472
|
ensureDirAndWrite(openapiPath, JSON.stringify(document, null, 2));
|
|
473
|
+
generateClientConfig({
|
|
474
|
+
outputPath: clientSdkOutPath
|
|
475
|
+
});
|
|
476
476
|
console.log("[OpenAPI] \u5BFC\u51FA openapi.json \u5E76\u751F\u6210 axios SDK \u2705");
|
|
477
477
|
}
|
|
478
478
|
}
|
package/dist/index.js
CHANGED
|
@@ -412,9 +412,6 @@ var DevToolsV2Module = class {
|
|
|
412
412
|
mkdirSync2(clientSdkOutPath, {
|
|
413
413
|
recursive: true
|
|
414
414
|
});
|
|
415
|
-
generateClientConfig({
|
|
416
|
-
outputPath: clientSdkOutPath
|
|
417
|
-
});
|
|
418
415
|
const { createClient } = await import("@hey-api/openapi-ts");
|
|
419
416
|
await createClient({
|
|
420
417
|
input: openapiPath,
|
|
@@ -431,6 +428,9 @@ var DevToolsV2Module = class {
|
|
|
431
428
|
]
|
|
432
429
|
});
|
|
433
430
|
ensureDirAndWrite(openapiPath, JSON.stringify(document, null, 2));
|
|
431
|
+
generateClientConfig({
|
|
432
|
+
outputPath: clientSdkOutPath
|
|
433
|
+
});
|
|
434
434
|
console.log("[OpenAPI] \u5BFC\u51FA openapi.json \u5E76\u751F\u6210 axios SDK \u2705");
|
|
435
435
|
}
|
|
436
436
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/fullstack-nestjs-core",
|
|
3
|
-
"version": "1.0.3-alpha.
|
|
3
|
+
"version": "1.0.3-alpha.12",
|
|
4
4
|
"description": "FullStack Nestjs Core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"lint:fix": "eslint src --ext .ts --fix"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@hey-api/openapi-ts": "^0.
|
|
44
|
-
"openapi-typescript-codegen": "^0.29.0",
|
|
43
|
+
"@hey-api/openapi-ts": "^0.87.0",
|
|
45
44
|
"@lark-apaas/nestjs-authnpaas": "^1.0.0",
|
|
46
45
|
"@lark-apaas/nestjs-datapaas": "^1.0.1",
|
|
47
46
|
"@lark-apaas/nestjs-logger": "^1.0.0",
|
|
48
47
|
"cookie-parser": "^1.4.7",
|
|
49
|
-
"hbs": "^4.2.0"
|
|
48
|
+
"hbs": "^4.2.0",
|
|
49
|
+
"openapi-typescript-codegen": "^0.29.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@nestjs/common": "^10.4.20",
|