chore: Check types and add draft full typing for x_ite. (#18)
Enabling type checking involves a full rearrangement of the build process, as well as supplying types for some of the dependencies. Now that (hopefully) all of the methods are typed, can call (for example) browser.setBrowserOption to manage the viewer navigation. Resolves #14. Resolves #17. Reviewed-on: #18 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
This commit is contained in:
parent
a8707386aa
commit
b5478254af
15 changed files with 2767 additions and 33 deletions
3
tools/copyDeps.bash
Normal file
3
tools/copyDeps.bash
Normal 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
10
tools/fetchDeps.bash
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue