Skip to content

chore(workspace): regenerate lock file#1686

Merged
thescientist13 merged 9 commits into
masterfrom
chore/regenerate-lock-file
May 30, 2026
Merged

chore(workspace): regenerate lock file#1686
thescientist13 merged 9 commits into
masterfrom
chore/regenerate-lock-file

Conversation

@thescientist13

@thescientist13 thescientist13 commented May 30, 2026

Copy link
Copy Markdown
Member

Related Issue

#1646 / #1633

Documentation

N / A

Summary of Changes

  1. Regenerate lock file (updated test cases / formatting as needed, update to ESM imports)
  2. Lock www/ down to Lit 2.x (to match @evergreen-wc/* range)
  3. Handle Puppeteer <> GitHub Actions shenanigans - [Bug]: Error retrieving document: Error: Could not find Chrome (ver. 114.0.5735.90) puppeteer/puppeteer#10388
  4. Had to add a resolution for yauzl - Zip extraction fail in Node 26.1.0 max-mapper/extract-zip#154

Per the questions / observations in the PRs for those issues (#1645 / #1647), dependencies were not hoisting correctly anymore (hopefully upgrading to a newer package manager will eventually resolve this - #1595 )

BEFORE

➜  greenwood git:(master) ✗ yarn why lit
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "lit"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "lit@3.1.1"
info Has been hoisted to "lit"
info Reasons this module exists
   - "workspace-aggregator-f0e841ef-6957-4954-92cf-7f3621b4d067" depends on it
   - Hoisted from "_project_#@greenwood#cli#lit"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#lit"
   - Hoisted from "_project_#www#lit"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#@lit-labs#ssr-client#lit"
   - Hoisted from "_project_#@greenwood#cli#@shoelace-style#shoelace#lit"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#@lit-labs#ssr#lit"
info Disk size without dependencies: "1.24MB"
info Disk size with unique dependencies: "5.68MB"
info Disk size with transitive dependencies: "5.77MB"
info Number of shared dependencies: 5
=> Found "@evergreen-wc/eve-button#lit@2.8.0"
info This module exists because "_project_#www#@evergreen-wc#eve-button" depends on it.
info Disk size without dependencies: "1.3MB"
info Disk size with unique dependencies: "5.75MB"
info Disk size with transitive dependencies: "5.83MB"
info Number of shared dependencies: 5
=> Found "@evergreen-wc/eve-container#lit@2.8.0"
info This module exists because "_project_#www#@evergreen-wc#eve-container" depends on it.
info Disk size without dependencies: "1.3MB"
info Disk size with unique dependencies: "5.75MB"
info Disk size with transitive dependencies: "5.83MB"
info Number of shared dependencies: 5
=> Found "@spectrum-web-components/styles#lit@3.2.1"
info This module exists because "_project_#@greenwood#cli#@spectrum-web-components#styles" depends on it.
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "5.71MB"
info Disk size with transitive dependencies: "5.8MB"
info Number of shared dependencies: 5
=> Found "@uswds/web-components#lit@3.2.1"
info This module exists because "_project_#@greenwood#cli#@uswds#web-components" depends on it.
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "5.71MB"
info Disk size with transitive dependencies: "5.8MB"
info Number of shared dependencies: 5
=> Found "@awesome.me/webawesome#lit@3.3.1"
info This module exists because "_project_#@greenwood#cli#@awesome.me#webawesome" depends on it.
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "5.71MB"
info Disk size with transitive dependencies: "5.8MB"
info Number of shared dependencies: 5
=> Found "@spectrum-web-components/base#lit@3.2.1"
info This module exists because "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#base" depends on it.
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "5.71MB"
info Disk size with transitive dependencies: "5.8MB"
info Number of shared dependencies: 5
=> Found "@spectrum-web-components/reactive-controllers#lit@3.2.1"
info This module exists because "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#picker#@spectrum-web-components#reactive-controllers" depends on it.
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "5.71MB"
info Disk size with transitive dependencies: "5.8MB"
info Number of shared dependencies: 5
✨  Done in 0.57s.

➜  greenwood git:(master) ✗ yarn why @lit-labs/ssr-dom-shim
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "@lit-labs/ssr-dom-shim"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "@lit-labs/ssr-dom-shim@1.2.1"
info Has been hoisted to "@lit-labs/ssr-dom-shim"
info Reasons this module exists
   - "workspace-aggregator-3b7b541c-7b89-4eb2-a115-fb01108858fc" depends on it
   - Hoisted from "_project_#www#@evergreen-wc#eve-button#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-container#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-button#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-container#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#styles#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@uswds#web-components#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#styles#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@uswds#web-components#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#shared#@lit-labs#observers#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#base#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#base#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#picker#@spectrum-web-components#reactive-controllers#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#picker#@spectrum-web-components#reactive-controllers#lit#lit-element#@lit-labs#ssr-dom-shim"
info Disk size without dependencies: "64KB"
info Disk size with unique dependencies: "64KB"
info Disk size with transitive dependencies: "64KB"
info Number of shared dependencies: 0
=> Found "@lit/reactive-element#@lit-labs/ssr-dom-shim@1.1.2"
info This module exists because "_project_#@lit#reactive-element" depends on it.
info Disk size without dependencies: "64KB"
info Disk size with unique dependencies: "64KB"
info Disk size with transitive dependencies: "64KB"
info Number of shared dependencies: 0
=> Found "lit-element#@lit-labs/ssr-dom-shim@1.1.2"
info This module exists because "_project_#lit-element" depends on it.
info Disk size without dependencies: "64KB"
info Disk size with unique dependencies: "64KB"
info Disk size with transitive dependencies: "64KB"
info Number of shared dependencies: 0
=> Found "@lit-labs/ssr#@lit-labs/ssr-dom-shim@1.1.2"
info This module exists because "_project_#@greenwood#plugin-renderer-lit#@lit-labs#ssr" depends on it.
info Disk size without dependencies: "64KB"
info Disk size with unique dependencies: "64KB"
info Disk size with transitive dependencies: "64KB"
info Number of shared dependencies: 0
=> Found "@awesome.me/webawesome#@lit-labs/ssr-dom-shim@1.4.0"
info Reasons this module exists
   - "_project_#@greenwood#cli#@awesome.me#webawesome#lit#@lit#reactive-element" depends on it
   - Hoisted from "_project_#@greenwood#cli#@awesome.me#webawesome#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#cli#@awesome.me#webawesome#lit#lit-element#@lit-labs#ssr-dom-shim"
info Disk size without dependencies: "128KB"
info Disk size with unique dependencies: "128KB"
info Disk size with transitive dependencies: "128KB"
info Number of shared dependencies: 0
✨  Done in 0.36s.

AFTER

➜  greenwood git:(master) ✗ yarn why lit
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "lit"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "lit@3.3.3"
info Has been hoisted to "lit"
info Reasons this module exists
   - "workspace-aggregator-e2a927bb-ce47-43ac-93b2-466a446cbbb1" depends on it
   - Hoisted from "_project_#@greenwood#cli#lit"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#lit"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#styles#lit"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#@lit-labs#ssr-client#lit"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#@lit-labs#ssr#lit"
   - Hoisted from "_project_#@greenwood#cli#@uswds#web-components#lit"
   - Hoisted from "_project_#@greenwood#cli#@awesome.me#webawesome#lit"
   - Hoisted from "_project_#@greenwood#cli#@shoelace-style#shoelace#lit"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#base#lit"
   - Hoisted from "_project_#@greenwood#cli#@uswds#web-components#@uswds#uswds#lit"
   - Hoisted from "_project_#@greenwood#cli#@spectrum-web-components#action-menu#@spectrum-web-components#field-label#@spectrum-web-components#reactive-controllers#lit"
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "5.67MB"
info Disk size with transitive dependencies: "5.91MB"
info Number of shared dependencies: 5
=> Found "www#lit@2.8.0"
info This module exists because "_project_#www" depends on it.
info Disk size without dependencies: "1.3MB"
info Disk size with unique dependencies: "5.7MB"
info Disk size with transitive dependencies: "5.94MB"
info Number of shared dependencies: 5
=> Found "@evergreen-wc/eve-button#lit@2.8.0"
info This module exists because "_project_#www#@evergreen-wc#eve-button" depends on it.
info Disk size without dependencies: "1.3MB"
info Disk size with unique dependencies: "5.7MB"
info Disk size with transitive dependencies: "5.94MB"
info Number of shared dependencies: 5
=> Found "@evergreen-wc/eve-container#lit@2.8.0"
info This module exists because "_project_#www#@evergreen-wc#eve-container" depends on it.
info Disk size without dependencies: "1.3MB"
info Disk size with unique dependencies: "5.7MB"
info Disk size with transitive dependencies: "5.94MB"
info Number of shared dependencies: 5
✨  Done in 0.51s.

➜  greenwood git:(master) ✗ yarn why @lit-labs/ssr-dom-shim
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "@lit-labs/ssr-dom-shim"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "@lit-labs/ssr-dom-shim@1.6.0"
info Reasons this module exists
   - "_project_#@lit#reactive-element" depends on it
   - Hoisted from "_project_#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#@greenwood#plugin-renderer-lit#@lit-labs#ssr#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-button#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-container#lit#@lit#reactive-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-button#lit#lit-element#@lit-labs#ssr-dom-shim"
   - Hoisted from "_project_#www#@evergreen-wc#eve-container#lit#lit-element#@lit-labs#ssr-dom-shim"
info Disk size without dependencies: "220KB"
info Disk size with unique dependencies: "220KB"
info Disk size with transitive dependencies: "220KB"
info Number of shared dependencies: 0
✨  Done in 0.33s.

@thescientist13 thescientist13 marked this pull request as draft May 30, 2026 19:35
@thescientist13 thescientist13 moved this from 👀 In review to 🏗 In progress in [Greenwood] Phase 10 - Ecosystem Compat May 30, 2026
@thescientist13 thescientist13 moved this from 🏗 In progress to 👀 In review in [Greenwood] Phase 10 - Ecosystem Compat May 30, 2026
@thescientist13 thescientist13 marked this pull request as ready for review May 30, 2026 20:04
@thescientist13 thescientist13 added this to the 1.0 milestone May 30, 2026
@thescientist13 thescientist13 added enhancement Improve something existing (e.g. no docs, new APIs, etc) documentation Greenwood specific docs Plugins Greenwood Plugins CLI and removed CLI labels May 30, 2026
@thescientist13 thescientist13 merged commit 6a36dc0 into master May 30, 2026
10 checks passed
@thescientist13 thescientist13 deleted the chore/regenerate-lock-file branch May 30, 2026 22:41
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in [Greenwood] Phase 10 - Ecosystem Compat May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alpha.6 chore unit testing, maintenance, etc dependencies Pull requests that update a dependency file documentation Greenwood specific docs enhancement Improve something existing (e.g. no docs, new APIs, etc) Plugins Greenwood Plugins v0.34.0

Projects

Development

Successfully merging this pull request may close these issues.

enable support for default custom element definition exports for Lit SSR pages and layouts Support CSS Module scripts in Lit SSR renderer plugin

1 participant