Rafael Oleza
8aa96e6a3e
Bump metro@0.34.0
...
Differential Revision: D7708906
fbshipit-source-id: 3d8cdfd2745baf73c92f90e0960f7cd73a289f77
2018-04-20 14:18:58 -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
Rafael Oleza
e023342d24
Bump metro@0.33.0
...
Reviewed By: davidaurelio
Differential Revision: D7661486
fbshipit-source-id: 5186a853eaff139948622e93d851deb9577567dc
2018-04-18 12:25:03 -07:00
Jean Lauliac
13e0844dcf
metro-memory-fs: add support for win32
...
Reviewed By: rafeca
Differential Revision: D7545983
fbshipit-source-id: 1fa8ae6c773e933a73fa525c191599b35d85c604
2018-04-11 18:14:34 -07:00
Rafael Oleza
5f0117e27a
Bump metro@0.32.0
...
Reviewed By: mjesun
Differential Revision: D7586296
fbshipit-source-id: 72407851366c5c2de15d4b3c7fe6311281d697bf
2018-04-11 10:53:54 -07:00
Rafael Oleza
d0fdca73cd
metro-memory-fs: Do not report a file change when reading a file
...
Reviewed By: jeanlauliac
Differential Revision: D7584517
fbshipit-source-id: 55f87d15c723f697ea00c357da1d36f5d31accbb
2018-04-11 10:04:08 -07:00
Rafael Oleza
bd5d776a2f
metro-memory-fs: Allow to also listen directly to files
...
Reviewed By: jeanlauliac
Differential Revision: D7584516
fbshipit-source-id: 4362b148a59f11b7cc1ccb27e4c1a9ebf042e52c
2018-04-11 10:04:08 -07:00
Jean Lauliac
7e523b21e5
metro-memory-fs: add unlinkSync()
...
Reviewed By: rubennorte
Differential Revision: D7443805
fbshipit-source-id: 53368103f9230622250be62cde2474c21a930be8
2018-04-04 03:10:49 -07:00
Jean Lauliac
6d8b06dcd9
metro-memory-fs: add watch()
...
Reviewed By: rubennorte
Differential Revision: D7443797
fbshipit-source-id: 2ffdfb3649caf057c42313e36e9ff35e70f4f759
2018-04-04 03:10:49 -07:00
Rafael Oleza
012bb6a512
Bump metro@0.31.0
...
Reviewed By: mjesun
Differential Revision: D7336904
fbshipit-source-id: 2132c77d07e52a91f09b6f905bee4806aaf7d23e
2018-03-20 19:46:18 -07:00
Jean Lauliac
23bd78220b
metro-memory-fs: add lstat() and fstat()
...
Reviewed By: mjesun
Differential Revision: D7257967
fbshipit-source-id: 56c59ca088bfd71fc111efdfda2f5393d6abbd9b
2018-03-16 09:00:22 -07:00
Rafael Oleza
f2b6232c5d
Bump metro@0.30.2
...
Reviewed By: BYK
Differential Revision: D7292431
fbshipit-source-id: 2d81e502e060ecd278977b838e0ef2db7e13b0e3
2018-03-15 18:41:36 -07:00
Jean Lauliac
43ab7ab811
metro-memory-fs: clean up createWriteStream()
...
Reviewed By: rafeca
Differential Revision: D7257022
fbshipit-source-id: 30598f2dd24a66bf07d75133ca10fb6b9082010a
2018-03-14 09:29:45 -07:00
Rafael Oleza
167117fe36
Bump metro@0.30.1
...
Reviewed By: BYK
Differential Revision: D7259632
fbshipit-source-id: ef713d35a953cd829d6a8684d2fa9cfa30e69ac4
2018-03-14 09:08:31 -07:00
Rafael Oleza
ee497c61b6
Bump metro@0.30.0
...
Reviewed By: BYK
Differential Revision: D7214924
fbshipit-source-id: 4f50ec27e2dceb18e9ef82e741675df295235d74
2018-03-09 16:53:58 -08:00
Jean Lauliac
d9e3d21922
metro-memory-fs: fix createWriteStream autoClose behavior
...
Summary:
In Node v6 there is no `final` function: https://nodejs.org/docs/v6.13.1/api/stream.html#stream_simplified_construction .
It's not a problem however because we can preferentially use the `finish` event, that makes it more consistent with how `createReadStream` is implemented. I also added closing the fs on `error` events, as specified in the docs.
**Test plan**
yarn jest
Closes https://github.com/facebook/metro/pull/150
Reviewed By: rafeca
Differential Revision: D7215708
Pulled By: jeanlauliac
fbshipit-source-id: 80921a245c8c87085a2ba83b84b1156a60aa1fb3
2018-03-09 13:37:44 -08:00
Rafael Oleza
8fd56bf2e5
Bump metro@0.29.0
...
Reviewed By: BYK
Differential Revision: D7181876
fbshipit-source-id: a1b567303b8024b832bf43dd6be56ccebffaf39c
2018-03-07 15:00:27 -08:00
Jean Lauliac
08283058ec
metro: switch Assets-test to the new memory-fs
...
Reviewed By: mjesun
Differential Revision: D7135767
fbshipit-source-id: dd7998b8aca87391ec2081770645ba73d11cf859
2018-03-05 07:53:53 -08:00
Jean Lauliac
e565f10a30
metro-memory-fs: implement createReadStream()
...
Reviewed By: mjesun
Differential Revision: D7124071
fbshipit-source-id: a267e35bb32d540cec915ac38f5ab11e2096f33e
2018-03-05 07:53:53 -08:00
Rafael Oleza
59cfe85cca
Make eslint rules more strict
...
Reviewed By: cpojer
Differential Revision: D7123137
fbshipit-source-id: 68f82124ed565f223c6bf546c22e55ca401f1996
2018-03-01 06:07:40 -08:00
Jean Lauliac
019622ce50
metro: extract MemoryFS into its own package
...
Reviewed By: mjesun
Differential Revision: D7098381
fbshipit-source-id: 0ac9d71b7912c9d448468b64969d04a8cc9c853d
2018-02-27 10:51:13 -08:00