Skip to content

Commit

Permalink
Monorepo: Set sideEffects to false for all Packages (#3497)
Browse files Browse the repository at this point in the history
* Add sideEffects set to false to first package (RLP)

* Activate sideEffects set to false for all libraries (except client)
  • Loading branch information
holgerd77 authored Jul 12, 2024
1 parent ea4bc06 commit 645cd91
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"license": "MPL-2.0",
"author": "mjbecze (mb@ethdev.com)",
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"license": "MPL-2.0",
"author": "mjbecze <mjbecze@gmail.com>",
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
}
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/devp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"Holger Drewes <holger.drewes@gmail.com>"
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/ethash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"license": "MPL-2.0",
"author": "mjbecze <mjbecze@gmail.com>",
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"Alex Beregszaszi <alex@rtfs.hu>"
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/genesis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"license": "MIT",
"author": "g11tech <gajinder@g11.in>",
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/rlp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"Paul Miller <pkg@paulmillr.com>"
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/statemanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"g11tech <gajinder@g11.in>"
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/trie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"Aaron Kumavis <http://aaron.kumavis.me/> (https://github.com/kumavis)"
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/tx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
}
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
}
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/verkle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
}
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/vm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"Alex Beregszaszi <alex@rtfs.hu>"
],
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"license": "MIT",
"author": "Alex Beregszaszi <alex@rtfs.hu>",
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down

0 comments on commit 645cd91

Please sign in to comment.