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
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
3398831571
Fix TestContainer not being used
2019-09-16 23:07:07 +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
30d1f1fcd4
Partiall upgrade packages/client
2019-09-15 18:29:55 +07:00
fea568b58a
Fix packages/common
2019-09-15 17:50:20 +07:00
0d1fddf512
Fix linting errors
2019-09-14 12:53:30 +07:00
ac8f1d9ff3
Run rondo syncEsmConfig
2019-09-14 12:01:29 +07:00
36338ccdbe
Fix broken build
2019-09-14 00:34:59 +07:00
25589b870c
Refactor common/team
2019-09-11 13:34:41 +07:00
270b28dd68
Run tslint --fix on team
2019-09-11 12:07:08 +07:00
c2c49c5f7a
Record actions before rendering
2019-09-11 10:14:56 +07:00
fdbe4be75f
Return waitForActions after rendering
2019-09-11 10:13:34 +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
0e69cf239a
Optimize imports
2019-09-07 07:54:53 +07:00
65f8915dc1
Add useCallback when testing FunctionalComponent
2019-09-05 13:07:26 +07:00
ee6a6741ed
Add test for pack.ts
2019-09-05 12:58:59 +07:00
a6a8fd833d
Mark Connector as deprecated
2019-09-05 10:21:51 +07:00
2a4d196906
Fix doc of pack.ts
2019-09-05 10:21:31 +07:00
6a456eb6e8
Fix broken tests
2019-09-01 15:40:34 +07:00
4814316fa7
Use @rondo.dev/comments-common instead of @rondo.dev/common
2019-08-31 10:28:41 +07:00
67e3da3246
Add ability to configure rpc services. Needs further testing
2019-08-31 09:12:10 +07:00
19f0993088
Use MapDispatchToPropsParam in redux/pack.ts
2019-08-30 13:35:45 +07:00
db7a977eef
Add client/src/redux/pack.ts
2019-08-30 13:18:06 +07:00
dffad844ad
Rename scope @rondo to @rondo.dev
2019-08-25 11:33:06 +07:00
7dd9497514
Use ttsc instead of tsc
2019-07-31 07:19:22 +08:00
a20ac8cbbc
Add HTTPClientMock.mockAddTyped
2019-06-04 15:11:54 +10:00
45f0cb76d3
Fix return type of withJSX (used to be any)
2019-06-04 14:58:41 +10:00
4b601f93cb
Fix linting error
2019-05-21 22:44:22 +12:00
3017a17b9c
Export test-utils
2019-05-21 22:44:01 +12:00
a52f0186b3
Remove console.log statements
2019-05-21 18:56:28 +12:00
e63b2b1c03
WIP: Use react-ssr-prepass to fetchData
...
TODO: State does not update correctly. Need to figure out why.
2019-05-19 20:14:35 +12:00
f59b58f833
Fix invalid csrf token
2019-05-19 17:55:40 +12:00
871018684b
Extract store creation
2019-05-09 15:34:08 +12:00
279b859e7b
Add TODO for SSR SEO
2019-05-08 11:44:45 +12:00
798c4987f8
Extract http into separate parameter
2019-05-08 10:54:05 +12:00
c44d605890
Fix failing React tests for Login/Register
2019-05-08 10:12:53 +12:00
70c94c7c63
Add WaitMiddleware.ts
2019-05-08 09:57:33 +12:00
18fef76807
Add ability to login from embedded site
2019-04-15 00:13:51 +12:00
7c1b6973ae
Add ReturnHere.tsx
2019-04-14 23:12:05 +12:00
3ffd391cb0
Add user prop to CommentEditor
2019-04-14 22:09:00 +12:00
0fb6c8a6c2
Reduce bundle size by 100kb by removing date-fns
2019-04-11 12:23:17 +08:00
9d282b278d
Build ESM client-side modules to enable tree shaking
...
TypeScript compiler needs to be configured to output ES6 module by
setting --module es6 or the equivalent tsconfig.json compilerOptions
parameter.
Since tsc --build does not accept compiler options flags, we need to
duplicate some of the configuration:
- specify separate output folder for ES6 module files (new
tsconfig.esm.json file)
- add "module" field for ES6 module (esm) output files to package.json
Hence, a script `scripts/sync-esm-config.js` was added to automate this
process.
2019-04-11 11:40:07 +08:00