tools/workspace-plugin/src/generators/move-packages/README.md
Workspace Generator for moving a package to another folder.
<!-- toc --> <!-- tocstop -->yarn nx g @fluentui/workspace-plugin:move-packages ...
Show what will be generated without writing to disk:
yarn nx g @fluentui/workspace-plugin:move-packages --dry-run
Run generator on package named @fluentui/react-menu and have it moved to a subfolder called test
yarn nx g @fluentui/workspace-plugin:move-packages --name='@fluentui/react-menu' --destination="testFolder/react-menu"
Run generator on all converged packages
yarn nx g @fluentui/workspace-plugin:move-packages --allConverged --destination="testFolder"
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
destinationType: string
The folder to move package into.
NOTE: will trigger CLI prompt if you didn't provide this option
allConvergedType: boolean
Move all converged packages in a batch