Openbravo Issue Tracking System - POS2
View Issue Details
0049012POS2Corepublic2022-04-08 12:002022-04-08 12:00
jarmendariz 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
No
0049012: Remove peer dependencies of local OB modules
Currently 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.
See description
No tags attached.
related to feature request 0048870 closed jarmendariz Add support to Node 16/Npm 8 
blocks defect 0049023 new Triage Platform Base Remove --legacy-peer-deps flag when possible 
Issue History
2022-04-08 12:00jarmendarizNew Issue
2022-04-08 12:00jarmendarizAssigned To => Triage Platform Base
2022-04-08 12:00jarmendarizTriggers an Emergency Pack => No
2022-04-08 12:00jarmendarizRelationship addedrelated to 0048870
2022-04-11 10:06jarmendarizRelationship addedblocks 0049023

There are no notes attached to this issue.