Skip to content

chore: upgrade frontend stack before UI redesign - #175

Merged
hoangsvit merged 15 commits into
mainfrom
chore/upgrade-frontend-stack-2026
Oct 7, 2026
Merged

hoangsvit merged 15 commits into
mainfrom
chore/upgrade-frontend-stack-2026

Conversation

@hoangsvit

@hoangsvit hoangsvit commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Goal

Upgrade the frontend/tooling stack before starting the UI redesign.

Upgraded

  • Nuxt 3.21.11 → 4.6.0
  • Vue resolved to 3.5.43 through Nuxt 4
  • Vite resolved to 8.3.3
  • Tailwind CSS 3.4.19 → 4.3.3
  • daisyUI 4.12.10 → 5.7.47
  • @nuxt/image 1.11.0 → 2.1.0
  • @nuxtjs/i18n 9.5.6 → 10.6.0
  • @nuxtjs/color-mode 3.5.2 → 4.0.1
  • @nuxtjs/sitemap 6.1.1 → 8.6.1
  • @pinia/nuxt 0.5.5 → 1.0.2
  • Pinia 2.2.4 → 4.0.3
  • @vesp/nuxt-fontawesome 1.1.0 → 2.0.0
  • Font Awesome icon packs 6.6.0 → 7.3.1
  • Moment 2.30.1 → 2.31.0
  • Vidstack 1.12.11 → 1.15.7
  • added @tailwindcss/vite 4.3.3
  • added nuxt-site-config 4.2.3

Packages already on their current published version were kept unchanged.

Migration changes

  • migrated Tailwind integration from the Nuxt Tailwind 3 module to the official Tailwind 4 Vite plugin
  • added assets/css/main.css with Tailwind 4 + daisyUI 5 CSS configuration
  • removed legacy tailwind.config.js
  • kept the current root project layout explicitly while moving to Nuxt 4
  • updated i18n config for v10
  • rebuilt package-lock.json from scratch with Node 24
  • pinned patched simple-git@4.0.2 / @simple-git/argv-parser@2.0.1 through npm overrides

Verification

  • npm ci: pass
  • unit tests: 24/24 pass
  • npm run generate: pass
  • SEO artifact verification: pass
  • GitHub Actions build: pass

Security audit

The initial fresh install reported 19 high/critical findings. The patched simple-git override removes the critical chain, leaving 13 high / 0 critical findings.

The remaining findings are currently upstream chains with no patched npm release:

Do not use npm audit fix --force: npm proposes downgrading core packages instead of applying a real patch.

Follow-up for the UI redesign

vidstack@1.15.7 is the latest Vidstack release but is deprecated. The player should be evaluated for migration to Video.js 10 as part of the player/UI redesign rather than mixed into this framework-upgrade PR.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Free
  • Run ID: 3d4bcdca-d453-4396-a44f-8fd25bc1af9e
📥 Commits

Reviewing files that changed from the base of the PR and between d19aca4 and 0a6bdba.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json
  • tailwind.config.js

ePlus-DEV is on CodeRabbit Free, which includes PR summaries. Ask your admin to upgrade for code reviews.

  • Ask an admin to upgrade

Open in CodeRabbit

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Free
  • Run ID: d6f19fbc-97dc-4856-ac3c-8f48c6a64c28
📥 Commits

Reviewing files that changed from the base of the PR and between d543152 and 1cb08d5.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • .github/workflows/dependency-upgrade.yml
  • assets/css/main.css
  • nuxt.config.ts
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Updates the frontend dependency stack and Nuxt configuration for Tailwind through Vite. Adds a GitHub Actions workflow that refreshes dependency files and runs tests on eligible pull requests, then pushes changed files to the pull request branch.

Changes

Frontend Stack Upgrade

Layer / File(s) Summary
Frontend dependency and build configuration
package.json, nuxt.config.ts, assets/css/main.css
Updates Nuxt and related dependencies, configures Tailwind through Vite, adds Tailwind and DaisyUI stylesheet directives, and changes Nuxt directory and i18n settings.
Dependency upgrade workflow
.github/workflows/dependency-upgrade.yml
Adds pull request filters and branch eligibility checks. The workflow regenerates the lockfile and runs tests. If dependency files change, it commits and pushes both files.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant PullRequest
  participant GitHubActions
  participant Npm
  participant Tests
  PullRequest->>GitHubActions: Open, synchronize, or reopen eligible PR
  GitHubActions->>Npm: Regenerate package-lock.json
  GitHubActions->>Tests: Run npm test
  GitHubActions->>PullRequest: Commit and push changed dependency files
Loading
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@hoangsvit
hoangsvit merged commit 112676e into main Oct 7, 2026
3 checks passed
@hoangsvit
hoangsvit deleted the chore/upgrade-frontend-stack-2026 branch October 7, 2026 15:59
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