Commit Graph

143 Commits (master)

Author SHA1 Message Date
Paul Loyd c299ef0f06 Add support for $Shape 2017-11-29 01:06:10 +03:00
Paul Loyd 31c8845a31 Add support for $NonMaybeType 2017-11-29 00:57:22 +03:00
Paul Loyd c95581329e Add support for $ElementType and $PropertyType 2017-11-29 00:45:18 +03:00
Paul Loyd 87979aa328 Small refactoring 2017-11-28 20:44:09 +03:00
Paul Loyd 418f997d31 Add Object special 2017-11-28 20:39:56 +03:00
Paul Loyd d24a640ad5 Support for Array<T> and $ReadOnlyArray<T> 2017-11-28 20:29:57 +03:00
Paul Loyd 9941cbf380 Introduce "special" query kind 2017-11-28 20:21:50 +03:00
Paul Loyd c843463c0e Add tuples 2017-11-28 18:38:55 +03:00
Paul Loyd 18d81b66db Add "any" and "mixed" types 2017-11-28 18:19:01 +03:00
Paul Loyd 9f2cd7cfdc Imporve the pragma test 2017-11-28 17:46:53 +03:00
Paul Loyd 992884a472 Now helper last() is strict 2017-11-28 17:42:19 +03:00
Paul Loyd 34d8a818b2 Add missing test cases for generics 2017-11-28 17:39:16 +03:00
Paul Loyd f56da6f9a8 Add some tests 2017-11-28 17:23:08 +03:00
Paul Loyd 2ad3f925eb Add tests for the maybe type 2017-11-28 16:41:48 +03:00
Paul Loyd 317f8e6e1c Introduce intermediate representation 2017-11-28 16:35:28 +03:00
Paul Loyd 777d8a0acd Clarify tests 2017-11-21 16:32:50 +03:00
Paul Loyd 6c9b19b90d Rewrite using flow 2017-11-21 15:28:59 +03:00
Paul Loyd e8db43160f Improve @babel/types declaration 2017-11-19 12:54:29 +03:00
Paul Loyd 6085e92e45 Reduce the number of $FlowFixMe 2017-11-18 20:20:26 +03:00
Paul Loyd eb5eda9276 Separate traversing from the collector 2017-11-18 15:31:35 +03:00
Paul Loyd 2a24383d59 Split extractors.js into declarations.js and definitions.js 2017-11-18 14:23:45 +03:00
Paul Loyd 794167254a Drop flow checks for appveyor 2017-11-18 13:48:16 +03:00
Paul Loyd 48b30c7801 Ignore flow checking for lib/ 2017-11-18 12:45:54 +03:00
Paul Loyd 94535791e9 Use flow to check code 2017-11-18 12:38:34 +03:00
Paul Loyd 29ec78a994 Rename the project to "flow2schema" 2017-11-16 17:34:27 +03:00
Paul Loyd 8fb189bdaf Now mocha uses the list reporter 2017-11-16 15:21:27 +03:00
Paul Loyd f9a80591ad Compile sources with babel 2017-11-16 15:17:15 +03:00
Paul Loyd 1fc08b013e Initial support for generics 2017-11-13 21:11:18 +03:00
Paul Loyd 16632df5ed Small refactoring 2017-11-09 15:07:17 +03:00
Paul Loyd cbb64206d2 Add the unused test 2017-11-09 12:23:33 +03:00
Paul Loyd 6ab67ee13e Add the empty test 2017-11-09 12:21:41 +03:00
Paul Loyd 18472c62c3 Fix readme.md 2017-11-09 12:19:18 +03:00
Paul Loyd 07bc3156c2 Reorder definitions in the scope test 2017-11-09 12:18:11 +03:00
Paul Loyd ec87f9dda0 Take out Module from Scope 2017-11-09 12:16:48 +03:00
Paul Loyd dbd1927aab Make the definition process lazy 2017-11-09 12:10:21 +03:00
Paul Loyd a72929ea17 Convert logging about an unknown type into an assert 2017-11-06 16:37:07 +03:00
Paul Loyd e8cfb0c8c5 Limit the max length to 100 chars 2017-11-06 16:36:06 +03:00
Paul Loyd b0872d04b2 Involve groups of extractors 2017-11-06 14:29:26 +03:00
Paul Loyd fd049a4d30 Emit true JSON 2017-11-06 12:48:00 +03:00
Paul Loyd 62fd586712 Handle Buffer shadowing 2017-11-06 02:13:41 +03:00
Paul Loyd bdd83fee1c Rewrite the scheduler: more efficient and always finite 2017-11-05 21:40:15 +03:00
Paul Loyd 112693ad3e Fix tests 2017-11-05 15:39:40 +03:00
Paul Loyd 3e989735ad Small docs fix 2017-11-05 15:17:35 +03:00
Paul Loyd c987a28b0c Migrate to mocha 2017-11-05 12:28:10 +03:00
Paul Loyd 76ca89e500 Restructuring the tests 2017-11-05 02:40:46 +03:00
Paul Loyd 7d8e9fbf64 Remove dead code 2017-11-05 01:23:24 +03:00
Paul Loyd b733333ba1 Add coverage 2017-11-05 01:13:56 +03:00
Paul Loyd 1db63dbb98 Fix namespace generation on windows 2017-11-05 00:47:24 +03:00
Paul Loyd 6613784d1a Improve the test runner 2017-11-05 00:44:25 +03:00
Paul Loyd 063fac633c Add appveyor and badges 2017-11-05 00:26:11 +03:00