Skip to content

Commit

Permalink
Base controller has side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Mar 7, 2024
1 parent c18a9ff commit f861204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ gen_enforced_field(WorkspaceCwd, 'exports', null) :-

% Published packages must not have side effects.
gen_enforced_field(WorkspaceCwd, 'sideEffects', false) :-
\+ workspace_field(WorkspaceCwd, 'private', true).
\+ workspace_field(WorkspaceCwd, 'private', true),
WorkspaceCwd \= 'packages/base-controller'.
% Non-published packages must not specify side effects.
gen_enforced_field(WorkspaceCwd, 'sideEffects', null) :-
workspace_field(WorkspaceCwd, 'private', true).
Expand Down
1 change: 0 additions & 1 deletion packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"url": "https://github.com/MetaMask/core.git"
},
"license": "MIT",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
Expand Down

0 comments on commit f861204

Please sign in to comment.