question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

option to suffix platform type to app name instead of prefixing

See original GitHub issue

im talking about changing:

apps/
  ionic-myapp
  web-anotherapp
  web-myapp

to:

apps/
  anotherapp-web
  myapp-ionic
  myapp-web

prefixing and suffixing is basically grouping and im in favor of grouping by app instead of platform because:

  1. its easier to use the directory tree when having dozens of apps and multiple platforms per app
  2. my intuitive reasoning is ordered to prioritize the app over the platform (start.app.platform.ios instead of start.platform.app.ios)
  3. if i understand correctly the current way conflicts with nx:
ng g app myapp
ng g app myapp2 --directory=mydirectory
ng g lib mylib
ng g lib mylib2 --directory=mydirectory

ng build myapp
ng build mydirectory-myapp2
ng build mylib # work if the lib is marked as publishable
ng build mydirectory-mylib2 # work if the lib is marked as publishable

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
NathanWalkercommented, Jan 31, 2019
2reactions
NathanWalkercommented, Jan 24, 2019

@galki I have this support coming in this PR now - just looking at one more thing related to web app external schematic which I should clear soon.

Again thank you for this feature request 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prefix and suffix for naming in extensions - Business Central
Use the AppSourceCop tool to find all missing prefixes and/or suffixes. Configuration options for this tool can be found here. The Rules ...
Read more >
Option: suffixes instead of prefixes - Alfred forum
If I want to search Google for “world map”, I'm going to start seeing a load of search results for “world” from the...
Read more >
"Mac" prefix as app name no longer… | Apple Developer Forums
It seems we're no longer allowed to use "Mac" as the app name prefix: "Your app uses Mac in the app name in...
Read more >
Using Prefix and Suffix Options to Manage System Object ...
By default, the Teradata adapter's system object prefixes and suffixes add up to 12 extra characters, which means that only tables with names...
Read more >
which kind of table has a name that starts with a custom prefix
Hi Sandeep, When you create a scoped app then you have choice to create a custom prefix otherwise it u_ for global tables...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found