Skip to content

feat(docs-infra): update CLI templates to match changes with new parser and folder structure#45225

Closed
alan-agius4 wants to merge 8 commits intoangular:masterfrom
alan-agius4:aio-cli-update
Closed

feat(docs-infra): update CLI templates to match changes with new parser and folder structure#45225
alan-agius4 wants to merge 8 commits intoangular:masterfrom
alan-agius4:aio-cli-update

Conversation

@alan-agius4
Copy link
Contributor

@alan-agius4 alan-agius4 commented Mar 1, 2022

The underlying parser that the CLI uses changed which caused minor changes in the generated JSON helps especially for subcommands.

The folder structure of the Angular CLI repo also changed slightly.

More context: angular/angular-cli#22778

@alan-agius4 alan-agius4 added state: WIP state: blocked comp: docs-infra target: minor This PR is targeted for the next minor release labels Mar 1, 2022
@ngbot ngbot bot modified the milestone: Backlog Mar 1, 2022
@alan-agius4
Copy link
Contributor Author

CI will fail until we update the CLI SHA. Can I get a preemptive review?

@alan-agius4 alan-agius4 marked this pull request as ready for review March 2, 2022 19:38
@pullapprove pullapprove bot requested a review from josephperrott March 2, 2022 19:38
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 2, 2022
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preemptively looks reasonable 😃

@alan-agius4 alan-agius4 requested review from josephperrott and removed request for josephperrott March 9, 2022 17:26
@alan-agius4 alan-agius4 removed state: blocked action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 9, 2022
…er and folder structure

The underlying parser that the CLI uses changed which caused minor changes in the generated JSON helps especially for subcommands.

The folder structure of the Angular CLI repo also changed slightly.

More context: angular/angular-cli#22778
Hidden commands are no longer included in help JSON output.
@mary-poppins
Copy link

You can preview 70c7a46 at https://pr45225-70c7a46.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 34aedc3 at https://pr45225-34aedc3.ngbuilds.io/.

@alan-agius4
Copy link
Contributor Author

@gkalpak and @josephperrott kindly take a look.

@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 10, 2022
@alan-agius4 alan-agius4 requested a review from gkalpak March 10, 2022 09:36
@alan-agius4 alan-agius4 removed this from the Backlog milestone Mar 10, 2022
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of questions. Otherwise lgtm 👍

Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We should definitely have @gkalpak review as well though as he has more historical context and understanding.


doc.usages = generateUsages(doc);

// Recurse if there are subcommands
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this only goes one level down correct, do we need to fully recurse further in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not currently, since we only have 1 level subcommands in the Angular CLI

@alan-agius4 alan-agius4 removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 10, 2022
@mary-poppins
Copy link

You can preview 3a8da4e at https://pr45225-3a8da4e.ngbuilds.io/.

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release and removed target: minor This PR is targeted for the next minor release labels Mar 10, 2022
@atscott
Copy link
Contributor

atscott commented Mar 10, 2022

This PR was merged into the repository by commit 7f043c9.

@atscott atscott closed this in 8f06fa3 Mar 10, 2022
atscott pushed a commit that referenced this pull request Mar 10, 2022
Hidden commands are no longer included in help JSON output.

PR Close #45225
@alan-agius4 alan-agius4 deleted the aio-cli-update branch March 11, 2022 06:16
josmar-crwdstffng pushed a commit to josmar-crwdstffng/angular that referenced this pull request Apr 8, 2022
…er and folder structure (angular#45225)

The underlying parser that the CLI uses changed which caused minor changes in the generated JSON helps especially for subcommands.

The folder structure of the Angular CLI repo also changed slightly.

More context: angular/angular-cli#22778

PR Close angular#45225
josmar-crwdstffng pushed a commit to josmar-crwdstffng/angular that referenced this pull request Apr 8, 2022
Hidden commands are no longer included in help JSON output.

PR Close angular#45225
@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 Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants