Skip to content

fix(justfile): use --ignore-workspace for e2e pnpm commands#983

Merged
camc314 merged 2 commits into
oxc-project:mainfrom
swandir:fix/justfile-e2e-ignore-workspace
Jun 3, 2026
Merged

fix(justfile): use --ignore-workspace for e2e pnpm commands#983
camc314 merged 2 commits into
oxc-project:mainfrom
swandir:fix/justfile-e2e-ignore-workspace

Conversation

@swandir

@swandir swandir commented May 23, 2026

Copy link
Copy Markdown
Contributor

#968 added PNPM workspace configuration and updated CI commands to use --ignore-workspace. The justfile still runs pnpm commands as before, causing pnpm to ignore the nested e2e package since it's not listed in the workspace. Because of that just test fails due to missing vitest on a fresh clone.

swandir and others added 2 commits May 23, 2026 18:31
The root pnpm-workspace.yaml causes pnpm invoked from e2e/ to resolve
the parent workspace and skip installing e2e's own deps, leaving
vitest missing after `just init`. CI already works around this with
`pnpm --ignore-workspace`; apply the same flag in the justfile so
local `just init` and `just test` work out of the box.
@camc314 camc314 self-assigned this Jun 3, 2026

@camc314 camc314 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.

thansk!

@camc314 camc314 enabled auto-merge (squash) June 3, 2026 10:12
@camc314 camc314 merged commit bc12602 into oxc-project:main Jun 3, 2026
8 checks passed
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