Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing babylon types #190

Open
wants to merge 19 commits into
base: mainline2.0
Choose a base branch
from

Conversation

trusktr
Copy link

@trusktr trusktr commented Feb 17, 2024

Note

This is branched off of the branch for

See that PR first. For convenience, here's the diff between the branches, as the Files changed tab will not be useful.

Description

Babylone.js types were not visible within the Babylon host code.

Before:

Screenshot 2024-02-16 at 9 46 37 PM

After:

Screenshot 2024-02-16 at 9 47 34 PM

Related Issue #

Reviewer Testing Instructions

Run npm install && npm run compile-ts at the root of the repo. Then open packages/amazon-sumerian-hosts-babylon/src/Babylon.js/HostObject.js and hover on Babylon APIs and you will see helpful tooltips showing types.

Submission Checklist

I confirm that I have...

  • removed hard-coded Cognito IDs
  • manually smoke-tested the BabylonJS integration tests
  • manually smoke-tested the BabylonJS demos
  • manually smoke-tested the Three.js integration tests
  • manually smoke-tested the Three.js demo

This contribution is licensed under the original MIT-0 license of the repository. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

trusktr added 19 commits August 27, 2023 01:09
* fix-broken-webpack-dependency:
  pin webpack dependency versions so they won't break, and we can update them manually when we need to
…having Webpack provide it, and instead import it as a regular JavaScript module (note that Three.js has deprecated the global and will provide only JavaScript modules at version 0.160)
…bit different than other libs, and we should allow people to try newer versions, while if something breaks we can claim that it at least works with 0.127.0
…ettier, use eslint only for non-formatting rules
… AWS from 'aws-sdk'`, fix three.texttospeech.html test
…o need for `exports` unless multiple paths need configuring, or CommonJS support is needed, but we're no longer explicitly supporting CommonJS modules, and CommonJS users can use the `import()` function to import the lib, and they can even use the `deasync` package if they really really want the import to be "synchronous", so there's really no need to hold onto the past and we can make moving forward as simple and standards-based as possible)
…st CDN link to aws-sdk and use the local version, and update docs as needed for the new ESM format without a required build
…properly appear within the Babylon host code
@trusktr trusktr force-pushed the fix-missing-babylon-types branch from b7eb17a to f6a20f0 Compare February 17, 2024 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Babylon types not visible
1 participant