Skip to content

Commit

Permalink
fix: missing TypeScript types for some React components
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Nov 10, 2024
1 parent 8f12dce commit 64d9157
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 196 deletions.
8 changes: 8 additions & 0 deletions .changeset/blue-mice-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@utrecht/form-field-checkbox-react": patch
"@utrecht/checkbox-group-react": patch
"@utrecht/radio-group-react": patch
"@utrecht/component-library-react": patch
---

Fix missing TypeScript types for React components by using `dependencies` instead of `devDependencies`.
12 changes: 6 additions & 6 deletions packages/components-react/checkbox-group-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@
"@types/react": "18.3.3",
"@types/testing-library__jest-dom": "5.14.9",
"@utrecht/form-field-css": "workspace:*",
"@utrecht/checkbox-react": "workspace:*",
"@utrecht/fieldset-react": "workspace:*",
"@utrecht/form-field-react": "workspace:*",
"@utrecht/form-field-checkbox-react": "workspace:*",
"@utrecht/form-field-description-react": "workspace:*",
"@utrecht/form-field-error-message-react": "workspace:*",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.3.1",
Expand Down Expand Up @@ -69,6 +63,12 @@
"react-dom": "18"
},
"dependencies": {
"@utrecht/checkbox-react": "workspace:*",
"@utrecht/fieldset-react": "workspace:*",
"@utrecht/form-field-checkbox-react": "workspace:*",
"@utrecht/form-field-description-react": "workspace:*",
"@utrecht/form-field-error-message-react": "workspace:*",
"@utrecht/form-field-react": "workspace:*",
"clsx": "2.1.1"
}
}
10 changes: 5 additions & 5 deletions packages/components-react/form-field-checkbox-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@
"@types/jest": "29.5.13",
"@types/react": "18.3.3",
"@types/testing-library__jest-dom": "5.14.9",
"@utrecht/checkbox-react": "workspace:*",
"@utrecht/form-field-description-react": "workspace:*",
"@utrecht/form-field-error-message-react": "workspace:*",
"@utrecht/form-label-react": "workspace:*",
"@utrecht/form-field-react": "workspace:*",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.3.1",
Expand Down Expand Up @@ -67,6 +62,11 @@
"react-dom": "18"
},
"dependencies": {
"@utrecht/checkbox-react": "workspace:*",
"@utrecht/form-field-description-react": "workspace:*",
"@utrecht/form-field-error-message-react": "workspace:*",
"@utrecht/form-field-react": "workspace:*",
"@utrecht/form-label-react": "workspace:*",
"clsx": "2.1.1"
}
}
12 changes: 6 additions & 6 deletions packages/components-react/radio-group-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@
"@types/react": "18.3.3",
"@types/testing-library__jest-dom": "5.14.9",
"@utrecht/form-field-css": "workspace:*",
"@utrecht/fieldset-react": "workspace:*",
"@utrecht/form-field-react": "workspace:*",
"@utrecht/form-label-react": "workspace:*",
"@utrecht/form-field-description-react": "workspace:*",
"@utrecht/form-field-error-message-react": "workspace:*",
"@utrecht/radio-button-react": "workspace:*",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.3.1",
Expand Down Expand Up @@ -69,6 +63,12 @@
"react-dom": "18"
},
"dependencies": {
"@utrecht/fieldset-react": "workspace:*",
"@utrecht/form-field-react": "workspace:*",
"@utrecht/form-label-react": "workspace:*",
"@utrecht/form-field-description-react": "workspace:*",
"@utrecht/form-field-error-message-react": "workspace:*",
"@utrecht/radio-button-react": "workspace:*",
"clsx": "2.1.1"
}
}
Loading

0 comments on commit 64d9157

Please sign in to comment.