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 — Alternative lookup convention for `ng-add` schematics · Issue #13026 · angular/angular-cli

Alternative lookup convention for ng-add schematics #13026

New issue
Copy link
New issue
Copy link
Open
Enhancement
Open
Alternative lookup convention for ng-add schematics#13026
Enhancement
Copy link
Labels
area: @angular/clifeatureLabel 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

@imhoffd
imhoffd
opened on Nov 21, 2018
Issue body actions

It would be nice to be able to externalize schematics from the package specified in the ng add command.

ng add ionic requires us to include schematics within the ionic package itself, which is not ideal for several reasons:

  • Separation of Concerns. The ionic package isn't necessarily for Angular, but ng add ionic looks good 👌
  • Complication of the build within our main package. Including the schematics in our main package would require including a lot of the Angular DevKit into the build.
  • Slow "add". It requires installing the entire package and all its dependencies (~38M) in a sandbox just to use a few files from the package.

In slack I believe we concluded that the best solution might be to have the ng-add field within package.json be allowed to point to another package.

Reacted by Sebastian Witalec and Denis Bendrikov
Reacted by Adam Bradley and Mike Hartington

Activity

  1. clydin
    added
    featureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
    area: @angular/cli
    on Nov 21, 2018
  2. ngbot
    added this to the Backlog milestone on Nov 21, 2018
  3. sebawita commented on Mar 20, 2019

    @sebawita
    sebawita
    on Mar 20, 2019
    More actions

    Yeah, this would be great.
    I would love to be able to call ng add nativescript, which could then be redirected to install @nativescript/schematics

  4. 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
  5. 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.

  6. ngbot
    modified the milestones: Backlog, needsTriage on Feb 1, 2022
  7. 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.

  8. 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
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: @angular/clifeatureLabel 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.