Skip to content

Allow projects to have their own angular.json file #30278

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
johalternate opened this issue May 9, 2025 · 0 comments
Closed

Allow projects to have their own angular.json file #30278

johalternate opened this issue May 9, 2025 · 0 comments

Comments

@johalternate
Copy link

Command

config

Description

Currently we have a single angular.json per workspace. Each project in the workspace adds hundreds of lines to the angular.json file, if you have many projects, the files becomes too big and kinda cumbersome to navigate.

Describe the solution you'd like

What if the angular.json file held global config and the path to each projects angular.json.

Something like:

{
    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
    "version": 1, // or maybe 2
    "newProjectRoot": "applications",
    "projects": [
        "./applications/customers",
        "./applications/management",
        "./libraries/ui"
    ],
    "cli": {
         // stuff
    }
}

Then each project could have its own angular.json (or maybe project.json).

Describe alternatives you've considered

No response

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

No branches or pull requests

2 participants