Skip to content

fix(dev): suppress pnpm TTY prompts and lockfile age checks in dev script#3701

Merged
esengine merged 2 commits into
esengine:main-v2from
CVEngineer66:fix/dev-pnpm-tty
Jun 9, 2026
Merged

fix(dev): suppress pnpm TTY prompts and lockfile age checks in dev script#3701
esengine merged 2 commits into
esengine:main-v2from
CVEngineer66:fix/dev-pnpm-tty

Conversation

@CVEngineer66

Copy link
Copy Markdown
Contributor

pnpm v11 aborts node_modules removal without a TTY and rejects lockfiles with packages published within the minimum release age window. Both checks are meant for CI safety and are irrelevant during local development.

Set PNPM_CONFIG_CONFIRM_MODULES_PURGE=false and PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 before launching wails dev.

@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 9, 2026
wufengfan added 2 commits June 9, 2026 21:22
…ript

pnpm v11 aborts node_modules removal without a TTY and rejects lockfiles
with packages published within the minimum release age window. Both checks
are meant for CI safety and are irrelevant during local development.

Set PNPM_CONFIG_CONFIRM_MODULES_PURGE=false and
PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 before launching wails dev.

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Low-risk dev-tooling fix. Verified statically: bash -n dev passes, the two exports sit before exec wails dev so they're inherited by the pnpm child, and confirm-modules-purge / minimum-release-age are real pnpm settings addressed via pnpm's documented PNPM_CONFIG_* env convention. Couldn't reproduce the pnpm v11 headless abort locally (have v10.22), but the change is purely additive env vars in a dev launcher — no impact on CI or the shipped build. Thanks.

@esengine esengine merged commit 7b256fc into esengine:main-v2 Jun 9, 2026
13 checks passed
SuMuxi66 pushed a commit to SuMuxi66/DeepSeek-Reasonix that referenced this pull request Jun 10, 2026
…ript (esengine#3701)

* fix(dev): suppress pnpm TTY prompts and lockfile age checks in dev script

pnpm v11 aborts node_modules removal without a TTY and rejects lockfiles
with packages published within the minimum release age window. Both checks
are meant for CI safety and are irrelevant during local development.

Set PNPM_CONFIG_CONFIRM_MODULES_PURGE=false and
PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 before launching wails dev.

* ci: trigger re-run

---------

Co-authored-by: wufengfan <wufengfan@wufengfandeMacBook-Air.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants