mirror of
https://github.com/standardnotes/web.git
synced 2024-10-27 16:31:40 +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). |