Skip to content

chore(scripts): remove tmpdir prefix and add dev:ui script#2304

Open
HugoRCD wants to merge 2 commits into
mainfrom
chore/dev-ui-only
Open

chore(scripts): remove tmpdir prefix and add dev:ui script#2304
HugoRCD wants to merge 2 commits into
mainfrom
chore/dev-ui-only

Conversation

@HugoRCD

@HugoRCD HugoRCD commented Jul 2, 2026

Copy link
Copy Markdown
Member

This allow to start the dev server without Nuxi (eve)

🔗 Linked issue

📚 Description

This allow to start the dev server without Nuxi (eve)
@HugoRCD HugoRCD self-assigned this Jul 2, 2026
@HugoRCD HugoRCD requested a review from atinux as a code owner July 2, 2026 08:10
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
nuxt Error Error Jul 2, 2026 1:59pm

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

We've flagged this as a potential contribution without a human behind it. We welcome the thoughtful use of AI tools when contributing, but ask all contributors to follow two core principles:

  1. Never let an LLM speak for you - all comments, issues, and PR descriptions should be written in your own words, reflecting your own understanding.
  2. Never let an LLM think for you - only submit contributions you fully understand and can explain.

Please review these AI-assisted contribution guidelines and update this contribution if needed.

If this was flagged in error, we apologise! 😳 Just let us know. 🙏

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@HugoRCD, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 11 minutes

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).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 215fc4a8-784c-4098-90f2-cd6adcc0e59f

📥 Commits

Reviewing files that changed from the base of the PR and between 1b6747b and c77ad78.

📒 Files selected for processing (1)
  • package.json
📝 Walkthrough

Walkthrough

The package.json development scripts were updated. The dev script no longer includes the TMPDIR=/tmp prefix. A new dev:ui script was added that sets EVE_BASE_URL and runs nuxt dev --ui-only. The dev:full script was simplified to run plain nuxt dev, removing its previous TMPDIR=/tmp prefix.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Changes

File Change Summary
package.json Updated dev script, added dev:ui script, updated dev:full script

Related issues: None mentioned in the provided information.

Related PRs: None mentioned in the provided information.

Suggested labels: chore, tooling

Suggested reviewers: None specified based on the provided information.

Poem
A rabbit hops through scripts anew,
No more TMPDIR in the queue,
Dev, dev:ui, dev:full in line,
Three little commands, clean and fine,
Hop, hop, hooray — the config's true! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the script update: removing the tmpdir prefix and adding the new dev:ui script.
Description check ✅ Passed The description is related to the changeset and explains the dev server startup change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dev-ui-only

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
package.json (1)

8-8: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Inline env var assignment breaks on native Windows shells.

EVE_BASE_URL=http://127.0.0.1:1 nuxt dev --ui-only uses POSIX-style inline env assignment, which fails under native cmd.exe/PowerShell (only works if run via WSL/git-bash). If Windows dev support matters here, use cross-env for portability.

♻️ Proposed fix using cross-env
-    "dev:ui": "EVE_BASE_URL=http://127.0.0.1:1 nuxt dev --ui-only",
+    "dev:ui": "cross-env EVE_BASE_URL=http://127.0.0.1:1 nuxt dev --ui-only",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 8, The dev:ui script currently uses POSIX-style inline
environment assignment, which breaks in native Windows shells. Update the
package.json script that runs nuxt dev --ui-only to use a portable env setter
such as cross-env so EVE_BASE_URL is applied consistently across cmd.exe,
PowerShell, and Unix shells.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@package.json`:
- Line 8: The dev:ui script currently uses POSIX-style inline environment
assignment, which breaks in native Windows shells. Update the package.json
script that runs nuxt dev --ui-only to use a portable env setter such as
cross-env so EVE_BASE_URL is applied consistently across cmd.exe, PowerShell,
and Unix shells.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c3a2fc68-70cb-4adf-ba4b-fb88316cb225

📥 Commits

Reviewing files that changed from the base of the PR and between e35886e and 1b6747b.

📒 Files selected for processing (1)
  • package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant