* refactor: reuse OPTIONS.ignoreScripts in dedupe help
* feat: accept install command line options as dedupe options
* test: add test to ensure .npmrc is used by pnpm dedupe
* test: add test for "pnpm dedupe --store-dir=..."
* test: ensure pnpm dedupe does not accidentally inherit --frozen-lockfile
* revert: remove newly added e2e tests in dedupe
* test: add unit test to check contents of dedupe cliOptionTypes
* test: create new @pnpm/test-ipc-server private util package
* test: use @pnpm/test-ipc-server for previously refactored tests
* test: use @pnpm/test-ipc-server for tests using json-append
* test: change how --no-bail is passed to avoid passing it to scripts
This test began failing after the conversion to use
`@pnpm/test-echo-server` since the `--no-bail` script was being passed
to scripts.
Changing how --no-bail is configured to fix this test.
* test: use @pnpm/test-ipc-server in exec/lifecycle fixture tests
* test: use @pnpm/test-ipc-server in pkg-manager/headless fixture tests
* test: use @pnpm/test-ipc-server in exec/prepare-package fixture tests
* test: switch pnpm test from json-append to @pnpm.e2e/hello-world-js-bin
* test: fix and re-enable 'rebuild multiple packages in correct order'
The pnpm-workspace.yaml file didn't contain all packages, causing:
```
2023-12-22T02:24:46.2277155Z FAIL test/recursive.ts
2023-12-22T02:24:46.2277881Z ● rebuild multiple packages in correct order
2023-12-22T02:24:46.2278348Z
2023-12-22T02:24:46.2278734Z expect(received).toStrictEqual(expected) // deep equality
2023-12-22T02:24:46.2279302Z
2023-12-22T02:24:46.2279517Z - Expected - 1
2023-12-22T02:24:46.2279932Z + Received + 0
2023-12-22T02:24:46.2280186Z
2023-12-22T02:24:46.2280791Z Array [
2023-12-22T02:24:46.2281256Z "project-1",
2023-12-22T02:24:46.2281733Z - "project-2",
2023-12-22T02:24:46.2282135Z ]
2023-12-22T02:24:46.2282334Z
2023-12-22T02:24:46.2282475Z 216 | }, [])
2023-12-22T02:24:46.2282870Z 217 |
2023-12-22T02:24:46.2283788Z > 218 | expect(server1.getMessages()).toStrictEqual(['project-1', 'project-2'])
2023-12-22T02:24:46.2284725Z | ^
2023-12-22T02:24:46.2285802Z 219 | expect(server2.getMessages()).toStrictEqual(['project-1', 'project-3'])
2023-12-22T02:24:46.2286683Z 220 | })
2023-12-22T02:24:46.2287049Z 221 |
2023-12-22T02:24:46.2287269Z
2023-12-22T02:24:46.2287588Z at Object.<anonymous> (test/recursive.ts:218:33)
```
* test: fix flaking filterProd and monorepo test due to json-append
* refactor: use sync fs operations in tests
---------
Co-authored-by: Zoltan Kochan <z@kochan.io>
* 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>
A new setting added for symlinking [injected dependencies](https://pnpm.io/package_json#dependenciesmetainjected) from the workspace, if their dependencies use the same peer dependencies as the dependent package. The setting is called `dedupe-injected-deps`
* fix: avoid empty cloned files in Windows
* chore: add changesets
* chore: update changesets
* fix: remove duplicate dependency
* fix: try to set workers number to 1 in Windows
* revert: 1 worker in Windows tests
* fix: throw error when current drive does not support CoW