0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/tsconfig.json
Marius Andra e3bdf30084
Multithreaded server (#36)
* silence some test logs

* admit defeat in the battle with `esModuleInterop`

* add basic typescript piscina workers

* es module fix

* remove rollup and compile directly with typescript

* fix fetch import error

* make piscina work in jest, dist and dev... run plugins through it

* simplify tests

* store plugin status on the `server`

* config types

* not all keys needed

* add worker concurrency setting

* clean up code

* fix test worker code

* add a basic benchmark test

* refactor test

* refactor test utils

* support more serialized binary formats

* mock jest behind enemy lines

* less verbose logs in tests

* add test to make sure adding more CPU cores makes plugins faster!

* clone objects

* add 12

* fix linter's worries

* remove extra word

* improve display

* remove the exact cpu count from the list

* add postgres and redis services to github to make tests pass

* add ENV to config

* add ENV to config

* add db:init script

* add db:init script to CI

* No prepublish on yarn install

* return queue worker directly

* SCREAM! (just a bit more)

* remove buffer deprecation warning

* run tests serially (so that only one piscina performance test runs at a time)

* queue stop

* sigterm on piscina error

* shut down only once

* fix env override

* do not always override ENV

* do not always override ENV

* create team in db-init

* test parallelism on github actions (2 cpu cores)
2020-12-07 10:24:35 +01:00

21 lines
551 B
JSON

{
"compilerOptions": {
"module": "CommonJS",
"target": "ESNext",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"esModuleInterop": true,
"allowJs": true,
"sourceMap": true,
"baseUrl": "./src",
"outDir": "./dist",
"types": ["node", "jest"],
"resolveJsonModule": true,
"strict": true
},
"exclude": ["node_modules", "dist", "bin"]
}