Skip to content

fix(nitro): respect workflow.dirs option#2002

Open
EfeDurmaz16 wants to merge 1 commit into
vercel:mainfrom
EfeDurmaz16:efe/fix-nitro-workflow-dirs
Open

fix(nitro): respect workflow.dirs option#2002
EfeDurmaz16 wants to merge 1 commit into
vercel:mainfrom
EfeDurmaz16:efe/fix-nitro-workflow-dirs

Conversation

@EfeDurmaz16
Copy link
Copy Markdown

Summary

  • Forward nitro.options.workflow?.dirs into both Nitro workflow builders
  • Preserve the existing ['.'] scan default when workflow.dirs is unset\n- Add regression coverage for VercelBuilder and LocalBuilder\n- Add a patch changeset for @workflow/nitro\n\nCloses [nitro] workflow.dirs config option is ignored by VercelBuilder and LocalBuilder #1684.\n\n## Verification\n- pnpm --filter @workflow/rollup build\n- pnpm --filter @workflow/builders build\n- pnpm --filter @workflow/vite build\n- pnpm --filter @workflow/nitro exec vitest run src/index.test.ts -t 'workflow.dirs forwarding'\n- pnpm --filter @workflow/nitro build\n- pnpm exec biome check packages/nitro/src/builders.ts packages/nitro/src/index.test.ts .changeset/nitro-workflow-dirs.md\n- git diff --check\n- pnpm changeset status --since=origin/main\n\nNote: local pnpm commands warn because this machine is on Node v26.0.0 while the repo engine allows Node 18/20/22/24. A direct full vitest run src/index.test.ts currently fails in two pre-existing virtual-handler assertions unrelated to this builder-config change; the new workflow.dirs forwarding tests pass.

Signed-off-by: EfeDurmaz16 <efebarandurmaz05@gmail.com>
@EfeDurmaz16 EfeDurmaz16 requested a review from a team as a code owner May 15, 2026 09:24
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

@EfeDurmaz16 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

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