@lark-apaas/fullstack-cli 0.1.0-alpha.11 → 0.1.0-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-cli",
3
- "version": "0.1.0-alpha.11",
3
+ "version": "0.1.0-alpha.12",
4
4
  "description": "CLI tool for fullstack template management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env bash
2
+ # This file is auto-generated by @lark-apaas/fullstack-cli
3
+
2
4
  set -euo pipefail
3
5
 
4
6
  ROOT_DIR="$(pwd)"
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env bash
2
+ # This file is auto-generated by @lark-apaas/fullstack-cli
3
+
2
4
  set -euo pipefail
3
5
 
4
6
  # Ensure the script always runs from the project root
@@ -1,5 +1,6 @@
1
+ // This file is auto-generated by @lark-apaas/fullstack-cli
1
2
  import { NestFactory } from '@nestjs/core';
2
- import { DevToolsModule } from '@lark-apaas/fullstack-nestjs-core';
3
+ import { DevToolsV2Module } from '@lark-apaas/fullstack-nestjs-core';
3
4
 
4
5
  import { AppModule } from '../server/app.module';
5
6
 
@@ -17,7 +18,7 @@ async function generateOpenApi() {
17
18
  app.setGlobalPrefix(basePath);
18
19
  }
19
20
 
20
- await DevToolsModule.mount(app, {
21
+ await DevToolsV2Module.mount(app, {
21
22
  basePath,
22
23
  docsPath: '/api_docs',
23
24
  needSetupServer: false,
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env bash
2
+ # This file is auto-generated by @lark-apaas/fullstack-cli
2
3
 
3
4
  # 生产环境下,启动服务
4
5
  npm run start