Skip to content

Commit

Permalink
chore: remove constraint requiring babel-runtime if eth-method-regist…
Browse files Browse the repository at this point in the history
…ry is present

Starting with [email protected], the package no longer has an
implicit peerDependency on `babel-runtime`.

Instead it now has an explicit peerDependency on `@babel/runtime`.
  • Loading branch information
legobeat committed Feb 7, 2024
1 parent ad13f3c commit d973f91
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,3 @@ gen_enforced_field(WorkspaceCwd, 'publishConfig.registry', 'https://registry.npm
% whatsoever.
gen_enforced_field(WorkspaceCwd, 'publishConfig', null) :-
workspace_field(WorkspaceCwd, 'private', true).

% eth-method-registry has an unlisted dependency on babel-runtime (via `ethjs->ethjs-query`), so
% that package needs to be present if eth-method-registry is present.
gen_enforced_dependency(WorkspaceCwd, 'babel-runtime', '^6.26.0', 'peerDependencies') :-
workspace_has_dependency(WorkspaceCwd, 'eth-method-registry', _, 'dependencies').
gen_enforced_dependency(WorkspaceCwd, 'babel-runtime', '^6.26.0', 'devDependencies') :-
workspace_has_dependency(WorkspaceCwd, 'eth-method-registry', _, 'dependencies').

0 comments on commit d973f91

Please sign in to comment.