Skip to content

Create pnpm workspace test repository for lockfile precedence validation#1

Merged
wyvern8 merged 2 commits into
mainfrom
copilot/create-sample-repo-for-testing
Jan 16, 2026
Merged

Create pnpm workspace test repository for lockfile precedence validation#1
wyvern8 merged 2 commits into
mainfrom
copilot/create-sample-repo-for-testing

Conversation

Copilot AI commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

Sample repository to verify dependency collection tools prioritize pnpm-lock.yaml over package.json semver ranges.

Repository Structure

  • Workspace configuration: pnpm-workspace.yaml with two packages demonstrating internal dependencies
  • package-a: Simple package with lodash dependency (^4.17.21)
  • package-b: Depends on package-a (workspace link) and axios (^1.6.0)
  • pnpm-lock.yaml: Locks axios to 1.13.2, demonstrating version resolution precedence

Lockfile Precedence Test Case

# pnpm-lock.yaml shows locked versions
packages/package-b:
  dependencies:
    axios:
      specifier: ^1.6.0
      version: 1.13.2  # Tools should use this, not resolve ^1.6.0

Tools correctly implementing lockfile precedence will use:

  • axios@1.13.2 (from lockfile) not latest matching ^1.6.0 (from package.json)
  • lodash@4.17.21 (from lockfile) not latest matching ^4.17.21
  • Workspace links as defined in lockfile
Original prompt

just a sample repo for testing x-fidelity against


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: wyvern8 <5403332+wyvern8@users.noreply.github.com>
Copilot AI changed the title [WIP] Add sample repository for testing x-fidelity Create pnpm workspace test repository for lockfile precedence validation Jan 16, 2026
Copilot AI requested a review from wyvern8 January 16, 2026 07:03
@wyvern8

wyvern8 commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

@copilot the code generated can go in the pnpmtest repo

Copilot AI requested a review from wyvern8 January 16, 2026 07:06
Copilot stopped work on behalf of wyvern8 due to an error January 16, 2026 07:06
@wyvern8 wyvern8 marked this pull request as ready for review January 16, 2026 07:06
@wyvern8 wyvern8 merged commit 9992130 into main Jan 16, 2026
1 check failed
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