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

Move @uifabric packages under @fluentui scope #13384

Closed
ecraig12345 opened this issue May 28, 2020 · 5 comments · Fixed by #15659
Closed

Move @uifabric packages under @fluentui scope #13384

ecraig12345 opened this issue May 28, 2020 · 5 comments · Fixed by #15659

Comments

@ecraig12345
Copy link
Member

ecraig12345 commented May 28, 2020

Part 3/4 in a series of changes that must happen in master after v7 development moves to a branch, but before beta publishing:

  1. Merge OUFR and react-next into react #15152 OUFR/react-next merge
  2. Re-export date-time components from react #14679 Move date-time components
  3. (this) Move @uifabric packages under @fluentui scope #13384 uifabric/fluentui package renames
  4. Set up beta releases #14689 set up beta releases

As part of version 8, we'd like to rename our @uifabric packages to @fluentui (or in a few cases, delete unneeded packages going forward).

For packages which are used by the suite, we'll add @uifabric aliases (which re-export the @fluentui version) so that partners who depend on multiple suite versions won't get multiple versions of all the dependency packages. (Creation of the alias packages will be done at a slightly later point after the renames, but before release--tracked by #15150.)

EDIT: Trying to handle package renames and getting rid of major-lockstep at the same time turned out to be too complex, so we will be continuing with major-lockstep for now and NOT making any alias packages. However, we will likely provide a codemod to help with renames (see #15661).

In some cases, we're changing the names of the @fluentui versions of the packages to better match current naming conventions, or to reserve @fluentui names for future use.

Packages to rename (final list)

The table below has been updated with the final list of new package names/scopes.

Old name (under @uifabric) New name (under @fluentui) PR
api-docs same #15617
azure-themes same #15454
charting react-charting #15564
date-time react-date-time #15659
example-app-base react-docsite-components #15617
example-data same #15618
experiments react-experiments #15566
fabric-website public-docsite #15439
fabric-website-resources public-docsite-resources #15439
file-type-icons file-type-icons #15626
foundation foundation-legacy #15595
icons font-icons-mdl2 #15603
@fluentui/react-icons react-icons-mdl2 #15599
jest-serializer-merge-styles same #15615
mdl2-theme remove done
merge-styles same #15627
monaco-editor same #15617
react-cards same #15586
react-hooks same #15629
set-version same #15616
styling style-utilities #15567
test-utilities same #15615
theme-samples same #15454
tsx-editor react-monaco-editor #15617
utilities same #15629
variants scheme-utilities #15598
webpack-utils webpack-utilities #15615

Deleted

  • @uifabric/fluent-theme (variables moved to @fluentui/theme; styling is now the default)
  • @uifabric/mdl2-theme (deprecated styles; can continue using version 7 if needed)
  • @uifabric/lists (no plan to release in current form)
  • @uifabric/migration (changing approach)

Rename script

For later reference, here's a link to the script I wrote to help with the renames https://github.com/microsoft/fluentui/blob/c838c580546dffb42b3eda95f55899c93c14b396/scripts/rename-package.ts

@ecraig12345 ecraig12345 changed the title Republish @uifabric packages under @fluentui scope? Move @uifabric packages under @fluentui scope? May 28, 2020
@JustSlone JustSlone added this to the v8: Pre-beta milestone Aug 21, 2020
@ecraig12345 ecraig12345 changed the title Move @uifabric packages under @fluentui scope? Move @uifabric packages under @fluentui scope Aug 21, 2020
@ecraig12345 ecraig12345 changed the title Move @uifabric packages under @fluentui scope [post-snap 3] Move @uifabric packages under @fluentui scope Aug 21, 2020
@ecraig12345 ecraig12345 changed the title [post-snap 3] Move @uifabric packages under @fluentui scope [post-snap] Move @uifabric packages under @fluentui scope Aug 21, 2020
This was referenced Oct 9, 2020
@ecraig12345
Copy link
Member Author

FYI for anyone subscribed: we've made some changes to the original plan, and the issue description has been updated to reflect those changes (including the final list of new package names).

@msft-github-bot
Copy link
Contributor

🎉This issue was addressed in #15659, which has now been successfully released as @fluentui/react@v8.0.0-beta.0.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉This issue was addressed in #15659, which has now been successfully released as @fluentui/react-next@v9.0.0-alpha.0.:tada:

Handy links:

@microsoft microsoft locked as resolved and limited conversation to collaborators Nov 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants