496 Commits

Author SHA1 Message Date
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
c53ef19ab4 Fix deprecated react lifecycle methods 2019-11-01 11:23:46 -04:00
4b170b4e63 Run eslint --fix 2019-11-01 11:18:50 -04:00
d560f7a725 Fix project references of local @types/express.d.ts
The `comments-server` package requires the `server` package, but
previously it did not load the updates of global Express.Request
definitions correctly.

By adding the triple slash comment:

/// <reference path="../@types/express.d.ts" /> to the top

to the top of packages/server/src/index.ts, the issue is now resolved
2019-11-01 08:48:16 -04:00
dbed11214d Fix react warnings 2019-10-31 23:06:31 -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
595600e005 Move react-ssr-prepass.d.ts to @types/ 2019-10-31 19:43:35 -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
a39833eece Remove deprecation warning about OutgoingMessage.prototype._headers 2019-10-31 17:33:21 -04:00
fc9d3b5b87 Add test for TextStream.ts 2019-10-31 15:14:02 -04:00
fe14691ac6 Add tests packages/captcha 2019-10-31 15:05:36 -04:00
b6ad109aa0 Update node-sass 2019-10-31 13:57:39 -04:00
16a8de4375 Update @types/node 2019-10-31 13:51:42 -04:00
4721e8e986 Export audio.ts 2019-10-22 21:41:14 -05:00
cd8044d6a9 Add packages/captcha (untested) 2019-10-22 21:40:14 -05:00
0ae8752e4d Add svg-captcha 2019-10-22 21:40:14 -05:00
d90b8e128c Add say.js to TODO.md 2019-10-12 16:33:00 -05:00
13a5e38af2 Add more items to TODO.md 2019-10-12 15:04:01 -05:00
508f3d097d Update TODO.md 2019-10-12 11:56:51 -05:00
17adb818be Add ability to run server cluster 2019-10-12 08:44:21 -05:00
0633734156 Add sqlite3 2019-10-12 08:41:24 -05: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
c0a256ad83 Remove "express-serve-static-core"
It has different type definitions for some methods used in express and
TypeScript build fails because of it.

The solution is to use @types/express-serve-static-core instead.
2019-10-01 23:22:51 +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
cd569887c0 Add browserify-hmr
NPM audit issues a warning but that has been resolved by my PR:

https://github.com/Macil/browserify-hmr/pull/45
2019-10-01 07:52:50 +07:00
4810ecf611 Remove type generic from packages/middleware 2019-09-27 10:25:52 +07:00
ee29307e97 expressify: Do not send response when already sent 2019-09-27 10:16:47 +07:00
a8d603dd59 Refactor store to accept state as part of params
The old code was returning a fn because TypeScript could not figure out
generic type parameters when params was an object like:

    interface Params<State> {
      a: Reducer<State>
      b: Partial<State>
    }

    function test<State>(params: Params<State>) {
      // ...
    }
2019-09-26 23:52:46 +07:00
5623001497 Refactor React server-side rendering 2019-09-26 23:35:53 +07:00
6c56b51b4e Add typescript-plugin-styled-components to client/tsconfig.json 2019-09-26 21:37:38 +07:00
661877ddff Add ServerStyleSheet to ServerRenderer.ts 2019-09-26 21:36:14 +07:00
92021479ae Run npm install styled-components and audit fix 2019-09-26 20:09:30 +07:00
d9decd385a Do not build from esm while watching 2019-09-25 13:51:28 +07:00
173b7cf66e Remove express module dependency from jsonrpc 2019-09-25 13:46:29 +07:00
1c4d600450 Remove scripts/unpack.js in favor of rondo unpack 2019-09-25 13:46:16 +07:00
89c8222856 Update TODO.md 2019-09-25 12:40:56 +07:00
85d8c0019d Add unpack and unpackInverseDeps scripts 2019-09-25 12:39:41 +07:00
00192d2f3b Add middleware abstraction 2019-09-25 11:15:04 +07:00
42bda32985 Use EntitySchemas in comments-server, Fix duplicate migrations 2019-09-23 11:29:23 +07:00
960fc96d28 Use entity-schemas as entities 2019-09-18 15:54:56 +07:00
2ad72d2925 Fix cannot read property joinColumns of undefined 2019-09-18 15:37:35 +07:00
d4378719c5 Use EntitySchema and interfaces over typeorm decorators 2019-09-18 15:25:27 +07:00