GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow creating applications and libraries in separate folders for better project structure. · Issue #11101 · angular/angular-cli

Allow creating applications and libraries in separate folders for better project structure. #11101

New issue
Copy link
New issue
Copy link
Open
Enhancement
Open
Allow creating applications and libraries in separate folders for better project structure.#11101
Enhancement
Copy link
Labels
area: @schematics/angularfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors
Milestone
needsTriage

Description

@ph55
ph55
opened on Jun 4, 2018
Issue body actions

[ V ] Feature request

Currently both applications and libraries placed in same directory.
And there is only one config for this: newProjectRoot

Please add another one: newLibraryRoot - if set, libraries would be stored there.

Reacted by ternyk, Andrey Kolkov, Carsten, Marian Stoica, Michael, Manuel, NLye and Denis Bendrikov
Reacted by Michael
Reacted by Michael

Activity

  1. filipesilva
    added
    featureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
    area: @angular-devkit/core
    area: @angular/cli
    on Jun 11, 2018
  2. cluen commented on Jun 25, 2018

    @cluen
    cluen
    on Jun 25, 2018
    More actions

    It would be nice to define the directory/folder as a generate option:

    ng g library foo -d libs/datelibs/
    ng g library bar -d libs/layoutlibs/
    ng g application -d projects/mysubapp
    
    Reacted by Sasha Kalmikov and Mehrad Rafigh
  3. ph55 commented on Jun 26, 2018

    @ph55
    ph55
    on Jun 26, 2018
    Author
    More actions

    Just figured out that you could generate libraries with namespace.
    For example:

    ng g library @namespace/xxx
    ng g library @namespace/yyy

    Will generate two libraries with following structure
    image

    @ (at sign) is required for namespace.
    image

    For some reason it's not mentioned in wiki.
    https://github.com/angular/angular-cli/wiki/generate

    @filipesilva Should be documented, don't you think ?

    Reacted by nickshoe
    Reacted by Marian Stoica, Niklas and Mehrad Rafigh
    Reacted by Marian Stoica, Smileydude, Mehrad Rafigh and NLye
  4. ngbot
    added this to the Backlog milestone on Jan 24, 2019
  5. zpydee commented on Aug 26, 2019

    @zpydee
    zpydee
    on Aug 26, 2019
    More actions

    @filipesilva this should definitely be documented. can you maybe promote from your backlog?

  6. ramjawade commented on Nov 14, 2019

    @ramjawade
    ramjawade
    on Nov 14, 2019
    More actions

    It will a good feature, so developers can easily understand libs and projects (i.e application).

  7. alan-agius4
    removed
    area: @angular/cli
    area: @angular-devkit/core
    on May 27, 2020
  8. ngbot
    removed this from the Backlog milestone on May 27, 2020
  9. alan-agius4
    added
    area: @schematics/angular
    on May 27, 2020
  10. ngbot
    added this to the Backlog milestone on May 27, 2020
  11. alan-agius4
    added
    triage #1
    on May 27, 2020
  12. angular-robot
    added
    feature: votes requiredFeature request which is currently still in the voting phaseFeature request which is currently still in the voting phase
    on Feb 1, 2022
  13. angular-robot commented on Feb 1, 2022

    @angular-robot
    angular-robotBot
    on Feb 1, 2022
    Contributor
    More actions

    Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

    Find more details about Angular's feature request process in our documentation.

  14. ngbot
    modified the milestones: Backlog, needsTriage on Feb 1, 2022
  15. angular-robot commented on Feb 21, 2022

    @angular-robot
    angular-robotBot
    on Feb 21, 2022
    Contributor
    More actions

    Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

    We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

    You can find more details about the feature request process in our documentation.

  16. angular-robot
    added
    feature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors
    and removed
    feature: votes requiredFeature request which is currently still in the voting phaseFeature request which is currently still in the voting phase
    on Feb 21, 2022
  17. alan-agius4
    removed
    triage #1
    on Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @schematics/angularfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors

    Type

    Enhancement

    Projects

    No projects

      Milestone

      • needsTriageNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.