Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Prep for 2.0.0 release
Browse files Browse the repository at this point in the history
Summary: Update package versions, as well as dependencies for new projects.

Reviewed By: mikearmstrong001

Differential Revision: D5949818

fbshipit-source-id: 71cb9c6
  • Loading branch information
andrewimm authored and facebook-github-bot committed Oct 4, 2017
1 parent cb32d97 commit 91b82d4
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 25 deletions.
2 changes: 1 addition & 1 deletion OVRUI/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "ovrui",
"version": "1.3.0",
"version": "2.0.0",
"description": "UI toolkit for building WebVR applications",
"license": "BSD-3-Clause",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions ReactVR/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "react-vr-web",
"version": "1.3.0",
"version": "2.0.0",
"description": "A framework for building VR applications with React",
"license": "BSD-3-Clause",
"repository": {
Expand All @@ -18,11 +18,11 @@
"README.md"
],
"peerDependencies": {
"react": "16.0.0-alpha.12",
"react-native": "~0.45.0"
"react": "16.0.0",
"react-native": "~0.48.0"
},
"dependencies": {
"ovrui": "~1.3.0",
"ovrui": "~2.0.0",
"three-gltf2-loader": "^1.0.0"
}
}
1 change: 1 addition & 0 deletions jest-preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"modulePathIgnorePatterns": [
"<rootDir>/node_modules/react-native/Libraries/react-native/",
"<rootDir>/node_modules/react-native/node_modules/fbjs/",
"<rootDir>/node_modules/react-native/packager/"
],
"transformIgnorePatterns": [
Expand Down
25 changes: 25 additions & 0 deletions jest/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ const mockNativeModules = {
pause: jest.fn(),
stop: jest.fn(),
},
AsyncLocalStorage: {
multiGet: jest.fn((keys, callback) => process.nextTick(() => callback(null, []))),
multiSet: jest.fn((entries, callback) => process.nextTick(() => callback(null))),
multiRemove: jest.fn((keys, callback) => process.nextTick(() => callback(null))),
multiMerge: jest.fn((entries, callback) => process.nextTick(() => callback(null))),
clear: jest.fn(callback => process.nextTick(() => callback(null))),
getAllKeys: jest.fn(callback => process.nextTick(() => callback(null, []))),
},
BlobModule: {
BLOB_URI_SCHEME: 'content',
BLOB_URI_HOST: null,
Expand Down Expand Up @@ -67,6 +75,23 @@ const mockNativeModules = {
reload: jest.fn(),
replace: jest.fn(),
},
Timing: {
createTimer: jest.fn(),
deleteTimer: jest.fn(),
},
UIManager: {
blur: jest.fn(),
createView: jest.fn(),
dispatchViewManagerCommand: jest.fn(),
focus: jest.fn(),
setChildren: jest.fn(),
manageChildren: jest.fn(),
updateView: jest.fn(),
removeSubviewsFromContainerWithID: jest.fn(),
replaceExistingNonRootView: jest.fn(),
customBubblingEventTypes: {},
customDirectEventTypes: {},
},
VideoModule: {
addHandle: jest.fn(),
setUrl: jest.fn(),
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "react-vr",
"version": "1.3.0",
"version": "2.0.0",
"description": "A framework for building VR applications with React",
"license": "BSD-3-Clause",
"repository": {
Expand All @@ -21,7 +21,7 @@
"scripts"
],
"peerDependencies": {
"react": "16.0.0-rc.2",
"react": "16.0.0",
"react-native": "~0.48.0"
},
"devDependencies": {
Expand All @@ -40,7 +40,7 @@
"jest": "^17.0.3",
"jsdom": "^9.10.0",
"prettier": "^1.0.0",
"react": "16.0.0-rc.2",
"react": "16.0.0",
"react-native": "~0.48.0",
"three": "^0.87.0",
"three-gltf2-loader": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion react-vr-cli/generators/__tests__/index.vr.generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

module.exports = config => ({
filename: 'client.js',
filename: 'index-test.js',
contents: `import 'react-native';
import 'react-vr';
import React from 'react';
Expand Down
16 changes: 8 additions & 8 deletions react-vr-cli/generators/package.json.generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ module.exports = config => ({
"test": "jest"
},
"dependencies": {
"ovrui": "~1.3.0",
"react": "16.0.0-alpha.12",
"react-native": "~0.45.0",
"three": "^0.85.2",
"react-vr": "~1.3.0",
"react-vr-web": "~1.3.0"
"ovrui": "~2.0.0",
"react": "16.0.0",
"react-native": "~0.48.0",
"three": "^0.87.0",
"react-vr": "~2.0.0",
"react-vr-web": "~2.0.0"
},
"devDependencies": {
"babel-jest": "^19.0.0",
"babel-preset-react-native": "^1.9.1",
"jest": "^19.0.2",
"react-devtools": "^2.1.3",
"react-test-renderer": "~15.4.1",
"react-devtools": "^2.5.2",
"react-test-renderer": "16.0.0",
"xopen": "1.0.0"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion react-vr-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-vr-cli",
"version": "0.3.3",
"version": "0.3.6",
"description": "The React VR CLI for project setup",
"license": "BSD-3-Clause",
"engines": {
Expand Down
34 changes: 27 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,18 @@ [email protected], fbjs@^0.8.9:
setimmediate "^1.0.5"
ua-parser-js "^0.7.9"

fbjs@^0.8.16:
version "0.8.16"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db"
dependencies:
core-js "^1.0.0"
isomorphic-fetch "^2.1.1"
loose-envify "^1.0.0"
object-assign "^4.1.0"
promise "^7.1.1"
setimmediate "^1.0.5"
ua-parser-js "^0.7.9"

figures@^1.3.5:
version "1.7.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"
Expand Down Expand Up @@ -3799,13 +3811,21 @@ promise@^7.1.1:
dependencies:
asap "~2.0.3"

prop-types@^15.5.10, prop-types@^15.5.6, prop-types@^15.5.8:
prop-types@^15.5.10, prop-types@^15.5.8:
version "15.5.10"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
dependencies:
fbjs "^0.8.9"
loose-envify "^1.3.1"

prop-types@^15.6.0:
version "15.6.0"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856"
dependencies:
fbjs "^0.8.16"
loose-envify "^1.3.1"
object-assign "^4.1.1"

prr@~0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a"
Expand Down Expand Up @@ -3979,14 +3999,14 @@ react-transform-hmr@^1.0.4:
global "^4.3.0"
react-proxy "^1.1.7"

[email protected]-rc.2:
version "16.0.0-rc.2"
resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-rc.2.tgz#1e55cc18fd9c56260f1d0ccf9caca6d3152dc83c"
[email protected]:
version "16.0.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.0.0.tgz#ce7df8f1941b036f02b2cca9dbd0cb1f0e855e2d"
dependencies:
fbjs "^0.8.9"
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.0"
prop-types "^15.5.6"
object-assign "^4.1.1"
prop-types "^15.6.0"

read-pkg-up@^1.0.1:
version "1.0.1"
Expand Down

0 comments on commit 91b82d4

Please sign in to comment.