Add test workspaces and examples to monorepo design
Adds skipLibCheck to the tsconfig. By default, tsc tries to compile type definitions for every single package in the workspace, regardless of which package you are building. This meant it was trying to compile Pupeteer (nodejs-based) for nakama-js, which failed compilation because of node-specific globals. skipLibCheck sounds bad but all it means is "only check type definitions that are actually used by the project being compiled." Why this isn't a default, I don't know.
Removes window. prefix for setTimeout calls for portability with NodeJS and Dino.
There are 5 remaining tests of 140~ that do not pass. I am tracking them in a separate issue.
skipLibCheck
to the tsconfig. By default,tsc
tries to compile type definitions for every single package in the workspace, regardless of which package you are building. This meant it was trying to compile Pupeteer (nodejs-based) for nakama-js, which failed compilation because of node-specific globals.skipLibCheck
sounds bad but all it means is "only check type definitions that are actually used by the project being compiled." Why this isn't a default, I don't know.window.
prefix for setTimeout calls for portability with NodeJS and Dino.There are 5 remaining tests of 140~ that do not pass. I am tracking them in a separate issue.