Skip to content

Commit

Permalink
Add types for meshopt_decoder lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jul 1, 2023
1 parent 15e0d2d commit a37756c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"fflate": "~0.6.9",
"husky": "^8.0.3",
"lil-gui": "~0.17.0",
"meshoptimizer": "~0.18.1",
"prettier": "2.8.8",
"pretty-quick": "^3.1.3",
"source-map-support": "^0.5.21",
Expand Down
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"matchPackageNames": ["lil-gui"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"matchPackageNames": ["meshoptimizer"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
}
]
}
1 change: 1 addition & 0 deletions types/three/OTHER_FILES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ examples/jsm/helpers/VertexNormalsHelper.d.ts
examples/jsm/helpers/VertexTangentsHelper.d.ts
examples/jsm/interactive/HTMLMesh.d.ts
examples/jsm/interactive/InteractiveGroup.d.ts
examples/jsm/libs/meshopt_decoder.module.d.ts
examples/jsm/lights/LightProbeGenerator.d.ts
examples/jsm/lines/Wireframe.d.ts
examples/jsm/lines/WireframeGeometry2.d.ts
Expand Down
1 change: 1 addition & 0 deletions types/three/examples/jsm/libs/meshopt_decoder.module.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'meshoptimizer/meshopt_decoder.module';
3 changes: 2 additions & 1 deletion types/three/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@tweenjs/tween.js": "~18.6.4",
"fflate": "~0.6.9",
"lil-gui": "~0.17.0"
"lil-gui": "~0.17.0",
"meshoptimizer": "~0.18.1"
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2700,6 +2700,13 @@ __metadata:
languageName: node
linkType: hard

"meshoptimizer@npm:~0.18.1":
version: 0.18.1
resolution: "meshoptimizer@npm:0.18.1"
checksum: 101dbed8abd4cf167cdb7a0bc13db90dd0743332c689e43b18cc5254d238f0766750752432401fa63dc7e9e32399ef68daacf48f0d89db1484042c1761c7362d
languageName: node
linkType: hard

"micromatch@npm:^4.0.4":
version: 4.0.5
resolution: "micromatch@npm:4.0.5"
Expand Down Expand Up @@ -3700,6 +3707,7 @@ __metadata:
fflate: ~0.6.9
husky: ^8.0.3
lil-gui: ~0.17.0
meshoptimizer: ~0.18.1
prettier: 2.8.8
pretty-quick: ^3.1.3
source-map-support: ^0.5.21
Expand Down

0 comments on commit a37756c

Please sign in to comment.