79 Commits

Author SHA1 Message Date
77b09fa653 Do not build esm while watching
ESM modules are only important for tree shaking - when building the
final production bundle
2019-11-02 13:58:57 -04:00
34173f4cf6 Add hot module reloading (optional) 2019-11-01 23:14:57 -04:00
b5325a050d Add react-captcha, react-test package 2019-11-01 17:53:21 -04:00
a59b9032a9 Fix broken rondo add script
fs.copyFileSync used to do mkdir, but apparently does not
2019-11-01 16:02:41 -04:00
3b7dcd9cb7 Add ability to log schema changes with rondo cmd
New command:

    rondo schemaLog <path/to/package>

    cd path/to/package
    rondo schemaLog

Also update migrations index.ts after creating migration:

    rondo createMigration [-p path/to/package] <name>
2019-11-01 14:06:13 -04:00
8aa03e927e Fix rondo frontend (make it use --esm) 2019-11-01 13:12:04 -04:00
8c7b537a99 Print process id when running 2019-11-01 12:54:01 -04:00
e27fdfb212 Add FORCE_COLOR and tsc --pretty 2019-11-01 12:46:25 -04:00
4b170b4e63 Run eslint --fix 2019-11-01 11:18:50 -04:00
cef39b2edd Fix compile errors 2019-10-31 20:09:39 -04:00
11a29985eb Use npm show <pkg> version instead of outdated
npm outdated would error out for defined local packages such as
@rondo.dev/*
2019-10-31 18:39:48 -04:00
a4688f5432 Add ability to write tsconfig.json project references 2019-10-01 23:37:13 +07:00
4d7224cd8f Update package.json(s)
Bug for server: supertest is included
2019-10-01 22:29:51 +07:00
46bbd477e3 Do not include peerDependencies in dependency list 2019-10-01 11:08:28 +07:00
64d9778a33 Add ability to generate package.json deps from root pkg 2019-10-01 10:02:09 +07:00
5bd2121a7d Add commands help in rondo command 2019-10-01 08:31:57 +07:00
5623001497 Refactor React server-side rendering 2019-09-26 23:35:53 +07:00
d9decd385a Do not build from esm while watching 2019-09-25 13:51:28 +07:00
85d8c0019d Add unpack and unpackInverseDeps scripts 2019-09-25 12:39:41 +07:00
d4378719c5 Use EntitySchema and interfaces over typeorm decorators 2019-09-18 15:25:27 +07:00
f51b41c576 Add packages/server/cli 2019-09-17 10:55:25 +07:00
061960f789 Add script for listing dependencies of projects 2019-09-16 22:57:46 +07:00
73c27aec6a Fix packages/comments-common 2019-09-16 11:39:36 +07:00
8c732ba91e Install eslint and fix errors
- argparse
- scripts
- tasq
- validator
2019-09-15 15:57:22 +07:00
ac8f1d9ff3 Run rondo syncEsmConfig 2019-09-14 12:01:29 +07:00
1eafdf7fd8 Move template into packages/scripts 2019-09-14 11:28:39 +07:00
ea6c349e6c Add rimraf and rondo clean script 2019-09-11 21:29:12 +07:00
6a456eb6e8 Fix broken tests 2019-09-01 15:40:34 +07:00
5b5adb6408 Update dependencies
TypeScript 3.6 cannot be updated because of a current bug with
FindConditions<?>.

https://github.com/typeorm/typeorm/pull/4470
https://github.com/typeorm/typeorm/issues/4662

https://github.com/microsoft/TypeScript/pull/33144
2019-09-01 14:17:08 +07:00
fc613f426b Add rondo update script 2019-09-01 13:38:38 +07:00
9cf305e71a Fix broken intergen test because of header 2019-09-01 10:20:18 +07:00
cd5ff9b5da Generate @rondo.dev/common entities 2019-08-28 08:08:00 +07:00
3b6011f88d Add alias -o to intergen 2019-08-28 07:28:15 +07:00
0e6c45ce8b Add header to intergen.ts 2019-08-28 07:27:54 +07:00
f817c75d57 Add rondo syncEsm command 2019-08-27 21:57:43 +07:00
92c93db822 Add rondo exportDir script 2019-08-27 21:25:19 +07:00
dffad844ad Rename scope @rondo to @rondo.dev 2019-08-25 11:33:06 +07:00
6497bd42ca Rename rondo newlib cmd to rondo add 2019-08-25 11:28:25 +07:00
79c6d1a608 Refactor scripts, add ability to load external scripts 2019-08-18 09:57:47 +07:00
b807e84539 Parse only positional arguments after the first is encountered 2019-08-18 08:36:00 +07:00
385555123a Add test for related source files 2019-08-14 17:05:55 +07:00
b122ff093a intergen: Do not add I-prefix to interfaces
Renaming of existing types turned out to be too complicated because the
code depends on checker.typeToString, and there is no way that I know of
that would allow renaming of an existing type.
2019-08-14 15:43:59 +07:00
25593dd994 Rename typecheck.ts to intergen.ts 2019-08-14 14:17:25 +07:00
cca888641a Add -i, -o flags to typecheck.ts 2019-08-14 14:16:41 +07:00
198cff3d35 Add better help for positional arguments 2019-08-14 10:23:08 +07:00
64d244fe91 Add better help for positional args 2019-08-14 10:17:06 +07:00
c0b245067b Use path.relative when printing argparse cmd 2019-08-14 09:16:20 +07:00
f1865a0cc4 Add better --help support in argparse 2019-08-13 20:28:20 +07:00
78f39517ce Take into account alias type parameters 2019-08-13 10:20:34 +07:00
0da43b0411 Fix iterating over non-filtered array 2019-08-13 10:01:23 +07:00