mirror of
https://github.com/standardnotes/web.git
synced 2024-08-17 18:50:27 +03:00
5 lines
350 B
Prolog
5 lines
350 B
Prolog
% 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). |