mirror of
https://github.com/standardnotes/web.git
synced 2024-09-11 14:55:35 +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).
|