@lark-apaas/fullstack-nestjs-core 1.0.3-alpha.6 → 1.0.3-alpha.7
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 +4 -4
- package/dist/index.js +4 -4
- package/package.json +2 -3
package/dist/index.cjs
CHANGED
|
@@ -418,9 +418,7 @@ var DevToolsModule = class {
|
|
|
418
418
|
const options = resolveOptsWithDefaultValue(opts);
|
|
419
419
|
const baseDirname = process.cwd();
|
|
420
420
|
const builder = new import_swagger.DocumentBuilder().setTitle(options.swaggerOptions.title).setVersion(options.swaggerOptions.version);
|
|
421
|
-
const document = import_swagger.SwaggerModule.createDocument(app, builder.build()
|
|
422
|
-
operationIdFactory: /* @__PURE__ */ __name((_c, m) => m, "operationIdFactory")
|
|
423
|
-
});
|
|
421
|
+
const document = import_swagger.SwaggerModule.createDocument(app, builder.build());
|
|
424
422
|
if (options.needSetupServer) {
|
|
425
423
|
import_swagger.SwaggerModule.setup(options.docsPath, app, document, {
|
|
426
424
|
customSiteTitle: options.swaggerOptions.customSiteTitle,
|
|
@@ -441,7 +439,9 @@ var DevToolsModule = class {
|
|
|
441
439
|
const { createClient } = await import("@hey-api/openapi-ts");
|
|
442
440
|
await createClient({
|
|
443
441
|
input: openapiPath,
|
|
444
|
-
output:
|
|
442
|
+
output: {
|
|
443
|
+
path: clientSdkOutPath
|
|
444
|
+
},
|
|
445
445
|
plugins: [
|
|
446
446
|
"@hey-api/typescript",
|
|
447
447
|
"@hey-api/sdk",
|
package/dist/index.js
CHANGED
|
@@ -377,9 +377,7 @@ var DevToolsModule = class {
|
|
|
377
377
|
const options = resolveOptsWithDefaultValue(opts);
|
|
378
378
|
const baseDirname = process.cwd();
|
|
379
379
|
const builder = new DocumentBuilder().setTitle(options.swaggerOptions.title).setVersion(options.swaggerOptions.version);
|
|
380
|
-
const document = SwaggerModule.createDocument(app, builder.build()
|
|
381
|
-
operationIdFactory: /* @__PURE__ */ __name((_c, m) => m, "operationIdFactory")
|
|
382
|
-
});
|
|
380
|
+
const document = SwaggerModule.createDocument(app, builder.build());
|
|
383
381
|
if (options.needSetupServer) {
|
|
384
382
|
SwaggerModule.setup(options.docsPath, app, document, {
|
|
385
383
|
customSiteTitle: options.swaggerOptions.customSiteTitle,
|
|
@@ -400,7 +398,9 @@ var DevToolsModule = class {
|
|
|
400
398
|
const { createClient } = await import("@hey-api/openapi-ts");
|
|
401
399
|
await createClient({
|
|
402
400
|
input: openapiPath,
|
|
403
|
-
output:
|
|
401
|
+
output: {
|
|
402
|
+
path: clientSdkOutPath
|
|
403
|
+
},
|
|
404
404
|
plugins: [
|
|
405
405
|
"@hey-api/typescript",
|
|
406
406
|
"@hey-api/sdk",
|
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.7",
|
|
4
4
|
"description": "FullStack Nestjs Core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
"@lark-apaas/nestjs-datapaas": "^1.0.1",
|
|
46
46
|
"@lark-apaas/nestjs-logger": "^1.0.0",
|
|
47
47
|
"cookie-parser": "^1.4.7",
|
|
48
|
-
"hbs": "^4.2.0"
|
|
49
|
-
"openapi-typescript-codegen": "^0.29.0"
|
|
48
|
+
"hbs": "^4.2.0"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
52
51
|
"@nestjs/common": "^10.4.20",
|