speedrun-cli 2.6.3 → 2.6.5

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/bin/cli.js CHANGED
@@ -65,7 +65,7 @@ program
65
65
  .action(async (appName, options) => {
66
66
  try {
67
67
  console.log(chalk.cyan(`\n😱🤯🤯 speedrun-cli v${CLI_VERSION} 🤧🥶🥶🥶 (real)\n`));
68
- console.log(chalk.gray('Production-ready NestJS authentication - Now with ORM & Database choices!\n'));
68
+ console.log(chalk.gray('Production-ready NestJS authentication - now u can literally speedrun everything atp\n'));
69
69
 
70
70
  // Check Node.js version
71
71
  checkNodeVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speedrun-cli",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "description": "CLI tool to scaffold a production-ready NestJS authentication system with JWT, refresh tokens, and RBAC",
5
5
  "keywords": [
6
6
  "nestjs",
@@ -481,7 +481,7 @@ export class ${responseDtoName} {
481
481
  const serviceContent = getServiceContent(orm, pascalName, camelName, kebabName, createDtoName, updateDtoName, ops);
482
482
  await fs.writeFile(path.join(moduleDir, `${kebabName}.service.ts`), serviceContent);
483
483
 
484
- // 3. Generate Controller
484
+ // 3. Generate Controller (FIXED: Swagger DTO Name & ExtraModels registration)
485
485
  const controllerContent = `import { Controller${ops.findAll ? ', Query' : ''}${ops.findOne || ops.update || ops.remove ? ', Param, ParseUUIDPipe, HttpStatus' : ''}${ops.create ? ', Post, Body' : ''}${ops.findAll || ops.findOne ? ', Get' : ''}${ops.update ? ', Put' : ''}${ops.remove ? ', Delete' : ''}, Type } from '@nestjs/common';
486
486
  import { ApiTags, ApiBearerAuth, ApiExtraModels, ApiOperation, ApiResponse, ApiParam } from '@nestjs/swagger';
487
487
  import { BaseController } from '../../common/base/base.controller';