Skip to content

Commit

Permalink
fix: remove "sideEffects": true from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Nov 24, 2024
1 parent 9f59bdc commit 5881339
Show file tree
Hide file tree
Showing 27 changed files with 29 additions and 26 deletions.
29 changes: 29 additions & 0 deletions .changeset/few-dancers-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
"@utrecht/body-react": patch
"@utrecht/button-react": patch
"@utrecht/calendar-react": patch
"@utrecht/checkbox-group-react": patch
"@utrecht/checkbox-react": patch
"@utrecht/combobox-react": patch
"@utrecht/component-library-react": patch
"@utrecht/fieldset-react": patch
"@utrecht/form-field-checkbox-react": patch
"@utrecht/form-field-description-react": patch
"@utrecht/form-field-error-message-react": patch
"@utrecht/form-field-react": patch
"@utrecht/form-label-react": patch
"@utrecht/link-react": patch
"@utrecht/listbox-react": patch
"@utrecht/nav-bar-react": patch
"@utrecht/page-body-react": patch
"@utrecht/page-footer-react": patch
"@utrecht/page-header-react": patch
"@utrecht/page-layout-react": patch
"@utrecht/radio-button-react": patch
"@utrecht/radio-group-react": patch
"@utrecht/root-react": patch
"@utrecht/select-combobox-react": patch
"@utrecht/textbox-react": patch
---

Remove `"sideEffects": true` from `package.json` to prevent tree shaking CSS injection'
1 change: 0 additions & 1 deletion packages/build-utils-react/src/init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const init = async () => {
// Base `package.json` file
{
type: 'module',
sideEffects: false,
publishConfig: {
access: 'public',
},
Expand Down
1 change: 0 additions & 1 deletion packages/component-library-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/body-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/button-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/calendar-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/checkbox-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/combobox-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/fieldset-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/form-field-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/form-label-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/link-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/listbox-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/nav-bar-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/page-body-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/page-footer-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/page-header-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/page-layout-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/radio-button-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/radio-group-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/root-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/textbox-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"license": "EUPL-1.2",
"author": "Community for NL Design System",
"sideEffects": false,
"type": "module",
"exports": {
".": {
Expand Down

0 comments on commit 5881339

Please sign in to comment.