Skip to content

Commit

Permalink
[infra] Upgrade (almost) all dependencies (#3136)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
aomarks committed Jul 15, 2022
1 parent 2fe2053 commit afff4c1
Show file tree
Hide file tree
Showing 73 changed files with 14,796 additions and 36,110 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-pens-move.md
@@ -0,0 +1,5 @@
---
'@lit/localize-tools': patch
---

Updated xmldom dependency. Minor change to XML attribute formatting can be expected.
5 changes: 5 additions & 0 deletions .changeset/purple-teachers-doubt.md
@@ -0,0 +1,5 @@
---
'@lit/ts-transformers': patch
---

Upgrade ts-clone-node dependency
5 changes: 5 additions & 0 deletions .changeset/seven-roses-serve.md
@@ -0,0 +1,5 @@
---
'@lit-labs/virtualizer': patch
---

Upgrade tslib version
5 changes: 5 additions & 0 deletions .changeset/silly-kings-relax.md
@@ -0,0 +1,5 @@
---
'@lit-labs/ssr': patch
---

Upgrade node-fetch version
5 changes: 5 additions & 0 deletions .changeset/tricky-schools-impress.md
@@ -0,0 +1,5 @@
---
'@lit-labs/virtualizer': patch
---

Upgrade event-target-shim

0 comments on commit afff4c1

Please sign in to comment.