Skip to content

Commit f861204

Browse files
committed
Base controller has side effects
1 parent c18a9ff commit f861204

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

constraints.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ gen_enforced_field(WorkspaceCwd, 'exports', null) :-
259259

260260
% Published packages must not have side effects.
261261
gen_enforced_field(WorkspaceCwd, 'sideEffects', false) :-
262-
\+ workspace_field(WorkspaceCwd, 'private', true).
262+
\+ workspace_field(WorkspaceCwd, 'private', true),
263+
WorkspaceCwd \= 'packages/base-controller'.
263264
% Non-published packages must not specify side effects.
264265
gen_enforced_field(WorkspaceCwd, 'sideEffects', null) :-
265266
workspace_field(WorkspaceCwd, 'private', true).

packages/base-controller/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"url": "https://github.com/MetaMask/core.git"
1616
},
1717
"license": "MIT",
18-
"sideEffects": false,
1918
"exports": {
2019
".": {
2120
"import": "./dist/index.mjs",

0 commit comments

Comments
 (0)