fluentui
fluentui copied to clipboard
feat(workspace-plugin): make all react library generators work with both split project and old project setup
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-ssrtask will be moved to/storiesproject instead staying within/libraryas 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
📊 Bundle size report
✅ No changes found
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.