You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your suggestion related to an experience? Please describe.
Currently, we declare dependencies in each feature's package.json file within the identity-apps repository rather than consolidating them in the root package.json.
This approach offers certain advantages:
It allows individual features to be modular, making it easier to move them out of the monorepo if needed.
It improves readability by clearly identifying dependencies needed for each feature.
It can simplify bundling with tools like Rollup.
However, this approach has several drawbacks:
Multiple versions of the same package: Version conflicts can arise, especially if different versions of a package (e.g., mixing ~ and ^ or strict versioning) are declared across different features.
Local development issues: Local environment inconsistencies can lead to errors that aren’t caught in development, due to variations in package versions across features.
Describe the improvement
Integrate pnpm catalogs and use the catalog protocol to centralize common dependencies. This will help streamline package management and minimize potential version conflicts. Key packages that can be managed with catalogs include:
@asgardeo/auth-react
@oxygen-ui/react
@wso2is packages (both features and modules)
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your suggestion related to an experience? Please describe.
Currently, we declare dependencies in each feature's
package.json
file within theidentity-apps
repository rather than consolidating them in the rootpackage.json
.This approach offers certain advantages:
However, this approach has several drawbacks:
~
and^
or strict versioning) are declared across different features.Describe the improvement
Integrate pnpm catalogs and use the
catalog
protocol to centralize common dependencies. This will help streamline package management and minimize potential version conflicts. Key packages that can be managed with catalogs include:@asgardeo/auth-react
@oxygen-ui/react
@wso2is
packages (both features and modules)Additional context
N/A
The text was updated successfully, but these errors were encountered: