Skip to content

chore: update package dependencies and configurations#271

Closed
eliteprox wants to merge 1 commit into
livepeer:mainfrom
eliteprox:chore/bump-deps
Closed

chore: update package dependencies and configurations#271
eliteprox wants to merge 1 commit into
livepeer:mainfrom
eliteprox:chore/bump-deps

Conversation

@eliteprox
Copy link
Copy Markdown
Contributor

@eliteprox eliteprox commented Apr 18, 2026

Summary

This PR is intended to resolve all npm audit findings which are currently blocking the CI

  • Added "analytics": false to nx.json.
  • Updated various package versions in package.json and package-lock.json, including:
    • Upgraded @nx packages to version ^22.6.5.
    • Updated vite to version 8.0.8 and @vitejs/plugin-react to version ^6.0.1.
    • Added new dependencies: @rollup/plugin-terser and next at version 15.5.15.
  • Removed outdated dependencies and cleaned up package-lock.json for better consistency.

Summary

Changes

  • Updated all packages across all plugins

Type

  • Feature
  • Bug fix
  • Refactor
  • Documentation
  • CI / Tooling
  • Plugin (new or update)
  • Dependencies

Plugin(s) Affected

Checklist

  • Tests pass locally
  • Lint passes (npm run lint)
  • Build succeeds (npm run build)
  • No new lint warnings introduced
  • Breaking changes documented below
  • Database migration included (if Prisma schema changed)

Breaking Changes

None

Screenshots / Recordings

Summary by CodeRabbit

Release Notes

  • Chores

    • Updated build tooling and development dependencies across all frontend applications to improve development experience and build performance.
    • Disabled analytics collection in workspace configuration.
  • Security

    • Added HTML sanitization library to enhance security measures.

- Added "analytics": false to nx.json.
- Updated various package versions in package.json and package-lock.json, including:
  - Upgraded @nx packages to version ^22.6.5.
  - Updated vite to version 8.0.8 and @vitejs/plugin-react to version ^6.0.1.
  - Added new dependencies: @rollup/plugin-terser and next at version 15.5.15.
- Removed outdated dependencies and cleaned up package-lock.json for better consistency.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 18, 2026

@eliteprox is attempting to deploy a commit to the Livepeer Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added scope/shell Shell app changes size/XL Extra large PR (500+ lines) scope/sdk Plugin SDK changes scope/packages Shared package changes scope/backend Backend service changes plugin/capacity-planner Capacity Planner plugin plugin/community Community plugin plugin/marketplace Marketplace plugin labels Apr 18, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR is very large (24394 lines changed). Please split it into smaller, focused PRs if possible.

@github-actions github-actions Bot added plugin/developer-api Developer API plugin plugin/plugin-publisher Plugin Publisher plugin labels Apr 18, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

This PR upgrades frontend build tooling across the monorepo by bumping @vitejs/plugin-react to ^6.0.1 and pinning vite to 8.0.8, updates Nx packages to ^22.6.5, pins vitest to 4.1.4, adds Next.js dependency to multiple packages, updates build overrides, and disables Nx analytics workspace-wide.

Changes

Cohort / File(s) Summary
Frontend Vite Toolchain
apps/web-next/package.json, apps/workflows/*/package.json, examples/*/frontend/package.json, plugins/*/frontend/package.json, plugins/service-gateway/frontend/package.json
Bumped @vitejs/plugin-react from ^4.x.x to ^6.0.1 and pinned vite to 8.0.8 (from semver ranges). Added next@15.5.15 to select frontend packages.
Root Workspace Configuration
package.json, nx.json
Updated Nx packages (@nx/js, @nx/node, @nx/react, @nx/vite, @nx/web, nx) from fixed 22.5.3 to ^22.6.5. Added runtime deps: @rollup/plugin-terser@1.0.0, next@15.5.15, vitest@4.1.4. Expanded overrides to pin esbuild, vite, vitest. Bumped minimatch and eslint packages to 10.2.5. Disabled analytics in nx.json.
Build & SDK Packages
packages/plugin-build/package.json, packages/plugin-sdk/package.json
Updated Vite toolchain (@vitejs/plugin-react to ^6.0.1, vite to 8.0.8). Added @nx/react, @nx/vite, next@15.5.15, vite. Bumped @rollup/plugin-terser to ^1.0.0.
Backend Services
examples/daydream-video/backend/package.json, plugins/service-gateway/backend/package.json, services/infrastructure-svc/package.json
Added build tooling and dependencies (@nx/react, @nx/vite, @rollup/plugin-terser, next, vite). Pinned vitest to 4.1.4. Updated vite to 8.0.8 in infrastructure service.
Web-Next Dependency Reordering
apps/web-next/package.json
Moved dompurify within dependencies (no version change). Updated next from 15.5.12 to ^15.5.15.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

scope/packages, scope/infra, size/XL

Suggested reviewers

  • seanhanca
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: update package dependencies and configurations' directly summarizes the main changes, which involve updating dependencies across multiple package.json files and adding a configuration setting to nx.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@eliteprox eliteprox closed this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin/capacity-planner Capacity Planner plugin plugin/community Community plugin plugin/developer-api Developer API plugin plugin/marketplace Marketplace plugin plugin/plugin-publisher Plugin Publisher plugin scope/backend Backend service changes scope/packages Shared package changes scope/sdk Plugin SDK changes scope/shell Shell app changes size/XL Extra large PR (500+ lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant