Skip to content

fix(build): resolve deploy and preview commands#3481

Merged
pi0 merged 4 commits intov2from
fix/resolve-cmds
Jul 16, 2025
Merged

fix(build): resolve deploy and preview commands#3481
pi0 merged 4 commits intov2from
fix/resolve-cmds

Conversation

@pi0
Copy link
Member

@pi0 pi0 commented Jul 16, 2025

Resolves #3480

With #3388, we have introduced a fix to properly resolve deploy/preview hint commands; however, in the generated nitro.json, frameworks need to support this, which might not be straightforward immediately.

This PR:

  • Resolves commands inside nitro.json
  • Updates the deploy/deploy command in missing places
  • Uses consistent resolution from rootDir instead of cwd also for CLI output (slight behavior change)

@vercel
Copy link

vercel bot commented Jul 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nitro.build ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 9:47am

@pi0 pi0 changed the base branch from v3 to v2 July 16, 2025 09:31
@pi0 pi0 changed the title fix/resolve cmds fix(build): resolve deploy and preview commands Jul 16, 2025
@pi0 pi0 marked this pull request as ready for review July 16, 2025 09:44
@pi0 pi0 merged commit 42a23de into v2 Jul 16, 2025
5 of 6 checks passed
@pi0 pi0 deleted the fix/resolve-cmds branch July 16, 2025 09:47
@Hebilicious Hebilicious mentioned this pull request Sep 14, 2025
8 tasks
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