Commit Graph

143 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 6fe28de2dc Translate null correctly when it is a part of a union type 2019-10-23 17:00:38 +03:00
Vitaliy Filippov e5afdbcb58 Include leadingComments as $comment 2019-10-21 20:00:31 +03:00
Vitaliy Filippov 1d0a098c39 Always translate type named "integer" to json schema "integer" 2019-10-21 18:56:44 +03:00
Vitaliy Filippov ec681fe6fc Convert FunctionTypeAnnotation to any to not crash 2019-05-24 00:26:27 +03:00
Vitaliy Filippov 870756a440 Support recursive types 2019-05-24 00:26:01 +03:00
Vitaliy Filippov 84aface8eb Support BooleanLiteralTypeAnnotation 2019-05-24 00:07:17 +03:00
Paul Loyd e24a73b03b Add selectiveImport sample 2018-11-21 17:31:48 +03:00
Paul Loyd 21851b0042 Support GENERATE_MISSING=1 env in the test runner 2018-11-21 17:31:23 +03:00
Paul Loyd a51d4bc5b3 Support samples w/o types.yaml and schema.json 2018-11-21 15:58:56 +03:00
Paul Loyd 06a15e2d67 Enable flow for the test runner 2018-11-21 15:53:15 +03:00
Paul Loyd 921bdd04cb Support string keys 2018-11-06 20:03:36 +03:00
Paul Loyd cdc9304304 Add support for $FlowFixMe 2018-07-25 08:54:23 +03:00
Paul Loyd 563789f555 Specify @flow everywhere 2018-07-25 08:38:10 +03:00
Paul Loyd c9b24ee574 Update flow to 0.77 2018-07-24 23:13:34 +03:00
Paul Loyd 38c0a8b804 v0.3.1 2018-01-13 20:57:00 +03:00
Paul Loyd 414a3f5186 oneOf -> anyOf for maybe types 2018-01-13 20:54:46 +03:00
Paul Loyd 09f37c29bc Fix maps generation in json-schema generator 2018-01-13 20:51:37 +03:00
Paul Loyd a4bf88367e Add minimum = 0 to json-schema for u32 and u64 2017-12-18 20:46:31 +03:00
Paul Loyd e284b1d2e4 v0.3.0 2017-12-17 13:39:37 +03:00
Paul Loyd 0ad270210b Add a small example 2017-12-17 13:39:17 +03:00
Paul Loyd 67b3e1f7d8 Export module API in CommonJS 2017-12-17 13:29:32 +03:00
Paul Loyd 81dd63bd95 Specify the package files 2017-12-17 13:25:56 +03:00
Paul Loyd 4d440e3edf Make CLI 2017-12-17 13:13:27 +03:00
Paul Loyd 31877f825e Add tests for JSON schema 2017-12-17 02:10:39 +03:00
Paul Loyd c6fdf55ff2 Validate generated json schemas in the tests 2017-12-16 19:58:45 +03:00
Paul Loyd 44e36854f3 Migrate to draft-06 json-schema 2017-12-16 19:46:58 +03:00
Paul Loyd 15f4d9459d Output json-schema in CLI 2017-12-16 17:03:22 +03:00
Paul Loyd df240ba87f Implement the jsonSchema generator 2017-12-16 17:03:08 +03:00
Paul Loyd d481368563 Now Wu<T> implements Iterable<T> 2017-12-16 17:01:47 +03:00
Paul Loyd 1af68f1819 $ElementType now accepts reference to the key 2017-12-05 22:56:04 +03:00
Paul Loyd 50bbfe26fb Add tests for optional fields 2017-12-03 15:56:28 +03:00
Paul Loyd b8e69e10a4 Unwrap nested maybes 2017-12-03 15:46:44 +03:00
Paul Loyd b4244fc196 Add support for "declare (type|interface|class)" 2017-12-03 15:18:43 +03:00
Paul Loyd 57603cf0ff Add support for $All and $Either 2017-12-03 15:13:05 +03:00
Paul Loyd 5d406112e5 Now query() returns maybe 2017-12-03 14:55:18 +03:00
Paul Loyd d2e2e6ea63 Refactor the definitions 2017-12-03 14:49:12 +03:00
Paul Loyd 0dad186da2 Add some comments 2017-12-02 16:24:53 +03:00
Paul Loyd 0408a93927 Add support for $Diff 2017-12-02 16:03:29 +03:00
Paul Loyd 72277118d5 Fix tests for windows 2017-12-02 12:21:29 +03:00
Paul Loyd 3a4beacdd0 Introduce the fund 2017-12-02 11:01:37 +03:00
Paul Loyd ac19b9f70d Update flow to 0.60.1 2017-12-02 10:10:20 +03:00
Paul Loyd e706f57684 Restructuring 2017-12-01 22:39:03 +03:00
Paul Loyd f2aadffd95 Tests restructuring 2017-12-01 20:44:35 +03:00
Paul Loyd 5c6e62af5a Stricter the flow config 2017-12-01 20:01:38 +03:00
Paul Loyd beb5c408d1 Types refactoring 2017-12-01 20:00:40 +03:00
Paul Loyd edc8f4eb6a Add tests for cycles 2017-11-30 17:19:44 +03:00
Paul Loyd 04c2be0550 json -> yaml for IR 2017-11-30 14:27:05 +03:00
Paul Loyd 3cc324d1da Add support for $Values 2017-11-29 10:08:20 +03:00
Paul Loyd addbcb675b Add support for $Keys 2017-11-29 10:00:39 +03:00
Paul Loyd 08dc16aa4b Add support for $ReadOnly and $Exact 2017-11-29 01:20:27 +03:00