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

[WIP] Convert to vanilla JavaScript modules (ES Modules) #183

Draft
wants to merge 18 commits into
base: mainline2.0
Choose a base branch
from

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    78199f6 View commit details
    Browse the repository at this point in the history
  2. pin webpack dependency versions so they won't break, and we can updat…

    …e them manually when we need to
    trusktr committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    2999265 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'fix-broken-webpack-dependency' into fix-syntax-for-oculus

    * fix-broken-webpack-dependency:
      pin webpack dependency versions so they won't break, and we can update them manually when we need to
    trusktr committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    2115732 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    388317d View commit details
    Browse the repository at this point in the history
  2. remove webpack config and update tests. Avoid using global THREE and …

    …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)
    trusktr committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    a79d796 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    12447a2 View commit details
    Browse the repository at this point in the history
  2. relax the three.js peer dependency version, three.js versioning is a …

    …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
    trusktr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ff18836 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    747003f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e0708e View commit details
    Browse the repository at this point in the history
  5. update package-lock

    trusktr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    04ff310 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    934a8ef View commit details
    Browse the repository at this point in the history
  7. remove the indent rule from eslintrc, all formatting is handled by pr…

    …ettier, use eslint only for non-formatting rules
    trusktr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ee0b16d View commit details
    Browse the repository at this point in the history
  8. remove credentials

    trusktr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    e088aeb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a92d934 View commit details
    Browse the repository at this point in the history
  10. remove the last AWS global from eslintrc, ensure all examples `import…

    … AWS from 'aws-sdk'`, fix three.texttospeech.html test
    trusktr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    8adf65b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f5b9a52 View commit details
    Browse the repository at this point in the history
  12. update packages to type:module, simplified with only main fields (n…

    …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)
    trusktr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    f41abf0 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. add scripts for specifically running integration tests, remove one la…

    …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
    trusktr committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    f2f7aba View commit details
    Browse the repository at this point in the history