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
You automatically extract the secondary entry dependency, which I found to be invalid.
package.transform.ts
entryPoints.forEach(entryPoint=>{constdeps=entryPoint.filter(isEntryPoint).map(ep=>ep.url);console.log(deps)=>[]// Always returns an empty arraydepthBuilder.add(entryPoint.url,deps);});
The result is an alphabetical packing of folders
I wondered if I could manually add a dependency list configuration
letinitialValue=[];// WARNING in secondary entry points lib peerDependencies configuration Circular dependency detectedentryPoints.forEach(entryPoint=>{letpeerDependencies=[];constsecondaryData=entryPoint.data.entryPoint.secondaryData;if(secondaryData){peerDependencies=secondaryData.peerDependencies.map(ngUrl);}initialValue=[...initialValue,entryPoint.url, ...peerDependencies];depthBuilder.add(entryPoint.url,peerDependencies);});initialValue=[...newSet(initialValue)];// The array index is the depth.constgroups=depthBuilder.build();constgroupsValue=array_1.flatten(groups);// If the initial value and the processed valueif(initialValue.length!==groupsValue.length){constuntreatedValue=initialValue.filter(value=>!groupsValue.includes(value)).map(ngPath);throwError(`WARNING in secondary entry points lib peerDependencies configuration Circular dependency detected. \n Error folder: \n${untreatedValue.join("\n")}`);}
Type of Issue
Description
You automatically extract the secondary entry dependency, which I found to be invalid.
package.transform.ts
The result is an alphabetical packing of folders
I wondered if I could manually add a dependency list configuration
alert/package.json
my tree
lib
├─alert
├─autocomplete
├─button
├─card
├─checkbox
├─core
├─data-grid
├─date-picker
├─dialog
├─divider
├─echarts
├─form-field
├─icon
├─input
├─menu
├─multiple-picker
├─option
├─paginator
├─popover
├─progressbar
├─radio
├─role-permission
├─select
├─spinner
├─src
│ └─lib
├─switch
├─toast
├─tooltip
├─transfer
└─tree
build ok
The text was updated successfully, but these errors were encountered: