Typescript based monorepo build system.
- following workflow from : https://github.com/microsoft/rushstack/blob/master/build-tests/heft-webpack-basic-test
see xlib's package.json
for list of scripts to run. in particular: rush dep-check --verbose
- date
- day.js probably (maybe luxon)
- net io
- gaxios
- webworkers
- serialization
- need to add benchmarks for
- msgpack
- simdjson
- json5
- need to add benchmarks for
- future eslint extensions:
- test assertion framework
- chai works, but what is better?
- https://source.coveo.com/2016/05/11/isomorphic-typescript-ava-w-coverage/
- https://jamesmonger.com/2019/09/10/super-robust-api-with-isomorphic-typescript.html
- https://github.com/happygrammer/isomorphic-typescript-starter
- https://github.com/ericmasiello/isomorphic-typescript-react-redux-starter
- https://hackernoon.com/building-isomorphic-javascript-packages-1ba1c7e558c5
- https://zellwk.com/blog/publishing-npm-packages-that-can-be-used-in-browsers-and-node/
-
rename to isol?
-
worker threads: so far threads.js is the easiest to work with.
- but even with that, can not easily bundle into a single webpack file: andywer/threads.js#307
- if other solutions are needed here is a summary as of 202009:
web-worker: isomorphic worker implementaiton. https://github.com/developit/web-worker
doesn't seem to do much in browser?
worker-loader: embed workers as blobs into webpack bundle. https://webpack.js.org/loaders/worker-loader/
comlink: warpper over worker: https://github.com/GoogleChromeLabs/comlink#readme
comlink-loader: load comlink into webpack https://www.npmjs.com/package/comlink-loader
author thinks worker-plugin is better.
author also wrote web-worker
worker-plugin: load comlink into webpack https://www.npmjs.com/package/worker-plugin
threads-loader is a copy of this
- logging: async logging, and transports to 3rd party such as datadog / papertrail
- also review all pino options: https://github.com/pinojs/pino/blob/master/docs/api.md#options
- expose chalk in stringHelper
- extra types: https://github.com/sindresorhus/type-fest
- documenation: look at day.js, nice docs website based on docusaurus 1.x. https://github.com/dayjs/dayjs-website
- also see their typsescript definitions which include default method