Files
pnpm/packages/types
Jake Livak 4d34684f1f fix: bundledDependencies field is not always respected (#7411) (#7412)
* fix: check for both bundleDependencies and bundledDependencies (#7411)

update to code that didn't correctly check both bundleDependencies and bundledDependencies

* fix: support boolean value for bundleDependencies (#7411)

fix so that a 'true' value in the bundleDependencies field is correctly interpreted
(as meaning all dependencies are bundled)

close  #7411

* fix: allow saving of boolean bundledDependencies values

updates prior fix to allow saving booleans to bundledDependencies field.

* fix: add test coverage for bundledDependencies fixes (#7411)

add local tarball test and bundledDependencies=true test
update existing tests to confirm that bundled dependencies aren't installed

* fix: update registry-mock

* docs: update changeset

* fix: update bundleDependencies tests

* Revert "fix: update registry-mock"

This reverts commit 0c4b7ede21.

* Revert "Revert "fix: update registry-mock""

This reverts commit 9828dfce91.

* test: update integrities in test lockfiles

* test: retry twice

* test: move bundle deps test to separate file

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-12-19 23:18:07 +01:00
..
2023-12-14 16:15:57 +01:00
2023-12-14 16:15:57 +01:00

@pnpm/types

Basic types used by pnpm

npm version

Installation

pnpm add @pnpm/types

Usage

import { PackageManifest } from '@pnpm/types'

const pkg: PackageManifest = {
  name: 'foo',
  version: '1.0.0',
}

License

MIT