Skip to content

Nuxt 4#79

Merged
ejfine merged 6 commits intomainfrom
nuxt-4
Aug 11, 2025
Merged

Nuxt 4#79
ejfine merged 6 commits intomainfrom
nuxt-4

Conversation

@ejfine
Copy link
Contributor

@ejfine ejfine commented Aug 11, 2025

Link to Issue or Message thread

#75

Why is this change necessary?

Start using Nuxt 4

How does this change address the issue?

Bumps dependencies

What side effects does this change have?

Downstream templates need to use nuxt 4

How is this change tested?

downstream repos using nuxt 4

Other

using workspaceFolder in devcontainer
ignoring generated graphql for more pre-commit hooks

Summary by CodeRabbit

  • New Features

    • Added new template options: nuxt-icon, ESLint 9, Zod 4, and Nuxt Apollo.
  • Chores

    • Upgraded dependencies: Nuxt to 4.x, Pulumi (core and AWS), and boto3.
    • Switched devcontainer linter config to workspace-relative path; updated context hash comment.
    • Excluded generated/graphql.ts from end-of-file-fixer in pre-commit to avoid modifying generated code.

@ejfine ejfine requested a review from Copilot August 11, 2025 10:46
@ejfine ejfine self-assigned this Aug 11, 2025
@coderabbitai
Copy link

coderabbitai bot commented Aug 11, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updates devcontainer ruff configuration paths to workspace-relative, adjusts a context hash comment, adds a pre-commit exclusion for a generated file, bumps versions in a runtime context, and extends the template context with new dependency keys, keeping signatures unchanged.

Changes

Cohort / File(s) Change Summary
Devcontainer ruff path updates
.devcontainer/devcontainer.json, template/.devcontainer/devcontainer.json.jinja-base
Switched ruff.configuration from absolute to ${workspaceFolder}/ruff-test.toml; updated a context hash comment in the concrete devcontainer file.
Pre-commit EOF fixer exclude
.pre-commit-config.yaml
Added generated/graphql.ts to the end-of-file-fixer exclude pattern.
Runtime context version bumps
extensions/context.py
Bumped pulumi, pulumi-aws, boto3, nuxt; added nuxt-icon, eslint, zod, and nuxt-apollo versions to returned context.
Template context additions
template/extensions/context.py.jinja-base
Inserted new context keys: nuxt_icon_version, eslint_version, zod_version, nuxt_apollo_version; no signature or control-flow changes.

Sequence Diagram(s)

sequenceDiagram
  actor Developer
  participant Copier
  participant ContextUpdater as ContextUpdater.hook
  participant Template

  Developer->>Copier: Run template generation
  Copier->>ContextUpdater: Request context dict
  ContextUpdater-->>Copier: Context with new version keys
  Copier->>Template: Render using updated context
  Template-->>Developer: Generated project files
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • Update Lint config #70: Also adjusts .pre-commit excludes for generated GraphQL TS files and touches devcontainer/ruff config, overlapping in config scope and intent.

Poem

In a workspace burrow, tidy and neat,
I nudge ruff’s path with hop-light feet.
I skip EOF on files auto-spun,
Add shiny versions—oh what fun!
Context grows, templates bloom—
Thump-thump! Code carrots perfume the room. 🥕🐇


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 70418fe and 4e75642.

📒 Files selected for processing (5)
  • .devcontainer/devcontainer.json (2 hunks)
  • .pre-commit-config.yaml (1 hunks)
  • extensions/context.py (2 hunks)
  • template/.devcontainer/devcontainer.json.jinja-base (1 hunks)
  • template/extensions/context.py.jinja-base (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nuxt-4

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the template to use Nuxt 4 and updates related dependencies. The main focus is on modernizing the frontend framework while improving development environment configuration.

Key changes:

  • Upgrades Nuxt from version ^3.18.0 to ^4.0.3
  • Updates various dependency versions including Pulumi, boto3, and adds new frontend dependencies
  • Improves devcontainer configuration by using workspace-relative paths

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
extensions/context.py Updates dependency versions for Nuxt 4 upgrade and adds new frontend dependencies
template/extensions/context.py.jinja-base Adds context variables for new frontend dependencies
template/.devcontainer/devcontainer.json.jinja-base Updates ruff configuration path to use workspaceFolder variable
.devcontainer/devcontainer.json Updates ruff configuration path and regenerates context hash
.pre-commit-config.yaml Adds exclusion for generated GraphQL files

@ejfine ejfine merged commit a8d5152 into main Aug 11, 2025
6 of 7 checks passed
@ejfine ejfine deleted the nuxt-4 branch August 11, 2025 10:55
@coderabbitai coderabbitai bot mentioned this pull request Sep 4, 2025
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.

2 participants