Skip to content

feat(application): add spec option#1586

Merged
kamilmysliwiec merged 1 commit into
nestjs:masterfrom
s5s5:s5s5/application-add-spec-option
Oct 30, 2023
Merged

feat(application): add spec option#1586
kamilmysliwiec merged 1 commit into
nestjs:masterfrom
s5s5:s5s5/application-add-spec-option

Conversation

@s5s5

@s5s5 s5s5 commented Oct 25, 2023

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Issue Number: nestjs/nest-cli#2327

What is the new behavior?

The command nest g app some-app --no-spec will not add test files.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

I've used unit tests to make sure the logic is correct, but I'm trying to use an npm link to get the local @nestjs/cli to call my modified @nestjs/schematics without success (when debugging @nestjs/cli, I find that he prints out logs for bin/nest.js, and logs for the other files don't show up).
Maybe I've succeeded, but I'm not sure. 🤣

@kamilmysliwiec kamilmysliwiec merged commit ba4d987 into nestjs:master Oct 30, 2023
@kamilmysliwiec

Copy link
Copy Markdown
Member

lgtm

@s5s5 s5s5 deleted the s5s5/application-add-spec-option branch October 31, 2023 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants