Skip to content
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

feat(core): log a note after an interactive migration run with skipped package updates #16802

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented May 5, 2023

Current Behavior

When running migrations in interactive mode, if the user opts out of any package update, there's no feedback or recommendation about how to later apply those skipped package updates. It's particularly important to provide feedback about the --from version to use with the migrate command to apply those changes.

Expected Behavior

When running migrations in interactive mode, if the user opts out of any package update, a next step is printed to the terminal with a recommended command to run later to apply skipped changes. The link to learn more is also changed to the advanced migration guide. When migrations are not run in interactive mode or there are no skipped updates, we still get the current messaging.

image

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this May 5, 2023
@vercel
Copy link

vercel bot commented May 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2023 7:43am

@leosvelperez leosvelperez changed the title feat(core): log a note after an interactive migration run where package updates were opted out feat(core): log a note after an interactive migration run with skipped package updates May 5, 2023
@leosvelperez leosvelperez force-pushed the core/migrate-recommend-command-skipped-updates branch from 743df6e to c0f45a6 Compare May 5, 2023 10:57
@leosvelperez leosvelperez marked this pull request as ready for review May 5, 2023 11:11
@leosvelperez leosvelperez force-pushed the core/migrate-recommend-command-skipped-updates branch from c0f45a6 to be45f2a Compare May 8, 2023 09:10
@leosvelperez leosvelperez force-pushed the core/migrate-recommend-command-skipped-updates branch from be45f2a to 1180fc7 Compare May 9, 2023 10:09
@leosvelperez leosvelperez force-pushed the core/migrate-recommend-command-skipped-updates branch from 1180fc7 to 15be712 Compare May 9, 2023 16:15
docs/shared/recipes/advanced-update.md Outdated Show resolved Hide resolved
docs/shared/recipes/advanced-update.md Outdated Show resolved Hide resolved
@isaacplmann
Copy link
Collaborator

Looks good in general. I just simplified a few of your sentences.

@leosvelperez leosvelperez force-pushed the core/migrate-recommend-command-skipped-updates branch from b9ebfa8 to 40534da Compare May 15, 2023 07:39
@FrozenPandaz FrozenPandaz merged commit 6ebfbbe into nrwl:master May 15, 2023
@leosvelperez leosvelperez deleted the core/migrate-recommend-command-skipped-updates branch May 15, 2023 15:02
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants