Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049012
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] Coremajorhave not tried2022-04-08 12:002022-04-08 12:00
ReporterjarmendarizView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049012: Remove peer dependencies of local OB modules

DescriptionCurrently we're using the peerDependencies mechanism to add references to other modules and make imports more readable.

import * from 'org.openbravo.core2/mycode';

But starting from npm8, peer dependencies are forced to be installed and this have two disadvantages:
- Increases the build time
- Adds references to the other module in the package-lock file

For this reason we consider convenient to remove this peerDependency in all modules where applicable and think in some aliasing mechanism to preserve the way we use to reference other modules in js code.
Steps To ReproduceSee description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0048870 closedjarmendariz Add support to Node 16/Npm 8 
blocks defect 0049023 newTriage Platform Base Remove --legacy-peer-deps flag when possible 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-04-08 12:00 jarmendariz New Issue
2022-04-08 12:00 jarmendariz Assigned To => Triage Platform Base
2022-04-08 12:00 jarmendariz Triggers an Emergency Pack => No
2022-04-08 12:00 jarmendariz Relationship added related to 0048870
2022-04-11 10:06 jarmendariz Relationship added blocks 0049023


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker