chore: use yarn workspace: protocol to resolve local packages
This commit is contained in:
5
constraints.pro
Normal file
5
constraints.pro
Normal file
@@ -0,0 +1,5 @@
|
||||
% This rule enforces that all workspaces must depend on other workspaces using `workspace:*`
|
||||
gen_enforced_dependency(WorkspaceCwd, DependencyIdent, 'workspace:*', DependencyType) :-
|
||||
workspace_has_dependency(WorkspaceCwd, DependencyIdent, _, DependencyType),
|
||||
DependencyType \= 'peerDependencies',
|
||||
workspace_ident(DependencyCwd, DependencyIdent).
|
||||
Reference in New Issue
Block a user