upgrade with-three-js to Expo SDK 29

This commit is contained in:
Caleb Nance
2018-07-29 14:56:18 -04:00
parent 7a553995ba
commit dd8b6ea29e
4 changed files with 278 additions and 64 deletions

View File

@@ -1,8 +1,8 @@
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import Expo from 'expo';
import ExpoTHREE from 'expo-three';
import React from 'react';
import * as THREE from 'three';
import { StyleSheet, Text, View } from 'react-native';
console.disableYellowBox = true;

View File

@@ -2,17 +2,23 @@
"expo": {
"name": "with-three-js",
"description": "Example using Three JS",
"slug": "ice",
"privacy": "public",
"sdkVersion": "27.0.0",
"platforms": ["ios", "android"],
"slug": "with-three-js",
"sdkVersion": "29.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#ececec",
"privacy": "public",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ECECEC"
"backgroundColor": "#ececec"
},
"packagerOpts": {
"assetExts": [
"ttf",
"mp4"
]
},
"ios": {
"supportsTablet": true

View File

@@ -1,6 +1,8 @@
{
"requires": true,
"name": "with-three-js",
"version": "0.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.0.0-beta.46",
@@ -661,6 +663,18 @@
"react-native-vector-icons": "4.5.0"
}
},
"@expo/websql": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@expo/websql/-/websql-1.0.1.tgz",
"integrity": "sha1-//DPnBuqH3D54dZYt8OaQg2bEKk=",
"requires": {
"argsarray": "0.0.1",
"immediate": "3.2.3",
"noop-fn": "1.0.0",
"pouchdb-collections": "1.0.1",
"tiny-queue": "0.2.1"
}
},
"absolute-path": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/absolute-path/-/absolute-path-0.0.0.tgz",
@@ -2557,28 +2571,76 @@
}
},
"expo": {
"version": "27.0.1",
"resolved": "https://registry.npmjs.org/expo/-/expo-27.0.1.tgz",
"integrity": "sha1-VWo3EhKC9FCbCCHY1OfIqNoMEdg=",
"version": "29.0.0",
"resolved": "https://registry.npmjs.org/expo/-/expo-29.0.0.tgz",
"integrity": "sha512-qeOEnOlEHVizYb8N3t/ypevBfgRqvXOhWhpzb6/8iY7gKaGpvWztO39xXct7jlak/b2ur/mrfoh7c8lyjMrXQQ==",
"requires": {
"@expo/vector-icons": "6.3.1",
"@expo/websql": "1.0.1",
"babel-preset-expo": "4.0.0",
"expo-asset": "1.0.0",
"expo-camera": "1.0.0",
"expo-constants": "1.0.0",
"expo-core": "1.0.0",
"expo-face-detector": "1.0.0",
"expo-file-system": "1.0.0",
"expo-gl": "1.0.0",
"expo-permissions": "1.0.0",
"expo-react-native-adapter": "1.0.0",
"expo-sensors": "1.0.0",
"expo-sms": "1.0.0",
"fbemitter": "2.1.1",
"invariant": "2.2.4",
"lodash.map": "4.6.0",
"lodash.omit": "4.5.0",
"lodash.zipobject": "4.1.3",
"lottie-react-native": "2.3.2",
"lottie-react-native": "2.5.0",
"md5-file": "3.2.3",
"pretty-format": "21.2.1",
"prop-types": "15.6.1",
"qs": "6.5.2",
"react-native-branch": "2.0.0-beta.3",
"react-native-gesture-handler": "1.0.0-alpha.41",
"react-native-branch": "2.2.5",
"react-native-gesture-handler": "1.0.6",
"react-native-maps": "0.21.0",
"react-native-reanimated": "1.0.0-alpha.3",
"react-native-svg": "6.2.2",
"uuid-js": "0.7.5",
"websql": "https://github.com/expo/node-websql/archive/18.0.0.tar.gz"
"uuid-js": "0.7.5"
},
"dependencies": {
"lottie-react-native": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/lottie-react-native/-/lottie-react-native-2.5.0.tgz",
"integrity": "sha1-BxG4s0vsd0FVLCS3Hv09TKs0dXE=",
"requires": {
"invariant": "2.2.4",
"lottie-ios": "2.5.0",
"prop-types": "15.6.1",
"react-native-safe-module": "1.2.0"
}
},
"react-native-branch": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/react-native-branch/-/react-native-branch-2.2.5.tgz",
"integrity": "sha1-QHTdY7SXPmOX2c5Q6XtXx3pRjp0="
},
"react-native-gesture-handler": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-1.0.6.tgz",
"integrity": "sha512-0XUumPI8i4zoPK0fp2sJ4Ks+mPGtFxB46b5mUzxd+DmZpXJyuA/m9qVcqm3eNAHCybRmqU7lpojRDpDAg2hFFQ==",
"requires": {
"hoist-non-react-statics": "2.5.0",
"invariant": "2.2.4",
"prop-types": "15.6.1"
}
}
}
},
"expo-asset": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-1.0.0.tgz",
"integrity": "sha512-7VfgKHA8p/JDbFo+h8AJcWF2ZcTVsGso8nXMwfJ5BxUvllJ99kvK7/xzcWbEAQTYIyxlsp16js9iufdsx1WBRA==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-asset-utils": {
@@ -2586,6 +2648,176 @@
"resolved": "https://registry.npmjs.org/expo-asset-utils/-/expo-asset-utils-0.0.3.tgz",
"integrity": "sha512-HHqtcOs6ShLR6+sfGTZufRp2TFAZUGb3ithcERIzo61P4gZkMLSi/va4MxxYOEVuVgsvzyvcT5Zzil9QR4Bw/Q=="
},
"expo-camera": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-camera/-/expo-camera-1.0.0.tgz",
"integrity": "sha512-ayP6Qp06tflQ5ng6VrRczSQXUzlLJ9Qr90fAw6BJDeGtHZleEV6ST+WP73+CIHTl+kCoWyNe6HIe2cVsQCdyXg==",
"requires": {
"expo-camera-interface": "1.0.0",
"expo-core": "1.0.0",
"expo-face-detector-interface": "1.0.0",
"expo-file-system-interface": "1.0.0",
"expo-permissions-interface": "1.0.0",
"lodash.mapvalues": "4.6.0",
"prop-types": "15.6.1"
}
},
"expo-camera-interface": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-camera-interface/-/expo-camera-interface-1.0.0.tgz",
"integrity": "sha512-vS/IanRAuLHyeh7ckeCttDKoAmID6WQH7tXQ6sl8yMg+JSVHTUD6Sq2X2RYitGZn8vvrq5UCPVLDDKJQz8QXpQ==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-1.0.0.tgz",
"integrity": "sha512-bpQoq1RVF/Re/Y5l5o7EO1P8e2WEUsk+AVpITud0RdkrIJkB2WyaMkasfI4dFlElkvqetG60t29kT32T1wLLTg==",
"requires": {
"expo-constants-interface": "1.0.0",
"expo-core": "1.0.0"
}
},
"expo-constants-interface": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-constants-interface/-/expo-constants-interface-1.0.0.tgz",
"integrity": "sha512-L3W/rSDR7fCqZEcA915dPbZ9XPBdx1GI5Frf+0Nl3qhARzMg+lmDQuOPh5GY6+cZeY7o+vO5QHtCvzp3+GTiLA==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-core": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-core/-/expo-core-1.0.0.tgz",
"integrity": "sha512-uBI7taW9cROu2dXymaLEBrnacuqRH9tyRV3Kjid0w4bz5FiseqBsKiRKlKlbpPZyxRdb+L1ZTgdkYrjaKCfT8g=="
},
"expo-face-detector": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-face-detector/-/expo-face-detector-1.0.0.tgz",
"integrity": "sha512-wOqwgThhBMt2pG9b03BR89Wbq9BeJ70PyxC+Wjpj46E8THA13FMy1Sy+RDYDZQKtZfF0tz0Iwtv2Wt9/clsEzA==",
"requires": {
"expo-core": "1.0.0",
"expo-face-detector-interface": "1.0.0",
"expo-permissions-interface": "1.0.0"
}
},
"expo-face-detector-interface": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-face-detector-interface/-/expo-face-detector-interface-1.0.0.tgz",
"integrity": "sha512-oTO7oV4zHzFRBBO+Wmf1uKKrKrkAsiT8DcW5IIYj1OYs/n/kN5qDQx/D73/dnkfAPSIRQQLw2B8BCGRZ5NNoLA==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-file-system": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-1.0.0.tgz",
"integrity": "sha512-tuq2yCLFrVyJ5RwYDmrjLjIjM6ai3Va47i1iAShYtYCW+ayrKR0iSPYCQvTPH8dlNmlONBZKaDiPqF8xAfJ4+A==",
"requires": {
"expo-core": "1.0.0",
"expo-file-system-interface": "1.0.0",
"uuid-js": "0.7.5"
}
},
"expo-file-system-interface": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-file-system-interface/-/expo-file-system-interface-1.0.0.tgz",
"integrity": "sha512-2YRgF/6ZcmVtaFTsmVvbVf16Np6i7+wUxCLdGuJOZ3ScneTcamKhbmzSr6PIbHur7/IcoUShDORd7ypa+P0ebw==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-gl": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-gl/-/expo-gl-1.0.0.tgz",
"integrity": "sha512-ocSwUvIVjJqh5tSElzc0LLr3ZK0Ry39mpS0T9WQk8TgQSewg5AvWyAI90c2zbOC5jcQNedoKUhkl5SFXBA/7SQ==",
"requires": {
"expo-camera-interface": "1.0.0",
"expo-core": "1.0.0",
"expo-file-system-interface": "1.0.0",
"expo-gl-cpp": "1.0.0",
"react": "16.4.1"
},
"dependencies": {
"react": {
"version": "16.4.1",
"resolved": "https://registry.npmjs.org/react/-/react-16.4.1.tgz",
"integrity": "sha512-3GEs0giKp6E0Oh/Y9ZC60CmYgUPnp7voH9fbjWsvXtYFb4EWtgQub0ADSq0sJR0BbHc4FThLLtzlcFaFXIorwg==",
"requires": {
"fbjs": "0.8.16",
"loose-envify": "1.3.1",
"object-assign": "4.1.1",
"prop-types": "15.6.1"
}
}
}
},
"expo-gl-cpp": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-gl-cpp/-/expo-gl-cpp-1.0.0.tgz",
"integrity": "sha512-ku/BrUWHmDfVOXgJUaIAZQqBinwPrnxNl0M7knLdYYxPnjapuPeWM4tFtvNkbIgvzYU7cr87leOv316+a8GfHQ==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-permissions": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-permissions/-/expo-permissions-1.0.0.tgz",
"integrity": "sha512-JYfKqIg23Xl/LRwob102UqFiTOBblfLGQSncnr2nyL596zdCNEWuRYvQvvXp0M6+uSX1V1E3WyVbtYJ4qUy+bw==",
"requires": {
"expo-core": "1.0.0",
"expo-permissions-interface": "1.0.0"
}
},
"expo-permissions-interface": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-permissions-interface/-/expo-permissions-interface-1.0.0.tgz",
"integrity": "sha512-jyCFGJ4ws3ApKjSQoDYvR78HFGpCUJBq9e0c9hYMhB8EkF+t2TBBMaKZnlIDpf7XpORjYM+4ULh8U4NWJB4Ajw==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-react-native-adapter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-react-native-adapter/-/expo-react-native-adapter-1.0.0.tgz",
"integrity": "sha512-bw/Ml6nEKdySPQz6VefQXJny1Vx0m2m5RDLsKM+TuHp6GybPgDOE0Wh58QL82uRv7i+/3HSW0itodA/kXms1cA==",
"requires": {
"expo-core": "1.0.0",
"expo-permissions-interface": "1.0.0",
"lodash.omit": "4.5.0",
"lodash.pick": "4.4.0",
"prop-types": "15.6.1",
"react": "16.3.1"
}
},
"expo-sensors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-sensors/-/expo-sensors-1.0.0.tgz",
"integrity": "sha512-GiEUtCfnA0cylfhQ/iw4R3fDAZo4UhiRepYrRHm626VTvixWufg/Rw791Nh987DaRX7iGraz7wxTCKuunfIkcQ==",
"requires": {
"expo-core": "1.0.0",
"expo-sensors-interface": "1.0.0",
"invariant": "2.2.4"
}
},
"expo-sensors-interface": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-sensors-interface/-/expo-sensors-interface-1.0.0.tgz",
"integrity": "sha512-z9NwMU4R7EZ2jQ7uDt/929AXWRcrRfhQm6Cur5tNmRvjxBCKf2AnMTUwZtJ+4J8S47aJqXpdYZw0+xieWWxSnA==",
"requires": {
"expo-core": "1.0.0"
}
},
"expo-sms": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/expo-sms/-/expo-sms-1.0.0.tgz",
"integrity": "sha512-P1l4IRkOvIa/H3hmv1WMQsbwYHHYXbszcgYKCIy+2dEARxNWKrUCe7GtrkL5salUWPMYM/6XYBzTN18eSadoNw==",
"requires": {
"expo-core": "1.0.0",
"expo-permissions-interface": "1.0.0"
}
},
"expo-three": {
"version": "2.2.2-alpha.1",
"resolved": "https://registry.npmjs.org/expo-three/-/expo-three-2.2.2-alpha.1.tgz",
@@ -3903,6 +4135,11 @@
"resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz",
"integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM="
},
"lodash.mapvalues": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.mapvalues/-/lodash.mapvalues-4.6.0.tgz",
"integrity": "sha1-G6+lAF3p3W9PJmaMMMo3IwzJaJw="
},
"lodash.omit": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz",
@@ -3923,6 +4160,11 @@
"resolved": "https://registry.npmjs.org/lodash.padstart/-/lodash.padstart-4.6.1.tgz",
"integrity": "sha1-0uPuv/DZ05rVD1y9G1KnvOa7YRs="
},
"lodash.pick": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz",
"integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM="
},
"lodash.throttle": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
@@ -3946,17 +4188,6 @@
"resolved": "https://registry.npmjs.org/lottie-ios/-/lottie-ios-2.5.0.tgz",
"integrity": "sha1-VcgI54XUppM7DBCzlVMLFwmLBd4="
},
"lottie-react-native": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/lottie-react-native/-/lottie-react-native-2.3.2.tgz",
"integrity": "sha1-ybdR4cEhcIzW9Q93cMtaoOEEKik=",
"requires": {
"invariant": "2.2.4",
"lottie-ios": "2.5.0",
"prop-types": "15.6.1",
"react-native-safe-module": "1.2.0"
}
},
"lru-cache": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz",
@@ -4981,8 +5212,8 @@
}
},
"react-native": {
"version": "https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz",
"integrity": "sha1-E4UL4z84sN3HJXpKMBCaQcYwWnY=",
"version": "https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz",
"integrity": "sha512-ee8TzLilymtb/IdER+uh6YwhaOfOlFRPm6K7gniFohrTJoC9HNnRBF0qZC20gO23tRhjSKsBW7kgj0TggigJTA==",
"requires": {
"absolute-path": "0.0.0",
"art": "0.10.2",
@@ -5038,7 +5269,6 @@
"serve-static": "1.13.2",
"shell-quote": "1.6.1",
"stacktrace-parser": "0.1.4",
"whatwg-fetch": "1.1.1",
"ws": "1.1.5",
"xcode": "0.9.3",
"xmldoc": "0.4.0",
@@ -5050,11 +5280,6 @@
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-4.3.1.tgz",
"integrity": "sha1-UwvlxCs8BbNkFKeipDN6qArNDo0="
},
"whatwg-fetch": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-1.1.1.tgz",
"integrity": "sha1-rDydOfMgxtzlM5lp0FTvQ90zMxk="
},
"yargs": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-9.0.1.tgz",
@@ -5077,26 +5302,11 @@
}
}
},
"react-native-branch": {
"version": "2.0.0-beta.3",
"resolved": "https://registry.npmjs.org/react-native-branch/-/react-native-branch-2.0.0-beta.3.tgz",
"integrity": "sha1-IWevhrvJ+WS9Rb1fN2hOW1SWXjI="
},
"react-native-console-time-polyfill": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/react-native-console-time-polyfill/-/react-native-console-time-polyfill-0.0.6.tgz",
"integrity": "sha1-eCPYb+g0OcdEgNGxJKkrGnhXGIk="
},
"react-native-gesture-handler": {
"version": "1.0.0-alpha.41",
"resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.41.tgz",
"integrity": "sha512-ImWXxs0c4d1i0BiKJJ28G+/cXeu98qgHlU50OJJ4+alYBrq4taKmmYPSH7GzUK0vJD/4/2xcT08ysby6IsMmtg==",
"requires": {
"hoist-non-react-statics": "2.5.0",
"invariant": "2.2.4",
"prop-types": "15.6.1"
}
},
"react-native-maps": {
"version": "0.21.0",
"resolved": "https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.21.0.tgz",
@@ -5152,6 +5362,11 @@
}
}
},
"react-native-reanimated": {
"version": "1.0.0-alpha.3",
"resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-1.0.0-alpha.3.tgz",
"integrity": "sha512-OG7Wydk54SH8ibpY1buwQl7WIuJL2MS6a1czOBZdfXnCgyx9WvnXspsAqiAH16c9N8doccNcwKQxIwgOuDiiKw=="
},
"react-native-safe-module": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/react-native-safe-module/-/react-native-safe-module-1.2.0.tgz",
@@ -6533,17 +6748,6 @@
"minimist": "1.2.0"
}
},
"websql": {
"version": "https://github.com/expo/node-websql/archive/18.0.0.tar.gz",
"integrity": "sha1-ObEqCLAYBJXeFBLYpkpSniGtVU4=",
"requires": {
"argsarray": "0.0.1",
"immediate": "3.2.3",
"noop-fn": "1.0.0",
"pouchdb-collections": "1.0.1",
"tiny-queue": "0.2.1"
}
},
"whatwg-fetch": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",

View File

@@ -1,11 +1,15 @@
{
"main": "node_modules/expo/AppEntry.js",
"name": "with-three-js",
"version": "0.0.0",
"description": "Hello Expo!",
"author": "support@expo.io",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"dependencies": {
"expo-three": "^2.2.2-alpha.1",
"expo": "^27.0.1",
"expo": "^29.0.0",
"react": "16.3.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz",
"react-native": "https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz",
"three": "^0.89.0"
}
}