Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong package name when for edge cases #956

Merged
merged 3 commits into from Feb 23, 2022

Conversation

micalevisk
Copy link
Member

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: closes nestjs/nest-cli#1540

nest new my.app

grep name ./my.app/package.json # outputs the name entry with 'my'

What is the new behavior?

after upgrading @nestjs/schematics dependency on https://github.com/nestjs/nest-cli,

nest new my.app

grep name ./my.app/package.json # outputs the name entry with 'my.app'

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@micalevisk micalevisk changed the title fix wrong package's name when the path has a dot in it fix wrong package name when the path has a dot in it Feb 23, 2022
@micalevisk micalevisk changed the title fix wrong package name when the path has a dot in it fix: wrong package name when for edge cases Feb 23, 2022
@kamilmysliwiec kamilmysliwiec merged commit 8eea66d into nestjs:master Feb 23, 2022
@kamilmysliwiec
Copy link
Member

LGTM

@micalevisk micalevisk deleted the fix/wrong-package-name branch February 23, 2022 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing parts of name when creating new project a.b.c.d
2 participants