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

Upgrade tachometer to ES modules, and update dependencies #239

Merged
merged 6 commits into from
Jul 15, 2022
Merged

Conversation

aomarks
Copy link
Member

@aomarks aomarks commented Jul 15, 2022

  • Updates to ES modules, so Node 12 is now required.
  • Updates all dependencies.
  • Updates import styles for ESM.

Copy link
Collaborator

@AndrewJakubowicz AndrewJakubowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@aomarks aomarks merged commit e6c340a into main Jul 15, 2022
@aomarks aomarks deleted the upgrade branch July 15, 2022 18:35
aomarks added a commit to lit/lit that referenced this pull request Jul 15, 2022
- Upgrades almost all dependencies, both dev and prod.

- There were only 2 deps I didn't tackle in this PR, because it seems like they'll need a little more work:
    - parse5 6 -> 7 (cc @43081j, seems like the types API is substantially different now, so I wasn't able to easily do this upgrade).
    - react 17 -> 18 (cc @justinfagnani @taylor-vann I wasn't sure what the implications/requirements for upgrading to react 18 will be, so I didn't even try).

- Consolidated some very common devDeps (e.g. uvu, mocha) into the top-level package.json, for easier future upgrade.

- Removes some unnecessary dependencies I found.

- Updates a few spots where typings changed.

- Removes 350MB (1.6GB -> 1.25GB) and 999 packages (3122 -> 2123), from our install.

- FYI these external PRs were also needed to get things fully upgraded:
  - kenchris/urlpattern-polyfill#101
  - google/tachometer#239
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.

2 participants