Skip to content

Commit

Permalink
[Example] Clean up node_modules after installing
Browse files Browse the repository at this point in the history
Because Yarn copies these directories leading to @providesModule warnings
  • Loading branch information
cooperka committed Nov 15, 2017
1 parent a7c93e2 commit c843352
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 20 deletions.
1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"postinstall": "rm -rf node_modules/react-native-gifted-form/node_modules node_modules/react-native-gifted-form/example",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
Expand Down
78 changes: 58 additions & 20 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,12 @@ append-transform@^0.4.0:
dependencies:
default-require-extensions "^1.0.0"

apsl-react-native-button@~3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/apsl-react-native-button/-/apsl-react-native-button-3.0.2.tgz#705d5658b59b615cf0c3d62f0c40b80d1d2c9f81"
apsl-react-native-button@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/apsl-react-native-button/-/apsl-react-native-button-3.1.0.tgz#8fe6ebf734cc5f1006c6eb1d54370abc3c3833f5"
dependencies:
lodash.isequal "^4.1.4"
prop-types "^15.5.10"

are-we-there-yet@~1.1.2:
version "1.1.4"
Expand Down Expand Up @@ -1145,6 +1146,14 @@ [email protected]:
version "3.3.0"
resolved "https://registry.yarnpkg.com/crc/-/crc-3.3.0.tgz#fa622e1bc388bf257309082d6b65200ce67090ba"

create-react-class@^15.6.2:
version "15.6.2"
resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.2.tgz#cf1ed15f12aad7f14ef5f2dfe05e6c42f91ef02a"
dependencies:
fbjs "^0.8.9"
loose-envify "^1.3.1"
object-assign "^4.1.1"

cross-spawn@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982"
Expand Down Expand Up @@ -1433,6 +1442,18 @@ fbjs-scripts@^0.7.0:
semver "^5.1.0"
through2 "^2.0.0"

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"

fbjs@^0.8.9, fbjs@~0.8.9:
version "0.8.12"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04"
Expand Down Expand Up @@ -2583,10 +2604,14 @@ mkdirp@^0.5.1:
dependencies:
minimist "0.0.8"

[email protected], [email protected], moment@~2.18.1:
[email protected], [email protected]:
version "2.18.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"

moment@^2.19.1:
version "2.19.2"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.2.tgz#8a7f774c95a64550b4c7ebd496683908f9419dbe"

morgan@~1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.6.1.tgz#5fd818398c6819cba28a7cd6664f292fe1c0bbf2"
Expand Down Expand Up @@ -2701,7 +2726,7 @@ object-assign@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"

object-assign@^4.0.1, object-assign@^4.1.0:
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"

Expand Down Expand Up @@ -2905,6 +2930,14 @@ promise@^7.1.1:
dependencies:
asap "~2.0.3"

prop-types@^15.5.10, 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"

prop-types@^15.5.8:
version "15.5.10"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
Expand Down Expand Up @@ -2974,9 +3007,11 @@ react-devtools-core@^2.0.8:
shell-quote "^1.6.1"
ws "^2.0.3"

react-native-button@~1.8.2:
version "1.8.2"
resolved "https://registry.yarnpkg.com/react-native-button/-/react-native-button-1.8.2.tgz#49e5cadd22ee443adea52a85539d288aa2117ade"
react-native-button@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/react-native-button/-/react-native-button-2.1.0.tgz#a39e23292922afeea4f7be141dd43e18f1b51876"
dependencies:
prop-types "^15.5.10"

react-native-deprecated-custom-components@^0.1.0:
version "0.1.0"
Expand All @@ -2988,25 +3023,28 @@ react-native-deprecated-custom-components@^0.1.0:
rebound "^0.0.13"

"react-native-gifted-form@file:..":
version "0.0.14"
version "0.1.0"
dependencies:
apsl-react-native-button "~3.0.0"
moment "~2.18.1"
react-native-button "~1.8.2"
apsl-react-native-button "^3.1.0"
create-react-class "^15.6.2"
moment "^2.19.1"
prop-types "^15.6.0"
react-native-button "^2.1.0"
react-native-gifted-spinner "~0.1.0"
react-native-google-places-autocomplete "~1.2.0"
react-native-google-places-autocomplete "^1.3.6"
react-timer-mixin "~0.13.3"
validator "~7.1.0"
validator "^9.0.0"

react-native-gifted-spinner@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/react-native-gifted-spinner/-/react-native-gifted-spinner-0.1.0.tgz#2c76094fa0469c59e96dead270cd5bca5a55962a"

react-native-google-places-autocomplete@~1.2.0:
version "1.2.12"
resolved "https://registry.yarnpkg.com/react-native-google-places-autocomplete/-/react-native-google-places-autocomplete-1.2.12.tgz#714c731be35bfca190239d98cbc7e0d518b38d98"
react-native-google-places-autocomplete@^1.3.6:
version "1.3.6"
resolved "https://registry.yarnpkg.com/react-native-google-places-autocomplete/-/react-native-google-places-autocomplete-1.3.6.tgz#352ba0858f647c0c2caba448b6b6296984d8c7af"
dependencies:
lodash.debounce "^4.0.8"
prop-types "^15.5.10"
qs "^5.2.0"

[email protected]:
Expand Down Expand Up @@ -3769,9 +3807,9 @@ validate-npm-package-license@^3.0.1:
spdx-correct "~1.0.0"
spdx-expression-parse "~1.0.0"

validator@~7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/validator/-/validator-7.1.0.tgz#331695afc7e6d72f980bddd68aa296d6b3d6c8b6"
validator@^9.0.0:
version "9.1.1"
resolved "https://registry.yarnpkg.com/validator/-/validator-9.1.1.tgz#3bdd1065cbd28f9d96ac806dee01030d32fd97ef"

vary@~1.0.1:
version "1.0.1"
Expand Down

0 comments on commit c843352

Please sign in to comment.