chore: Check types.

Enabling type checking involves a full rearrangement of the
  build process, as well as supplying types for some of the
  packages. The X_ITE types are still a work in progress, but
  they are enough for this initial state of the project to
  compile and run.

  Resolves #14.
This commit is contained in:
Glen Whitney 2023-09-05 23:20:17 -07:00
parent a8707386aa
commit 6bcec494e2
15 changed files with 736 additions and 32 deletions

3
tools/copyDeps.bash Normal file
View file

@ -0,0 +1,3 @@
# Takes one parameter, the destination directory
mkdir -p $1
cp -rL node_modules/vrml1to97/{deps,vrml1to97,streamToString.js} $1

10
tools/fetchDeps.bash Normal file
View file

@ -0,0 +1,10 @@
mkdir -p etc/deps/geogebra
cp etc/depPreamble.text etc/deps/geogebra/api.ts
curl 'https://raw.githubusercontent.com/netless-io/netless-app/master/packages/app-geogebra/src/types/api.ts' >> etc/deps/geogebra/api.ts
cp etc/depPreamble.text etc/deps/geogebra/entry.ts
curl 'https://raw.githubusercontent.com/netless-io/netless-app/master/packages/app-geogebra/src/types/entry.ts' >> etc/deps/geogebra/entry.ts
cp etc/depPreamble.text etc/deps/geogebra/params.ts
curl 'https://raw.githubusercontent.com/netless-io/netless-app/master/packages/app-geogebra/src/types/params.ts' >> etc/deps/geogebra/params.ts