Skip to content

Commit

Permalink
[FEATURE] Automatic extraction (#58)
Browse files Browse the repository at this point in the history
* Added `bikeshed-to-ts` package

* Added spec repo as a submodule

* Added script to generate the types file

* Updated definition file with autogenerated version + fixes

* Updated gpuweb submodule

* Updated bikeshed-to-ts

* Updated generation script

* Updated types definition file

* Updated gpuweb submodule

* `generate` script creates `dist/generated.d.ts`

* Updated bikeshed-to-ts

* `generate` script creates an `index.d.ts` file in the `generated` folder

* Added `/generated/` to gitignore

* Switched to using npm

* revert dist/index.d.ts change

Co-authored-by: Kai Ninomiya <[email protected]>
  • Loading branch information
darionco and kainino0x authored Mar 11, 2021
1 parent b06599e commit a3b8dd8
Show file tree
Hide file tree
Showing 5 changed files with 1,006 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/dist/
/node_modules/
/generated/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "gpuweb"]
path = gpuweb
url = https://github.com/gpuweb/gpuweb.git
1 change: 1 addition & 0 deletions gpuweb
Submodule gpuweb added at d0a592
Loading

0 comments on commit a3b8dd8

Please sign in to comment.