@@ -44,18 +44,14 @@ gen_enforced_dependency(WorkspaceCwd, 'tslib', 'range', 'dependencies') :-
4444 \+ workspace_has_dependency(WorkspaceCwd , 'tslib' , _ , _ ).
4545
4646% 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' ).
4948
5049% 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' ).
5351
5452% 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' )
. 5955
6056% This rule will require that the plugins that aren't embed in the CLI list a specific script that'll
6157% be called as part of our release process (to rebuild them in the context of our repository)
0 commit comments