fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

feat(workspace-plugin): make all react library generators work with both split project and old project setup

Open Hotell opened this issue 1 year ago • 2 comments

Pre-requirements:

  • [ ] https://github.com/microsoft/monosize/issues/62

Previous Behavior

New Behavior

makes following generators work in both v9 package configuration ( old/current and new split library root-folder/library root-folder/stories:

  • react-library
  • react-component
  • cypress-component-configuration
  • bundle-size-configuration
  • prepare-initial-release

NOTE: once we migrate all packages those conditional (old) behaviours implemented will be removed from all changed generators in this PR ( except split-library-in-two generator )

Additional features:

  • react-library
    • once this is merged any new react library will start from scratch in split projects mode
  • cypress-component-configuration
    • properly add devDependencies when invoking
  • split-library-in-two
    • make cli log output configurable for better composability
    • enable execution on preview and compat packages
    • based on offline convo, test-ssr task will be moved to /stories project instead staying within /library as it's the right thing to do from domain and dependency graph POV.

Related Issue(s)

  • Partially implements https://github.com/microsoft/fluentui/issues/30516

Hotell avatar Apr 23 '24 08:04 Hotell

📊 Bundle size report

✅ No changes found

fabricteam avatar Apr 23 '24 08:04 fabricteam

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

codesandbox-ci[bot] avatar Apr 23 '24 08:04 codesandbox-ci[bot]