Skip to content

📦 deps: regenerate lockfile to restore cross-platform optional deps - #85

Merged
scttbnsn merged 1 commit into
dev/v0.9from
fix/lockfile-linux-optional-deps
Aug 11, 2026
Merged

scttbnsn merged 1 commit into
dev/v0.9from
fix/lockfile-linux-optional-deps

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Every Vercel build that actually compiled was failing with Cannot find module '../lightningcss.linux-x64-gnu.node'. The lockfile only carried resolved entries for darwin-arm64 platform binaries (npm/cli#4828 — it was regenerated on macOS with node_modules present, which drops the other platforms' optional deps), so npm ci on Vercel's Linux builder never installed the lightningcss/tailwind-oxide native binaries.

Full lockfile regen restores the complete platform matrix:

  • 114 added entries (the platform binary matrix + missing resolved/integrity fields)
  • 23 transitive deps moved within their existing semver ranges (shiki 4.4.1→4.4.3, caniuse-lite, esbuild 0.28.1→0.28.2, etc.)
  • 0 removed entries

Verified locally: fresh npm ci + npm run build --workspace website exit 0.

Commit uses the legacy gitmoji convention because dev/v0.9's commit hook still enforces it until #84 lands.

The lockfile only carried resolved entries for darwin-arm64 platform
binaries (npm/cli#4828 — regenerated on macOS with node_modules present),
so npm ci on Linux could not install lightningcss-linux-x64-gnu and every
Vercel build failed at the Tailwind step. Full regen restores the complete
platform matrix; 23 transitive deps moved within their existing ranges.
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
getportwing Ready Ready Preview Aug 11, 2026 8:29pm

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7dfb5435-e001-4c97-9a80-3b6b1bdf1a3e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@scttbnsn

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

No files to review.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@scttbnsn
scttbnsn merged commit 82a9801 into dev/v0.9 Aug 11, 2026
42 of 44 checks passed
@scttbnsn
scttbnsn deleted the fix/lockfile-linux-optional-deps branch August 14, 2026 20:54

This branch was successfully deployed

1 active deployment
Preview — a8fd2c36 Deployed Aug 11, 2026 by vercel[bot]
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.

1 participant