Skip to content

Commit

Permalink
v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Mar 16, 2019
1 parent 5211dd7 commit 792ecd9
Show file tree
Hide file tree
Showing 13 changed files with 2,127 additions and 1,513 deletions.
13 changes: 4 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"presets": ["@babel/preset-flow", "@babel/preset-react"],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-export-namespace-from"
Expand All @@ -15,9 +16,7 @@
"modules": "commonjs",
"loose": true
}
],
"@babel/preset-flow",
"@babel/preset-react"
]
]
},
"cjs": {
Expand All @@ -31,9 +30,7 @@
"modules": "commonjs",
"loose": true
}
],
"@babel/preset-flow",
"@babel/preset-react"
]
]
},
"esm": {
Expand All @@ -47,9 +44,7 @@
"modules": false,
"loose": true
}
],
"@babel/preset-flow",
"@babel/preset-react"
]
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"settings": {
"react": {
"version": "16.7",
"flowVersion": "0.81"
"flowVersion": "0.95"
}
}
}
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[lints]
all=warn
dynamic-export=off
unclear-type=off

[options]
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v0.11.0 (2019-03-17)

- Updated React Native for Web dependency to v0.11.
- Removed `ART` export as it's been removed from React Native for Web.

## v0.10.0 (2019-01-31)

- Updated Electron dependency to v4.0.
Expand Down
12 changes: 9 additions & 3 deletions example/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
<html>
<head>
<title>React Native Electron</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<meta charset="utf-8" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
/>
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="http://localhost:7000/bundle.js"></script>
<script
type="text/javascript"
src="http://localhost:7000/bundle.js"
></script>
</body>
</html>
6 changes: 3 additions & 3 deletions example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path')
module.exports = {
mode: 'development',
entry: {
app: path.resolve(__dirname, 'app', 'renderer.js'),
app: path.join(__dirname, 'app', 'renderer.js'),
},
node: {
__filename: true,
Expand All @@ -27,8 +27,8 @@ module.exports = {
filename: 'bundle.js',
},
target: 'electron-renderer',
serve: {
content: [path.resolve(__dirname, 'app')],
devServer: {
contentBase: path.join(__dirname, 'app'),
port: 7000,
},
}
4 changes: 2 additions & 2 deletions flow-typed/npm/electron_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 725fb14d58907bfccdd9defbf5b18535
// flow-typed version: <<STUB>>/electron_v^3.0.0/flow_v0.91.0
// flow-typed signature: a110706a5bee611df645dff6e61259bf
// flow-typed version: <<STUB>>/electron_v^4.0.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Loading

0 comments on commit 792ecd9

Please sign in to comment.