Skip to content

Commit

Permalink
Update dependencies and improve style exports in emoji-mart packages
Browse files Browse the repository at this point in the history
- Bump various dependencies in package.json files, including Babel, Parcel, and TypeScript, to their latest versions for improved performance and security.
- Change the way styles are exported in the Picker component to use named exports for better clarity and usability.
- Update peer dependency for react in emoji-mart-react to include version 19.
- Update preact version in emoji-mart to the latest stable release.
  • Loading branch information
mpiton committed Dec 20, 2024
1 parent 16978d0 commit d94c15f
Show file tree
Hide file tree
Showing 5 changed files with 1,625 additions and 1,846 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
"test": "jest"
},
"devDependencies": {
"@babel/core": "7.18.9",
"@babel/plugin-transform-modules-commonjs": "7.18.6",
"@parcel/packager-ts": "2.6.2",
"@parcel/transformer-inline-string": "2.6.2",
"@parcel/transformer-sass": "2.6.2",
"@parcel/transformer-typescript-types": "2.6.2",
"jest-environment-jsdom": "28.0.0",
"@babel/core": "7.26.0",
"@babel/plugin-transform-modules-commonjs": "7.26.3",
"@parcel/packager-ts": "2.13.3",
"@parcel/transformer-inline-string": "2.13.3",
"@parcel/transformer-sass": "2.13.3",
"@parcel/transformer-typescript-types": "2.13.3",
"jest": "^28.1.3",
"parcel": "2.6.2",
"prettier": "2.5.1",
"jest-environment-jsdom": "28.0.0",
"parcel": "2.13.3",
"prettier": "2.8.8",
"ts-jest": "^28.0.7",
"typescript": "4.6.4"
"typescript": "4.9.5"
},
"prettier": {
"semi": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji-mart-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"peerDependencies": {
"emoji-mart": "^5.2",
"react": "^16.8 || ^17 || ^18"
"react": "^16.8 || ^17 || ^18 || ^19"
},
"files": [
"/dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji-mart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"prepublishOnly": "yarn build"
},
"devDependencies": {
"preact": "10.6.4"
"preact": "10.25.3"
},
"alias": {
"react": "preact/compat",
Expand Down
3 changes: 2 additions & 1 deletion packages/emoji-mart/src/components/Picker/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @ts-nocheck
export { default as Picker } from './Picker'
export { default as PickerElement } from './PickerElement'
export { default as PickerStyles } from 'bundle-text:./PickerStyles.scss'
import * as styles from 'bundle-text:./PickerStyles.scss'
export { styles as PickerStyles }
Loading

0 comments on commit d94c15f

Please sign in to comment.