mirror of
https://github.com/standardnotes/app
synced 2026-01-16 19:04:58 -05: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). |