Miguel Jimenez Esun
082f070c22
Upgrade Jest to 23.0.0-charlie.2
...
Reviewed By: jeanlauliac
Differential Revision: D8003994
fbshipit-source-id: 29dce0bac329e17499e86aa46e2e9015145e6e04
2018-05-15 06:27:56 -07:00
Panagiotis Vekris
2b9a8fdc30
v0.72.0 in xplat/js
...
Reviewed By: gabelevi
Differential Revision: D7956747
fbshipit-source-id: b1993de405c273b3cc1ed74f994e8e75bda0a985
2018-05-11 18:03:04 -07:00
Maël Nison
2af0396ffe
Bumps Jest to 23.0.0-charlie.1 [fbsource]
...
Differential Revision: D7859604
fbshipit-source-id: 6a2d74679f5eae3cb0102f461272b7cbd5716cba
2018-05-03 14:42:56 -07:00
Mayank Patke
86e1a086aa
v0.71.0 in xplat/js
...
Reviewed By: yungsters
Differential Revision: D7787035
fbshipit-source-id: 07defbbaa6fdc8f3016727fe6d6b1640efbf8ab6
2018-04-28 02:24:33 -07:00
Miguel Jimenez Esun
199a5503c5
Upgrade Jest to 23.0.0-beta.2
...
Reviewed By: davidaurelio
Differential Revision: D7789525
fbshipit-source-id: 0d0ebe30d66dbc5cd07c7517a513ac7be2c1e128
2018-04-27 20:33:49 -07:00
Peter van der Zee
5acc620f42
Remove babel-generator as a dep from metro and xplat
...
Reviewed By: rubennorte
Differential Revision: D7788529
fbshipit-source-id: 6459a7a9f53d9b813e8f2c925107726ed46b4a2b
2018-04-27 09:30:15 -07:00
Miguel Jimenez Esun
d9f857e966
Upgrade Jest to 23.0.0-beta.1
...
Reviewed By: cpojer
Differential Revision: D7722547
fbshipit-source-id: 711617c5c88fced5a38067a66fda86d2b281c0a2
2018-04-21 11:31:07 -07:00
Peter van der Zee
91568c8e5c
Upgrade Prettier to v1.12.1 on fbsource
...
Reviewed By: benjaffe, ryanmce, yungsters
Differential Revision: D7652946
fbshipit-source-id: 396d45c675e93f2298cd2920d927630c81867447
2018-04-19 03:04:48 -07:00
Avik Chaudhuri
c82456d8e0
@allow-large-files clean up xplat/js for flow 0.70.0
...
Reviewed By: fishythefish
Differential Revision: D7643236
fbshipit-source-id: 1d9a95f1e249ce3fdc552a4ca92a6c63b267dae4
2018-04-17 05:50:48 -07:00
glevi@fb.com
a15a515f37
Upgrade to Flow v0.69.0
...
Reviewed By: panagosg7
Differential Revision: D7437630
fbshipit-source-id: db9627afed89049c07a121296fbd52e2bfbf39bf
2018-03-29 06:42:18 -07:00
Miguel Jimenez Esun
a36195a0fd
Upgrade Jest to 23.0.0-alpha.4
...
Reviewed By: cpojer
Differential Revision: D7397960
fbshipit-source-id: 40984ff1ebfccdcba58f898abf8c52e2ed337221
2018-03-27 12:29:38 -07:00
Rafael Oleza
c5582d073d
Use npm to publish metro
...
Reviewed By: mjesun
Differential Revision: D7335671
fbshipit-source-id: a8007b514b9efd5ff1fdabf73f08cd423be84b43
2018-03-20 19:46:18 -07:00
Sam Goldman
8dd921a5d6
Upgrade to Flow v0.68.0
...
Reviewed By: gabelevi
Differential Revision: D7310349
fbshipit-source-id: 70d29815dd7912704aec8a015c970be3fafeeba3
2018-03-19 18:42:30 -07:00
Rafael Oleza
d09c99a6a0
Tweak metro publish script
...
Reviewed By: mjesun
Differential Revision: D7292432
fbshipit-source-id: 5dffcbac72e5ddb53af80e08b118025196e8ef28
2018-03-15 15:37:41 -07:00
Rafael Oleza
b8d20a089c
Fix the npm publishing workflow from circleCI
...
Reviewed By: mjesun
Differential Revision: D7229135
fbshipit-source-id: 7065d70c66c0cc1f4e8c18e93f5439e477c0d680
2018-03-12 03:53:40 -07:00
Nat Mote
ded999bc75
Upgrade to Flow v0.67
...
Reviewed By: gabelevi
Differential Revision: D7208080
fbshipit-source-id: 81380aca39b7a74646a4a44af1e5571bc5629b77
2018-03-09 20:38:38 -08:00
Rafael Oleza
d7165e5cbb
Add extraneous dependencies eslint plugin to metro
...
Reviewed By: davidaurelio
Differential Revision: D7084893
fbshipit-source-id: f1726fc189174bde8fc6f32ed6b0125764fe5093
2018-02-28 04:34:15 -08:00
Miguel Jimenez Esun
d83903f614
Add "PersistedMapStore" cache
...
Reviewed By: davidaurelio
Differential Revision: D7050539
fbshipit-source-id: 78191ae25c7b28869ebedb4b0f90300bac52c580
2018-02-25 16:35:45 -08:00
Burak Yigit Kaya
3d061b34f7
Upgrade Jest to 22.4.2
...
Reviewed By: mjesun
Differential Revision: D7060484
fbshipit-source-id: 91cc7b6d66a2bb99242c144e011eef4393f87e9e
2018-02-23 03:52:44 -08:00
Burak Yigit Kaya
a984719eef
Upgrade Jest to 22.4.0 to pull fixes for jest-haste-map
...
Reviewed By: mjesun
Differential Revision: D7041111
fbshipit-source-id: 6dbd0cbf7b62a54d0b5f16bbf2fa81332542f14e
2018-02-22 06:15:23 -08:00
Miguel Jimenez Esun
b958c400f0
Upgrade Jest to 22.3.0
...
Reviewed By: BYK
Differential Revision: D6978514
fbshipit-source-id: 3c6be52d38fedbe849dee6319bb2e4d7a97297c9
2018-02-15 03:38:41 -08:00
Andres Suarez
918e1a384c
Upgrade to ESLint v4.17.0 (plus update related deps)
...
Reviewed By: adamjernst
Differential Revision: D6956725
fbshipit-source-id: d223aa238dbb67190a1c244c7d482fc95005ccb0
2018-02-09 21:46:02 -08:00
Miguel Jimenez Esun
43a7caf90a
Remove metro-buck from blacklist
...
Reviewed By: cpojer
Differential Revision: D6882965
fbshipit-source-id: a86823f128c46d782d5a5076b56e6f99ceb68a48
2018-02-08 07:16:37 -08:00
Miguel Jimenez Esun
be528451f5
Upgrade Jest to v22.2.1
...
Reviewed By: rafeca
Differential Revision: D6923664
fbshipit-source-id: 0751ee6f0eb72193b0b22bb38d0398b3d83592a3
2018-02-07 08:45:48 -08:00
Miguel Jimenez Esun
e84f33bd9c
Update Jest to 22.1.2
...
Differential Revision: D6736758
fbshipit-source-id: fd6905e41abd1545b4847ad8ee6c12c7e5ce246e
2018-01-17 07:58:28 -08:00
Miguel Jimenez Esun
ca525f0e8d
Upgrade Jest to 22.0.5
...
Reviewed By: rafeca
Differential Revision: D6684639
fbshipit-source-id: 3fe7772451377619f93b48b1d7f79462a7a85ddc
2018-01-10 08:58:23 -08:00
Miguel Jimenez Esun
00ce127113
Use "runTestsByPath" option
...
Reviewed By: jeanlauliac
Differential Revision: D6675280
fbshipit-source-id: cee9020c63e0476c377f47c01545286007b37955
2018-01-09 04:18:07 -08:00
Miguel Jimenez Esun
57cfa19518
Update to Jest 22.0.0
...
Reviewed By: cpojer
Differential Revision: D6591693
fbshipit-source-id: ac3d6320445372a5694e7618ed52eb2f391d0bad
2017-12-18 05:20:08 -08:00
Rafael Oleza
5e65dfcf81
Consolidate eslint config + fix some issues
...
Reviewed By: davidaurelio
Differential Revision: D6519564
fbshipit-source-id: 0cd894e92dfde451f8ee69d6c7c3d4cbd73b83ea
2017-12-11 12:32:20 -08:00
Rafael Oleza
53290f5b9c
Update flow-bin version
...
Reviewed By: mjesun
Differential Revision: D6519545
fbshipit-source-id: da9f5dd6029d5bfea4b6c758ca3df9caa5c5fa35
2017-12-08 05:28:57 -08:00
Adam Ernst
9e4cfb4c93
Upgrade to 1.9.1
...
Reviewed By: vjeux
Differential Revision: D6497877
fbshipit-source-id: 3b88b96e375ddf1fbe039a0593569bbdde40a2dc
2017-12-06 17:31:38 -08:00
Miguel Jimenez Esun
3a377ee0a7
Upgrade Jest to "21.3.0-beta.13"
...
Reviewed By: rafeca
Differential Revision: D6497197
fbshipit-source-id: b816f4b02cf35abee4ce4098c30291b32656ed04
2017-12-06 09:04:51 -08:00
Christoph Nakazawa
6d756334a8
Fix CI
...
Reviewed By: rafeca
Differential Revision: D6368078
fbshipit-source-id: 04232ac3762ce4c9581c694a60c1372b2f495af0
2017-11-18 10:45:32 -08:00
Christoph Nakazawa
5fdef3bdb2
Update Flow and Lerna for the Metro repo
...
Summary: I'm working on getting CI to pass. As a first step, I'll upgrade the lerna setup to use Yarn's workspaces (when yarn is run from the Metro root) as well as upgrading Flow to the same version we use in xplat. I also copied over the Jest type definitions. This should fix all type errors for a start.
Reviewed By: davidaurelio
Differential Revision: D6361276
fbshipit-source-id: 4e8661b7d5fe4e3f6dd1e6923891bd2d23c9b4db
2017-11-18 01:10:15 -08:00
Miguel Jimenez Esun
91f724d69d
Update Jest to 21.3.0-beta.8
...
Reviewed By: davidaurelio
Differential Revision: D6221784
fbshipit-source-id: 189e895378635dd21d14d6fb1f93510a52c90742
2017-11-08 06:50:53 -08:00
Kathy Gray
9bb438ed1d
Upgrade babel generator
...
Reviewed By: arcanis
Differential Revision: D6008862
fbshipit-source-id: f8c0bc35d696453fd7cda82ce614d084cbc867e0
2017-10-12 07:52:01 -07:00
Christopher Chedeau
23c69f5362
Upgrade to 1.7.0
...
Reviewed By: fkgozali
Differential Revision: D5763293
fbshipit-source-id: 865ed74a78606cb54f274ebedae49de980dcab6f
2017-09-26 23:46:09 -07:00
Miguel Jimenez Esun
467fa563fe
Migrate tests away from "jsdom" environment
...
Reviewed By: leebyron
Differential Revision: D5748304
fbshipit-source-id: c66df45f1f35333f994c41eb8ff4cfccc1bb04d4
2017-09-11 09:52:43 -07:00
Miguel Jimenez Esun
d4a93eb2fa
Update Jest to v21
...
Reviewed By: cpojer
Differential Revision: D5765333
fbshipit-source-id: 94ea448c4380fdc68f42f84eb3963322ea18ec70
2017-09-05 05:25:02 -07:00
Andres Suarez
89cd3a6619
Update to eslint-plugin-react@7.2.1
...
Reviewed By: davidaurelio
Differential Revision: D5657026
fbshipit-source-id: 2e3f6bc21495e3af45f0e9ee1745cb2809b0fa7c
2017-08-18 09:32:10 -07:00
Jean Lauliac
e032e6621f
metro-bundler: upgrade all jest refs to delta.4
...
Reviewed By: mjesun
Differential Revision: D5503722
fbshipit-source-id: ca5d1e684e6b909804ae2be8c2055439dda611f5
2017-07-28 13:02:53 -07:00
Jean Lauliac
6fd25bb98a
metro-bundler: fix test command
...
Reviewed By: cpojer
Differential Revision: D5452722
fbshipit-source-id: d0253150555bfbc1cbf5ef0331767855bc37d517
2017-07-19 10:21:08 -07:00
Jean Lauliac
d23a665647
Revert "fix the test command"
...
This reverts commit 8c716f0029
.
2017-07-19 17:31:41 +01:00
Jean Lauliac
8c716f0029
fix the test command
2017-07-19 15:38:33 +01:00
Jean Lauliac
4399621d36
metro-bundler: upgrade jest to 20.1
...
Summary: This put it on par with the version we use on other projects. This new version breaks assumptions about the way Promise/ticks/timers use to work, and I was not able to make it work properly synchronously. Since it's fragile anyway (because rely on Promise and feature internals), I propose the switch to async as done in this changeset. If `res.end` is not called, tests will just timeout instead.
Reviewed By: cpojer
Differential Revision: D5423823
fbshipit-source-id: 015e808a2cf2b8297a36b16feeb811a6e745a835
2017-07-14 08:11:09 -07:00
Jean Lauliac
e3a9e82b69
metro-bundler: remove image-size
...
Summary:
It appears this is not needed to build or anything, only for metro-bundler itself.
Closes https://github.com/facebook/metro-bundler/issues/20 .
Reviewed By: cpojer
Differential Revision: D5370513
fbshipit-source-id: 563b5716ca9ab1b58fc7ae1f757efc61cf946168
2017-07-06 02:08:34 -07:00
Christopher Chedeau
138ae9623c
Update prettier to 1.5.2
...
Differential Revision: D5338894
fbshipit-source-id: c3ccd927b7f4ddcb36d744b84f66c85f8dea0686
2017-06-28 13:00:25 -07:00
Jean Lauliac
e74e123300
fix support for node v4
...
Summary:
Node v4 support has been broken for some time, with CircleCI failing tests. That's because it needs an additional transform for the spread operator in call position. Ex `foo(...smth)` expanding to `foo.apply(null, smth)`. Also, the build script was using syntax not supported by Node v4.
This changeset fixes the build script, and adds the missing transform. This will be used both for jest test and for the produced production output. This is needed for prod output since we want it to be able to be ran on Node v4 out-of-the-box.
CircleCI will confirm these changes work properly on all supported versions of Node.
Closes https://github.com/facebook/metro-bundler/pull/16
Differential Revision: D5319746
Pulled By: davidaurelio
fbshipit-source-id: 6c001b562b43da0625d1ac15d018117524970431
2017-06-26 05:08:50 -07:00
David Aurelio
08699062d5
npm package has `src/` rather than `build/`
...
Summary:
We use custom npm scripts (`prepare-release`, `cleanup-release`) to
- move `src` to `src.orig`, and `build` to `src` before creating the tarball
- move everything back afterwards
We run these scripts with lerna before and after publishing. Custom hooks avoid problems with `prepublishOnly` and `postpublish` not being run at opportune times, `prepack` and `postpack` not being supported by npm v4 and yarn, and using `lerna run prepublishOnly` resulting in duplicated execution of the command.
This ensures that development is closer to what is pulled in from npm.
Reviewed By: jeanlauliac
Differential Revision: D5310133
fbshipit-source-id: 6b9885c88b936ef3fe5f1858738ad63d581a8731
2017-06-23 09:06:33 -07:00
Avik Chaudhuri
67669d7676
update xplat/js to flow 0.48.0
...
Reviewed By: zertosh
Differential Revision: D5243415
fbshipit-source-id: 78ea4f7f29bcd6a70650f24ceb05f06b18b39018
2017-06-14 15:52:32 -07:00