Skip to content

build: use pnpm and workspace:* for @prosopo/config - #10

Merged
HughParry merged 1 commit into
masterfrom
feat/pnpm-migration-v2
Oct 2, 2026
Merged

HughParry merged 1 commit into
masterfrom
feat/pnpm-migration-v2

Conversation

@HughParry

@HughParry HughParry commented Sep 29, 2026 •

Copy link
Copy Markdown

What changed

Part of moving our repos from npm to pnpm. This package lives inside the captcha workspace, so it now:

  • runs its scripts with pnpm instead of npm/npx,
  • depends on @prosopo/config as workspace:* (the local copy) instead of an old registry version,
  • declares ua-parser-js, which its tests import but only ever found through npm's hoisting.

Effect

None at runtime. It only builds and tests correctly inside the pnpm workspace.

Tests

Built and tested inside the migrated captcha workspace. The captcha PR is linked below.

Merge order

Merge first, then bump the pointer in the captcha PR.

Links: #10 · prosopo/captcha#3447 · prosopo/Protect#1120 · prosopo/docs#106 · prosopo/captcha-private#5035

Scripts call pnpm instead of npm/npx, the npm engine is dropped, and
@prosopo/config resolves to the captcha workspace copy. ua-parser-js is
declared for the tests, which npm only found through hoisting.

Co-Authored-By: Claude <noreply@anthropic.com>
@HughParry
HughParry marked this pull request as ready for review September 29, 2026 13:47
@HughParry
HughParry merged commit 42c5f81 into master Oct 2, 2026
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