Skip to content

Add a config file like .ngcli or ngcli-conf.js to the generated app #113

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

Closed
tapas4java opened this issue Dec 16, 2015 · 5 comments
Closed

Comments

@tapas4java
Copy link
Contributor

Customization is an important factor for any tools to succeed. It would be better if we could add one config file like .ngcli or ngcli-conf.js so that developer can customize their own work flow.

e.g:

  • Directory structure (e.g: src/components/mycomp)
  • SASS setup enable/disable
  • etc.
@dancancro
Copy link

Hi Tapas,

I'm not sure whether this is interesting to you, but here is a study I did of different ways people put configurations/settings into files. Maybe this will help you decide which way you like best. The spreadsheet shows the organization of all sorts of code, but the configuration stuff (I called "settings") are on rows 124-140.

@cironunes
Copy link
Member

That's true. You are supposed to use the ember-cli-build.js to achieve the same goal, but right know the angular-cli isn't so extensible.

@dvenske
Copy link

dvenske commented Dec 31, 2015

I would argue that directory structure is something that angular-cli should be opinionated about and it should probably not be configurable.

The main reason for this is that using something like angular-cli should create a situation where anyone with experience in angular-cli could jump into a project and know exactly where everything is.

@hansl
Copy link
Contributor

hansl commented Mar 17, 2016

We're already building an angular-cli.json file for route configurations (#287). Code generated using that file will live next to your code (for IDE support).

Alternatively, support for SASS/SCSS and other tools are added using the ng install command.

I consider this solved indirectly.

@hansl hansl closed this as completed Mar 17, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants