Skip to content

Commit 2855219

Browse files
authored
Remove typos from constraints file (#1528)
1 parent f102c07 commit 2855219

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

constraints.pro

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)