Compare commits

..

3 Commits
0.5.2 ... 0.5.3

Author SHA1 Message Date
Nicolas Gallagher
aa22b06359 0.5.3 2018-03-15 13:32:24 -07:00
Paul Armstrong
2aa565c7c3 [fix] Picker default fontFamily
Close #860
2018-03-15 13:08:23 -07:00
Sakamoto, Kazunori
7b9b57960d Update getting-started.md
Fix __DEV__ value in example web/webpack.config.js

Close #862
2018-03-15 13:06:58 -07:00
8 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "0.5.2", "version": "0.5.3",
"name": "react-native-web-monorepo", "name": "react-native-web-monorepo",
"scripts": { "scripts": {
"clean": "del ./packages/*/dist", "clean": "del ./packages/*/dist",

View File

@@ -1,6 +1,6 @@
{ {
"name": "babel-plugin-react-native-web", "name": "babel-plugin-react-native-web",
"version": "0.5.2", "version": "0.5.3",
"description": "Babel plugin for React Native for Web", "description": "Babel plugin for React Native for Web",
"main": "index.js", "main": "index.js",
"devDependencies": { "devDependencies": {

View File

@@ -1,7 +1,7 @@
{ {
"private": true, "private": true,
"name": "benchmarks", "name": "benchmarks",
"version": "0.5.2", "version": "0.5.3",
"scripts": { "scripts": {
"build": "mkdir -p dist && cp -f index.html dist/index.html && webpack --config ./webpack.config.js", "build": "mkdir -p dist && cp -f index.html dist/index.html && webpack --config ./webpack.config.js",
"release": "yarn build && git checkout gh-pages && rm -rf ../../benchmarks && mv dist ../../benchmarks && git add -A && git commit -m \"Benchmarks deploy\" && git push origin gh-pages && git checkout -" "release": "yarn build && git checkout gh-pages && rm -rf ../../benchmarks && mv dist ../../benchmarks && git add -A && git commit -m \"Benchmarks deploy\" && git push origin gh-pages && git checkout -"
@@ -19,7 +19,7 @@
"react-dom": "^16.2.0", "react-dom": "^16.2.0",
"react-fela": "^7.0.1", "react-fela": "^7.0.1",
"react-jss": "^8.3.3", "react-jss": "^8.3.3",
"react-native-web": "0.5.2", "react-native-web": "0.5.3",
"reactxp": "^1.0.0", "reactxp": "^1.0.0",
"styled-components": "^3.2.0", "styled-components": "^3.2.0",
"styled-jsx": "^2.2.5", "styled-jsx": "^2.2.5",
@@ -27,7 +27,7 @@
"styletron-react": "^4.0.0" "styletron-react": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"babel-plugin-react-native-web": "0.5.2", "babel-plugin-react-native-web": "0.5.3",
"css-loader": "^0.28.10", "css-loader": "^0.28.10",
"style-loader": "^0.20.2", "style-loader": "^0.20.2",
"webpack": "^3.10.0", "webpack": "^3.10.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-web", "name": "react-native-web",
"version": "0.5.2", "version": "0.5.3",
"description": "React Native for Web", "description": "React Native for Web",
"main": "dist/index.js", "main": "dist/index.js",
"files": [ "files": [

View File

@@ -10,7 +10,7 @@ exports[`components/Picker prop "children" items 1`] = `
exports[`components/Picker prop "children" renders items 1`] = ` exports[`components/Picker prop "children" renders items 1`] = `
<select <select
className="rn-fontFamily-poiln3 rn-fontSize-7cikom rn-marginTop-1mnahxq rn-marginRight-61z16t rn-marginBottom-p1pxzi rn-marginLeft-11wrixw" className="rn-fontFamily-10u92zi rn-fontSize-7cikom rn-marginTop-1mnahxq rn-marginRight-61z16t rn-marginBottom-p1pxzi rn-marginLeft-11wrixw"
onChange={[Function]} onChange={[Function]}
> >
<PickerItem <PickerItem

View File

@@ -82,7 +82,7 @@ class Picker extends Component<Props> {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
initial: { initial: {
fontFamily: 'inherit', fontFamily: 'System',
fontSize: 'inherit', fontSize: 'inherit',
margin: 0 margin: 0
} }

View File

@@ -231,7 +231,7 @@ module.exports = {
// wish to include additional optimizations. // wish to include additional optimizations.
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'), 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
__DEV__: process.env.NODE_ENV === 'production' || true __DEV__: process.env.NODE_ENV !== 'production' || true
}) })
], ],

View File

@@ -1,7 +1,7 @@
{ {
"private": true, "private": true,
"name": "website", "name": "website",
"version": "0.5.2", "version": "0.5.3",
"scripts": { "scripts": {
"build": "build-storybook -o ./dist -c ./storybook/.storybook", "build": "build-storybook -o ./dist -c ./storybook/.storybook",
"start": "start-storybook -p 9001 -c ./storybook/.storybook", "start": "start-storybook -p 9001 -c ./storybook/.storybook",
@@ -12,10 +12,10 @@
"@storybook/react": "^3.3.6", "@storybook/react": "^3.3.6",
"react": "^16.2.0", "react": "^16.2.0",
"react-dom": "^16.2.0", "react-dom": "^16.2.0",
"react-native-web": "0.5.2" "react-native-web": "0.5.3"
}, },
"devDependencies": { "devDependencies": {
"babel-plugin-react-native-web": "0.5.2", "babel-plugin-react-native-web": "0.5.3",
"url-loader": "^0.6.2", "url-loader": "^0.6.2",
"webpack": "^3.10.0" "webpack": "^3.10.0"
} }