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

Filter duplicate module name suffix for package name #316

Closed
krunalsshah opened this issue Nov 7, 2017 · 0 comments
Closed

Filter duplicate module name suffix for package name #316

krunalsshah opened this issue Nov 7, 2017 · 0 comments

Comments

@krunalsshah
Copy link
Contributor

krunalsshah commented Nov 7, 2017

Inspiration
Just re-did the Getting Started guide and when I ran ern create-miniapp MovieListMiniApp it propose a package name as : movie-list-mini-app-miniapp

If the module name that the user provide (or modified by prompt) is suffixed by Api, do not add -api suffix for package name to avoid -api-api.

Commands impacted create-miniapp, create-api and create-api-impl

@belemaire belemaire added this to the v0.11.0 milestone Nov 7, 2017
@krunalsshah krunalsshah self-assigned this Nov 8, 2017
@krunalsshah krunalsshah changed the title Do not add module suffix in name if already present Filter duplicate module name suffix for package name Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants