Skip to content

Commit

Permalink
Add missing exports from RNW
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Nov 24, 2024
1 parent b6b6b53 commit 073a92e
Show file tree
Hide file tree
Showing 5 changed files with 667 additions and 435 deletions.
6 changes: 3 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"@electron-forge/cli": "^7.5.0",
"@electron-forge/maker-zip": "^7.5.0",
"@electron-forge/plugin-webpack": "7.5.0",
"electron": "^33.0.2",
"node-loader": "^2.0.0",
"electron": "^33.2.0",
"node-loader": "^2.1.0",
"swc-loader": "^0.2.6",
"webpack": "^5.95.0"
"webpack": "^5.96.1"
},
"config": {
"forge": {
Expand Down
4 changes: 2 additions & 2 deletions library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-electron",
"version": "0.20.0",
"version": "0.20.1",
"description": "Electron extensions to React Native for Web",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
"react-native-web": "^0.19.0"
},
"devDependencies": {
"electron": "^33.0.2",
"electron": "^33.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native-web": "^0.19.13"
Expand Down
3 changes: 3 additions & 0 deletions library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export {
Appearance,
AppRegistry,
AppState,
BackHandler,
Clipboard,
Dimensions,
Easing,
Expand Down Expand Up @@ -54,10 +55,12 @@ export {
View,
VirtualizedList,
YellowBox,
LogBox,
// plugins
DeviceEventEmitter,
// hooks
useColorScheme,
useLocaleContext,
useWindowDimensions,
} from 'react-native-web'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@swc/cli": "0.4.1-nightly.20240914",
"@swc/cli": "0.5.1",
"@swc/core": "^1.7.39",
"del-cli": "^6.0.0"
}
Expand Down
Loading

0 comments on commit 073a92e

Please sign in to comment.