angular / angular/angular-cli

Promote standalone component helpers to public API

Ouverte
#24,204 1 commentaire 5 réactions 0 personnes assignées Voir sur GitHub
area: @schematics/angular
Langage dominant
TypeScript
Étoiles
27k
Forks
11.8k
Merge moyen
14 h 23 min
PR mergées (30 j)
162

Description

### Command

add

### Description

With https://github.com/angular/angular-cli/commit/e895fc7c1012796442cb7a4a3b9b3a0ec3845b0e a few standalone helpers were moved from the CDK to the schematics package. I am wondering why they were moved to a "private" section and aren't considered public API. Was this just because standalone components were still in developer preview at that time? Now that angular 15 is going to make standalone components stable could the helpers be moved outside the private section and be treated as public API?

### Describe the solution you'd like

With standalone components becoming stable these helpers should become public API as well.

### Describe alternatives you've considered

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par le commit e895fc7c1012796442cb7a4a3b9b3a0ec3845b0e et examinez les helpers autonomes déplacés du CDK vers le package schematics. Déterminez comment la section privée les expose, puis vérifiez que les helpers sont traités comme une API publique et mettez à jour ou ajoutez la couverture pertinente si le package en dispose.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
tooling
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.