Commit Graph
28 Commits
Author SHA1 Message Date
Zoltan Kochan 8753f7dd90 fix: materialize and hash link: dependencies in virtual-store slots (#13658)
Materialize linked snapshot dependencies inside pacquet's virtual-store slots so packages remain self-contained when those slots live outside the project.

Model each resolved link target as a leaf in the TypeScript and Rust dependency graphs. This makes a changed link target affect the recursively computed slot hash of every ancestor while allowing projects that resolve to the same target to keep sharing a slot. Keep the graph extension limited to global-virtual-store hashing so side-effects-cache keys retain their existing behavior.

Thread optional-dependency selection through pacquet's slot materialization and inspect warm slots before reuse. This removes stale optional links under --no-optional and restores them when optional dependencies are enabled again. Preserve transitive optional dependencies during partial installs, where a narrowed direct dependency-group selection does not express --no-optional intent.

Pin the normalization contract with a fixture consumed by both stacks, covering empty targets, parent segments, and Windows drive-letter casing and asserting the final slot hash as well as each synthetic node. Treat missing, dangling, and non-directory expected optional children as a reuse mismatch, detect dangling unexpected entries too, and surface other metadata errors. Run optional-child scans only after the slot passes the cheaper existence and integrity checks.
2026-08-05 13:54:47 +02:00
Zoltan Kochan 4ca53b0b50 refactor: group projects in different subdirectories (#5659) 2022-11-20 01:35:22 +02:00
KenrickandZoltan Kochan a236ecf573 fix: in a workspace, also include missing deeply linked workspace packages at headless installation (#5220)
Co-authored-by: Zoltan Kochan <z@kochan.io>

close #5034
2022-10-13 23:48:40 +03:00
Shinobu HayashiandZoltan Kochan d665f3ff7a feat: ignore packages listed in package.json > pnpm.updateConfig.ignoreDependencies on update/outdated commands (#5408)
closes #5358

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-10-02 04:55:37 +03:00
Zoltan Kochan cccaa0208f test: all test packages should be from the @pnpm.e2e scope (#5211) 2022-08-19 05:05:34 +03:00
56cf04cb36 feat: add git-branch-lockfile config to generate lockfile in each branch (#4475)
Co-authored-by: Zoltan Kochan <z@kochan.io>
Co-authored-by: David Michon <dmichon@microsoft.com>
2022-06-14 23:31:16 +03:00
Zoltan Kochan f7390f53f0 test: fix dependencies-hierarchy tests 2022-06-10 17:34:45 +03:00
Kenrick 57af1b1b5e feat: pnpm list to show information whether the package is private or not (#4256)
close #4246
2022-01-19 11:27:51 +02:00
zoomdong 3b4dc17c7b feat: pnpm import support yarn2 transform (#3997)
close: #3993
2021-11-24 15:48:45 +02:00
fooraandZoltan Kochan 6a54be5a12 feat: support pnpm recursive import (#3909)
close #3908

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-11-02 21:40:27 +00:00
Michael SchmukiandZoltan Kochan 4a4d42d8f7 fix: allow dependencies without a package.json (#3782)
close #1866

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-10-01 00:31:55 +03:00
zoomdongandZoltan Kochan 141d2f02e9 fix: ignoreScripts shoud be true when lockfileOnly is true (#3765)
closes: #3750

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-09-14 03:17:35 +03:00
zoomdong f815dabd99 feat: pnpm import support yarn (#3655) 2021-08-19 20:52:47 +03:00
Zoltan Kochan e34d59d9eb test: update lockfiles in fixtures 2021-04-06 02:13:52 +03:00
Zoltan Kochan bb51e6029c chore(deps): update 2021-03-18 02:52:54 +02:00
Zoltan Kochan 9bb71e9dbb chore: update lockfile 2021-03-12 02:18:13 +02:00
Zoltan Kochan 26446b82d6 chore: update lockfile 2021-02-26 01:03:47 +02:00
niceSprite c70f36678f fix: pnpm recursive list/why with parseable render produce needless newlines (#3101)
* fix: pnpm why --parseable filter empty string

* docs: ✏️ run changeset

* test: add test for list monorepo with parseable
2021-01-27 14:03:24 +02:00
Zoltan Kochan e45c97d35a chore: fix fixtures that are always modified 2020-09-16 02:37:51 +03:00
Zoltan Kochan 1c2a8e03d8 fix: pnpm oudtated --long
PR #2828
2020-09-04 16:12:03 +03:00
Zoltan Kochan 400f419765 fix: hoisting in a workspace with no root package
close #2735
PR #2758
2020-08-09 03:22:28 +03:00
Zoltan Kochan aa21a2df38 fix(list): print the legend only once
PR #2756
2020-08-08 12:37:01 +03:00
Zoltan Kochan 830dc175e7 chore: update pnpm-workspace.yaml of fixtures 2020-06-22 23:13:09 +03:00
Zoltan Kochan c776db1a7d fix: pnpm list --long 2020-06-22 01:54:17 +03:00
Yao Ding d367a3ff23 feat(outdated): don't fail when no lockfile & no deps
PR #2349
Related #2029
2020-02-12 10:49:42 +05:30
Zoltan KochanandAparajita Fishman fbab427a18 feat(outdated): --compatible
PR #2256
close #2253

Co-Authored-By: Aparajita Fishman <aparajita@aparajita.com>

Co-authored-by: Aparajita Fishman <aparajita@aparajita.com>
2020-01-07 19:54:35 +02:00
Zoltan Kochan 7369731532 feat: outdated --dev | --production | --no-optional
PR #2252
2020-01-06 03:06:21 +02:00
Zoltan Kochan 5d91de868b test: move test fixtures to repo root 2019-11-22 01:41:15 +02:00