tools/workspace-plugin/src/generators/migrate-converged-pkg/README.md
Workspace Generator for migrating converged packages to new DX (stage 1)[https://github.com/microsoft/fluentui/issues/18579]
<!-- toc --> <!-- tocstop -->yarn nx g @fluentui/workspace-plugin:migrate-converged-pkg ...
Show what will be generated without writing to disk:
yarn nx g @fluentui/workspace-plugin:migrate-converged-pkg --dry-run
Run migration on package named @fluentui/example
yarn nx g @fluentui/workspace-plugin:migrate-converged-pkg --name='@fluentui/example'
Run migration on all vNext packages
yarn nx g @fluentui/workspace-plugin:migrate-converged-pkg --all
Get migration stats for how many packages have been migrated yet.
No actual migration will happen.
yarn nx g @fluentui/workspace-plugin:migrate-converged-pkg --stats
nameType: string
Package/library name (needs to be full name of the package, scope included - e.g. @fluentui/<package-name>)
NOTE: will trigger CLI prompt if you didn't provide this option
Run migration on subset of packages:
To run migration on multiple packages you can specify a comma separated list of project names.
# run migration on:
# - @fluentui/lib-zero
# - @fluentui/lib-one
# - @fluentui/lib-two
yarn nx g @fluentui/workspace-plugin:migrate-converged-pkg --name='@fluentui/lib-zero,@fluentui/lib-one,@fluentui/lib-two'
ownerType: string
Add particular team to CODEOWNERS file
allType: boolean
Run batch migration on all vNext packages
statsType: boolean
Get stats for migration progress.