create-hest-app 0.1.3 → 0.1.4

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": "create-hest-app",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "Create HestJS-powered applications with one command",
6
6
  "keywords": [
@@ -45,31 +45,6 @@ async function bootstrap() {
45
45
  },
46
46
  );
47
47
 
48
- // 可选:仍然支持手动指定控制器的方式
49
- // app.useScalarWithControllers(
50
- // [AppController, UserController], // 传入需要生成文档的控制器
51
- // {
52
- // info: {
53
- // title: 'HestJS CQRS Demo API',
54
- // version: '1.0.0',
55
- // description:
56
- // 'A demonstration of HestJS CQRS framework capabilities with Scalar API documentation',
57
- // },
58
- // servers: [
59
- // {
60
- // url: 'http://localhost:3002',
61
- // description: 'Development server',
62
- // },
63
- // ],
64
- // },
65
- // {
66
- // path: '/docs',
67
- // theme: 'elysia', // 使用elysia主题
68
- // enableMarkdown: true,
69
- // markdownPath: '/api-docs.md',
70
- // },
71
- // );
72
-
73
48
  logger.info('📚 API Documentation available at:');
74
49
  logger.info(' • Scalar UI: http://localhost:3002/docs');
75
50
  logger.info(' • OpenAPI JSON: http://localhost:3002/openapi.json');