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 ES Module format #475

Closed
wants to merge 32 commits into from

Commits on Sep 12, 2021

  1. Configuration menu
    Copy the full SHA
    e46aa82 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. finish initial ESM format in source files, built ESM, CJS, and UMD ou…

    …tput with Rollup instead of Browserify
    
    TODO: Some shims for Node.js were disabled to get this initially building for the browser.
    trusktr committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    2dc1db6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e71261 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20385ad View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. Configuration menu
    Copy the full SHA
    a6ca753 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Configuration menu
    Copy the full SHA
    17d73e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. get mocha tests passing

    trusktr committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    31224af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcc10f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aee7a57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a7b720 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'develop' into convert-to-esm

    * develop:
      (actions) also run on PR. (RobotWebTools#479)
      Fix security issues (RobotWebTools#478)
    trusktr committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    fbd53bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7db2591 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. install before testing

    trusktr committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    180e1e7 View commit details
    Browse the repository at this point in the history
  2. delete package-lock.json to fix the fsevents error on CI. Plus packag…

    …e-lock.json is not useful for libraries (it does not get published with libraries), and having it reduces chances of us catching (during development or on CI) breaks in our library due to accidental in-range breaking changes in dependencies
    trusktr committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    675ca49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3799a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Configuration menu
    Copy the full SHA
    54c6316 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'develop' into convert-to-esm

    * develop:
      Bump mocha from 9.1.1 to 9.1.2 (RobotWebTools#480)
    trusktr committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ada3edf View commit details
    Browse the repository at this point in the history
  3. update npm version in CI

    trusktr committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    17f9e7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    793c940 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bdc7f68 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    30fd409 View commit details
    Browse the repository at this point in the history
  7. update eslint to 8.0.0-rc.0

    trusktr committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    98edbfe View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    42d6590 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bd5ed0c View commit details
    Browse the repository at this point in the history
  10. build before testing

    trusktr committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    42b3004 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1d428a1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f3c43db View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c8dda47 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. make the repo friendly to npm install

    This allows people to install the package from a git repo (f.e. `npm install roslib@github-username/roslibjs`). by performing the `build` process in the `prepare` script. `prepare` is not only is executed before the `publish` script during publish (so that case is still satisfied), but `prepare` is also executed by `npm` during the `install` process. During `npm install` `devDependencies` are installed in a temporary folder, so those dependencies are even available to the `prepare` script.
    
    The end result is that someone can fork the repo, and easily install it, without having to publish the package under a new name, and without having to build and commit build artifacts into the repo (this is why the build artifacts were recently added to `.gitignore` in this repo a few commits back).
    
    People who rely on global variable script tags can still use URLs like `https://unpkg.com/browse/roslib@1.1.0/build/roslib.js` in their script tags src attributes, or just download such files to the app locally.
    trusktr committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    ee2d985 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    893751a View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2021

  1. Configuration menu
    Copy the full SHA
    2ce4ddc View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. simpify .npmignore

    trusktr committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    278f847 View commit details
    Browse the repository at this point in the history