89 Commits

Author SHA1 Message Date
23f2796d68 Use relative paths in packages/*/package.json
When using versions and letting npm install dedupe the packages, npm
audit does not work and it exits with a cryptic error:

  The server said: Invalid package tree, run npm install to rebuild your package-lock.json
2020-01-09 18:26:00 +01:00
7cc88bf25d Fix packages/scripts bootstrap 2020-01-09 15:20:30 +01:00
1ec9f604de Fix clean install 2020-01-09 15:15:29 +01:00
5cc34a7ca1 Fix broken build after removing comments-* from history 2020-01-09 11:16:15 +01:00
c27e66a8e2 Add captcha to main site, fix tests of styled-components 2019-11-04 11:07:46 -04:00
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
1bd19286fa Upgrade all packages 2019-10-31 19:44:28 -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
9f1e2ca713 Run rondo imports
package.jsons are changed because dependencies are now sorted
tsconfig.jsons are changed because all referenced monorepo packages will
be added as project references
tsconfig.esm.jsons are changed because syncEsmConfig was run
2019-10-01 23:39:05 +07: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
0c49e52f21 Add version tag to all package.json files 2019-10-01 09:37:57 +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
12aa397350 Remove tslint.json 2019-09-16 21:04:55 +07:00
400d1cd213 Run eslint --fix 2019-09-16 21:04:10 +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