20 Commits

Author SHA1 Message Date
0ce76eb648 Add support for question tokens in typecheck.ts 2019-08-12 09:08:13 +07:00
e55738f547 Remove unused comments from typecheck.ts
TODO: figure out how to determine locations of used:

a) interfaces
b) type aliases
c) union types
d) complex types like Array<MyType>

There should be two scenarios:

a) Type is imported from a library
b) Type is imported from an adjacent module
c) Type is privately declared in current module
2019-08-11 23:14:16 +07:00
472c7b3574 Figure out how to determine class type parameters 2019-08-11 22:19:49 +07:00
d7b2ad7a38 Add typecheck.ts
This uses TypeScript's TypeChecker to determine the types and the code
is a little cleaner, but still needs a lot of work:

- Determine how to figure out class type parameters
2019-08-11 22:03:06 +07:00
7a26d5c0f1 Add support for type parameters/arguments 2019-08-11 21:37:03 +07:00
d22f38ec92 Add TODO for typed parameters 2019-08-11 14:41:12 +07:00
fb4bb7b61b Add ability to process literals, type defs and interfaces 2019-08-11 14:36:27 +07:00
4f90e865fa Use experimental Typescript API to process class defs
The goal is to generate reusable interfaces from entity definitions.
While class definitions could be made to implement interfaces, this
seems like too much work at this point.
2019-08-11 13:17:08 +07:00
a057ca97d5 Automatically print help 2019-08-06 18:29:58 +07:00
10ca503e59 Add script to create new package from template 2019-08-06 15:40:16 +07:00
87d515d89b Add help for positional arguments 2019-08-06 11:37:44 +07:00
7ea1c34428 Use @rondo/argparse for build script 2019-08-05 22:25:49 +07:00
745834848f Add createMigration task 2019-08-02 22:39:04 +07:00
3690908918 Add exec script command 2019-08-02 20:46:23 +07:00
41c5022f32 Add rondo test command 2019-08-02 20:30:44 +07:00
d2a9d6faf6 Add log message when killing subprocess 2019-08-02 09:21:38 +07:00
9d35984033 Add frontend build scripts 2019-08-02 09:11:52 +07:00
33c401dbcb Make packages/scripts work 2019-08-01 13:21:11 +07:00
e79008cf0f Add test @rondo/scripts package for CLI 2019-07-31 10:50:29 +08:00
dde96b41d3 Add packages/scripts 2019-07-31 09:53:45 +08:00