@@ -44,18 +44,14 @@ gen_enforced_dependency(WorkspaceCwd, 'tslib', 'range', 'dependencies') :-
44
44
\+ workspace_has_dependency(WorkspaceCwd , 'tslib' , _ , _ ).
45
45
46
46
% This rule will enforce that all packages must have a "BSD-2-Clause" license field
47
- gen_enforced_field (WorkspaceCwd , 'license' , 'BSD-2-Clause' ) :-
48
- workspace(WorkspacedCwd ).
47
+ gen_enforced_field (WorkspaceCwd , 'license' , 'BSD-2-Clause' ).
49
48
50
49
% This rule will enforce that all packages must have a engines.node field of >=10.19.0
51
- gen_enforced_field (WorkspaceCwd , 'engines.node' , '>=10.19.0' ) :-
52
- workspace(WorkspacedCwd ).
50
+ gen_enforced_field (WorkspaceCwd , 'engines.node' , '>=10.19.0' ).
53
51
54
52
% Required to make the package work with the GitHub Package Registry
55
- gen_enforced_field (WorkspaceCwd , 'repository.type' , 'git' ) :-
56
- workspace(WorkspacedCwd ).
57
- gen_enforced_field (
WorkspaceCwd ,
'repository.url' ,
'ssh://[email protected] /yarnpkg/berry.git' )
:-
58
- workspace(WorkspacedCwd ).
53
+ gen_enforced_field (WorkspaceCwd , 'repository.type' , 'git' ).
54
+ gen_enforced_field (
WorkspaceCwd ,
'repository.url' ,
'ssh://[email protected] /yarnpkg/berry.git' )
.
59
55
60
56
% This rule will require that the plugins that aren't embed in the CLI list a specific script that'll
61
57
% be called as part of our release process (to rebuild them in the context of our repository)
0 commit comments