Commit Graph
22 Commits
Author SHA1 Message Date
Mike Grabowski 78f3de0abc [0.56.1] Bump version numbers 2018-09-10 11:49:48 +02:00
Mike Grabowski 3c6a916536 [0.56.0] Bump version numbers 2018-07-04 16:51:44 +02:00
Hector Ramos 93379b696b [0.56.0-rc.5] Bump version numbers 2018-07-03 17:26:24 -07:00
Hector Ramos ba9d41d645 Revert "[0.56.0-rc.5] Bump version numbers"
This reverts commit 30476703a8.
2018-07-03 17:24:51 -07:00
Hector Ramos 30476703a8 [0.56.0-rc.5] Bump version numbers 2018-07-03 17:14:07 -07:00
Mike Grabowski b4b0610167 [0.56.0-rc.4] Bump version numbers 2018-06-27 18:25:44 +02:00
Hector Ramos ce739139f3 [0.56.0-rc.3] Bump version numbers 2018-06-22 09:39:25 -07:00
Hector Ramos 3d946718c5 Revert "[0.56.0-rc.3] Bump version numbers"
This reverts commit 21d0eedd27.
2018-06-22 09:37:06 -07:00
Mike Grabowski 21d0eedd27 [0.56.0-rc.3] Bump version numbers 2018-06-21 18:19:16 +02:00
Hector Ramos d9d324073f [0.56.0-rc.2] Bump version numbers 2018-06-15 10:18:02 -07:00
Hector Ramos 053f580a1d Revert "[0.56.0-rc.2] Bump version numbers"
This reverts commit d91c9d97b8.
2018-06-15 10:17:38 -07:00
Hector Ramos d91c9d97b8 [0.56.0-rc.2] Bump version numbers 2018-06-15 10:15:41 -07:00
Hector Ramos 9821241b79 Revert "[0.56.0-rc.2] Bump version numbers"
This reverts commit 541c6e9783.
2018-06-15 10:12:55 -07:00
Hector Ramos 541c6e9783 [0.56.0-rc.2] Bump version numbers 2018-06-15 10:11:38 -07:00
Hector Ramos cf71637a65 Revert "[0.56.0-rc.2] Bump version numbers"
This reverts commit 55eef9b58f.
2018-06-15 10:11:25 -07:00
Hector Ramos 55eef9b58f [0.56.0-rc.2] Bump version numbers 2018-06-14 17:35:44 -07:00
Hector Ramos e07bbbe24d [0.56.0-rc.1] Bump version numbers 2018-06-13 13:03:08 -07:00
Hector Ramos d642e60291 [0.56.0-rc] Bump version numbers 2018-06-11 09:46:55 -07:00
Eli WhiteandFacebook Github Bot d01ab66b47 Prettier React Native Libraries
Reviewed By: sahrens

Differential Revision: D7961488

fbshipit-source-id: 05f9b8b0b91ae77f9040a5321ccc18f7c3c1ce9a
2018-05-10 19:10:38 -07:00
Rubén NorteandFacebook Github Bot d5e9e55fa3 Remove @providesModule from all modules
Summary:
This PR removes the need for having the `providesModule` tags in all the modules in the repository.

It configures Flow, Jest and Metro to get the module names from the filenames (`Libraries/Animated/src/nodes/AnimatedInterpolation.js` => `AnimatedInterpolation`)

* Checked the Flow configuration by running flow on the project root (no errors):

```
yarn flow
```

* Checked the Jest configuration by running the tests with a clean cache:

```
yarn jest --clearCache && yarn test
```

* Checked the Metro configuration by starting the server with a clean cache and requesting some bundles:

```
yarn run start --reset-cache
curl 'localhost:8081/IntegrationTests/AccessibilityManagerTest.bundle?platform=android'
curl 'localhost:8081/Libraries/Alert/Alert.bundle?platform=ios'
```

[INTERNAL] [FEATURE] [All] - Removed providesModule from all modules and configured tools.
Closes https://github.com/facebook/react-native/pull/18995

Reviewed By: mjesun

Differential Revision: D7729509

Pulled By: rubennorte

fbshipit-source-id: 892f760a05ce1fddb088ff0cd2e97e521fb8e825
2018-04-25 07:37:10 -07:00
Sophie AlpertandFacebook Github Bot 1490ab12ef Update license headers for MIT license
Summary:
Includes React Native and its dependencies Fresco, Metro, and Yoga. Excludes samples/examples/docs.

find: ^(?:( *)|( *(?:[\*~#]|::))( )? *)?Copyright (?:\(c\) )?(\d{4})\b.+Facebook[\s\S]+?BSD[\s\S]+?(?:this source tree|the same directory)\.$
replace: $1$2$3Copyright (c) $4-present, Facebook, Inc.\n$2\n$1$2$3This source code is licensed under the MIT license found in the\n$1$2$3LICENSE file in the root directory of this source tree.

Reviewed By: TheSavior, yungsters

Differential Revision: D7007050

fbshipit-source-id: 37dd6bf0ffec0923bfc99c260bb330683f35553e
2018-02-16 18:31:53 -08:00
Janic DuplessisandFacebook Github Bot 1af645b2fd Validate that JS and Native code versions match for RN releases
Summary:
Basic implementation of the proposal in #15271

Note that this should not affect facebook internally since they are not using OSS releases.

Points to consider:
- How strict should the version match be, right now I just match exact versions.
- Wasn't able to use haste for ReactNativeVersion because I was getting duplicate module provider caused by the template file in scripts/versiontemplates. I tried adding the scripts folder to modulePathIgnorePatterns in package.json but that didn't help.
- Redscreen vs. warning, I think warning is useless because if the app crashes you won't have time to see the warning.
- Should the check and native modules be __DEV__ only?

**Test plan**
Tested that it works when version match and that it redscreens when versions don't before getting other errors on Android and iOS.
Closes https://github.com/facebook/react-native/pull/15518

Differential Revision: D5813551

Pulled By: hramos

fbshipit-source-id: 901757e25724b0f22bf39de172b56309d0dd5a95
2017-09-27 18:31:15 -07:00