480 Commits

Author SHA1 Message Date
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
9c9c41aeaf Extract packages/server/src/database to packages/{db,db-typeorm} 2019-09-18 12:49:55 +07:00
c8d22278a5 Use run() instead of CLI class 2019-09-17 11:30:16 +07:00
f51b41c576 Add packages/server/cli 2019-09-17 10:55:25 +07:00
ae6b00c24c argparse: allow to specify build [PACKAGE] -w 2019-09-17 10:09:41 +07:00
c10d5cf115 Fix a bug with Promise.catch() in PromiseMiddleware
The pending action will be modified and a newly created promise handler
will be returned.

This has (suddenly?) caused errors in tests because the catch() handlers defined in tests would be called before the one defined in PromiseMiddleware:

    const p = new Promise(...)

    const {payload} = store.dispatch({
      payload: new Promise(...),
      type: '...',
    })

    try {
      await payload
    } catch (err) {
      // this handler would be invoked before the catch handler in
      // PromiseMiddleware
    }

since the PromiseMiddleware adds a then-callback, followed by a
catch-callback.
2019-09-17 00:08:49 +07:00
3398831571 Fix TestContainer not being used 2019-09-16 23:07:07 +07:00
061960f789 Add script for listing dependencies of projects 2019-09-16 22:57:46 +07:00
a0c36a1299 Install eslint-plugin-import 2019-09-16 21:27:53 +07:00
2514f68a1d npm uninstall tslint 2019-09-16 21:06:55 +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
9165b96e0f Fix comments-server 2019-09-16 20:46:52 +07:00
73c27aec6a Fix packages/comments-common 2019-09-16 11:39:36 +07:00
7631f085ef Fix packages/server 2019-09-16 10:46:17 +07:00
92912af839 Fix packages/client 2019-09-16 00:44:21 +07:00
30d1f1fcd4 Partiall upgrade packages/client 2019-09-15 18:29:55 +07:00