Skip to content

fix(build): migrate pnpm policy to workspace settings - #52

Open
Fectivnfy112357 wants to merge 4 commits into
mainfrom
fix/pnpm-workspace-policy
Open

Fectivnfy112357 wants to merge 4 commits into
mainfrom
fix/pnpm-workspace-policy

Conversation

@Fectivnfy112357

@Fectivnfy112357 Fectivnfy112357 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Change

Refs #25. Move dependency overrides, hoisted linking and the native build allowlist into pnpm-workspace.yaml. Use allowBuilds for modern pnpm. Pin pnpm 10.34.9 in the root manifest, active WebUI workflows and source-build instructions. Keep the resolved dependency graph unchanged; the generated lockfile only reorders optional-dependency sections.

This PR is stacked on #50 to inherit the source-export fix. Retarget to main after #50 lands.

Validation

  • Reproduced on the old configuration with pnpm 11.22.0. The CLI reported the package.json keys as ignored and returned no configured overrides.
  • pnpm 9.12.0 did not apply workspace YAML overrides in a minimal clean fixture. The CI pin therefore moves together with the workspace configuration.
  • Clean Linux install with pnpm 10.34.9 and --frozen-lockfile passed for all 34 workspaces. The three allowed modules ran their install hooks. An in-memory SQLite query, node-pty module loading and an esbuild transform passed.
  • The full local profile passed source export, release-tools (65 passed, 1 skipped) and TUI lint, and is still running. Native Windows and macOS checks remain pending. Performance: basic.

Publication and contribution checks

No new publication paths or dependencies. The AOCI changes update the already tracked entries and baseline. No credentials or real user data are included.

pnpm 11 verification

A clean pnpm 11.22.0 install first reported ERR_PNPM_IGNORED_BUILDS for three previously unapproved packages. Commit 726597fc1 explicitly denies those same scripts while keeping the three approvals. With the scratch manifest pinned to 11.22.0, the final configuration passed a clean frozen install across all 34 workspaces and the SQLite, node-pty and esbuild smoke checks.

@Fectivnfy112357
Fectivnfy112357 changed the base branch from fix/confirmed-webui-release-issues to main November 20, 2026 08:48
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