23 Commits

Author SHA1 Message Date
92e4a18cc1 v0.0.2
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 14:14:54 +01:00
e7fadd5e08 Add MIT license to all package.jsons 2020-01-10 13:46:10 +01:00
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
1ec9f604de Fix clean install 2020-01-09 15:15:29 +01:00
adb3d877a4 Make react testing asynchronous 2019-11-04 15:02:02 -04:00
4b170b4e63 Run eslint --fix 2019-11-01 11:18:50 -04:00
1bd19286fa Upgrade all packages 2019-10-31 19:44:28 -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
4d7224cd8f Update package.json(s)
Bug for server: supertest is included
2019-10-01 22:29:51 +07:00
0c49e52f21 Add version tag to all package.json files 2019-10-01 09:37:57 +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
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
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
92912af839 Fix packages/client 2019-09-16 00:44:21 +07:00
50d36f268f Fix linting errors in packages/jsonrpc 2019-09-15 17:14:31 +07:00
003032c3ef Fix linting error in packages/redux 2019-09-15 16:20:52 +07:00
ac8f1d9ff3 Run rondo syncEsmConfig 2019-09-14 12:01:29 +07:00
177c52b438 Upgrade to typescript@3.6.3 2019-09-14 11:58:00 +07:00
67e81d6b80 Add ability to record custom actions by WaitMiddleware 2019-09-11 12:05:36 +07:00
055d9588bf Use JSONRPC in TeamService (needs more testing) 2019-09-11 00:40:10 +07:00
eebe26f706 Extract redux, http-types, http-client and test-utils 2019-09-10 17:56:25 +07:00