-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
cli: Improve the migrate tooling #24375
Conversation
Signed-off-by: blam <ben@blam.sh>
…ful about the replacing Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Changed Packages
|
Uffizzi Cluster |
needs api reports |
Signed-off-by: blam <ben@blam.sh>
@@ -15,45 +15,54 @@ | |||
*/ | |||
import { BackstagePackageJson, PackageGraph } from '@backstage/cli-node'; | |||
import chalk from 'chalk'; | |||
import { resolve as resolvePath } from 'path'; | |||
import { resolve as resolvePath, join } from 'path'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { resolve as resolvePath, join } from 'path'; | |
import { resolve as resolvePath, joinPath } from 'path'; |
just a common pattern
import { OptionValues } from 'commander'; | ||
import { readJson, writeJson } from 'fs-extra'; | ||
import { minimatch } from 'minimatch'; | ||
import { runYarnInstall } from './bump'; | ||
import replace from 'replace-in-file'; | ||
|
||
declare module 'replace-in-file' { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ew, but ok
Signed-off-by: blam <ben@blam.sh>
Thank you for contributing to Backstage! The changes in this pull request will be part of the |
Signed-off-by: blam <ben@blam.sh>
This adds the ability to do find and replace in the packages for the packages that have changed in the community migration.
This assumes that there's no breaking changes in the packages and is here to help smooth the migration process to the new namespaces.
This is kind of best effort, and we're hoping fixes most use cases 🤞