Skip to content

zotoio/pnpmtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pnpmtest

A sample repository for testing that pnpm lockfiles are used as precedence for dependency collection.

Structure

This repository demonstrates a basic pnpm workspace with multiple packages:

  • packages/package-a: A simple package with a lodash dependency
  • packages/package-b: A package that depends on package-a (workspace dependency)

Setup

pnpm install

Build

pnpm build

Features

  • pnpm lockfile: Contains pnpm-lock.yaml with locked dependency versions
  • Workspace dependencies: package-b depends on package-a using workspace:* protocol
  • External dependencies: Includes both lodash and axios with specific locked versions
  • pnpm configuration: Includes .npmrc for pnpm settings

Testing Lockfile Precedence

This repository is specifically designed to test that dependency collection tools prioritize the pnpm-lock.yaml file over package.json when determining exact dependency versions. The lockfile contains:

  • Locked versions for all direct and transitive dependencies
  • Workspace link information
  • Integrity hashes for verification

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors