Commit Graph

10701 Commits

Author SHA1 Message Date
Zoltan Kochan
f176285cac test: update Jest to v30 (#9866) 2025-08-15 15:28:41 +02:00
Zoltan Kochan
71d55c6b2c Merge remote-tracking branch 'origin/main' into v11 2025-08-15 15:22:40 +02:00
Zoltan Kochan
0748be2424 chore: move all dependencies to catalogs 2025-08-15 13:52:24 +02:00
Zoltan Kochan
23e71c1daf chore: set catalogMode to strict (#9864) 2025-08-15 13:44:06 +02:00
Zoltan Kochan
87d3aa8bfc fix: fetching packument from AWS CodeArtifact (#9863)
close #9862
2025-08-15 12:10:22 +02:00
btea
c7f97a41f0 test: cleanupUnusedCatalogs with true and addCatalogs (#9860) 2025-08-15 11:22:17 +02:00
Khải
0ecf85885b refactor: remove incorrect type variant (#9859)
`typeof npmTypes.types` is `Record<string, Constructor>` not `Record<string, value>`
2025-08-14 14:39:22 +02:00
Zoltan Kochan
7d2fd48215 feat!: drop Node.js 18 support (#9858) 2025-08-14 14:06:03 +02:00
Khải
797ce15852 refactor(test): remove deepNullProto and reuse getOutputString (#9855) 2025-08-14 12:27:23 +02:00
btea
8747b4e7f6 feat: add cleanupUnusedCatalogs config (#9793) 2025-08-14 12:26:51 +02:00
Khải
b84c71d6bf feat(cli/config): get/set objects and property paths (#9811)
close #9797
2025-08-14 10:28:49 +02:00
btea
9dbada8315 refactor: combine addCatalogs to updateWorkspaceManifest (#9850) 2025-08-13 17:32:43 +02:00
Khải
52624e2b6b refactor: extract a function into its own file (#9848)
* refactor: extract a function into its own file

* style: remove leading empty line

* fix: eslint
2025-08-13 00:10:20 +02:00
Zoltan Kochan
ab7a939b51 chose: update config.yml
Remove discord chat link
2025-08-09 02:39:13 +02:00
Khải
778ba1e632 fix(dlx): regression with --help (#9830)
Fixes https://github.com/pnpm/pnpm/issues/9823
2025-08-09 02:05:49 +02:00
Zoltan Kochan
dcfb186f21 chore(release): libs 2025-08-07 14:09:55 +02:00
Zoltan Kochan
aa24e7fe7f fix: when automatically installing peer deps, prefer the version found in the root of the workspace (#9835) 2025-08-07 14:07:13 +02:00
Zoltan Kochan
c926e379bd refactor(resolve-dependencies): use PkgAddressOrLink 2025-08-07 11:36:09 +02:00
Zoltan Kochan
9012a2529e refactor(resolve-dependencies): reduce amount of loops when filtering missing peers 2025-08-07 11:35:24 +02:00
Zoltan Kochan
97f784c370 refactor(resolve-dependencies): create PkgAddressOrLink type 2025-08-07 11:12:24 +02:00
Zoltan Kochan
eac7bab229 fix: validate that the version in the lockfile satisfies the range (#9832) 2025-08-07 01:39:01 +02:00
Zoltan Kochan
af2b391278 fix: vulnerabilities 2025-08-06 22:49:21 +02:00
btea
9df09dd38e feat: check the engine when excute the create command (#9775)
* feat: check the engine when excute the create command

* chore: test case

* test: update

* fix: update

* fix: update

* refactor: use readProjectManifestOnly to do engine checks on dependencies executed by dlx

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-08-04 13:38:32 +02:00
Zoltan Kochan
3ebc0ce8b3 feat: scoped pnpm plugin config dependencies (#9824)
close #9780
2025-08-04 10:57:59 +02:00
Zoltan Kochan
2b0d35fa8d fix: @pnpm/worker should be a peer dependency 2025-08-01 10:34:34 +02:00
Zoltan Kochan
acf1eabe1a chore: update pnpm to v10.14 2025-07-31 15:49:48 +02:00
Zoltan Kochan
a4d654807c chore(release): 10.14.0 v10.14.0 2025-07-31 15:00:26 +02:00
Zoltan Kochan
262969b6c8 fix: update @pnpm/js-yaml to v0.0.9
Change the formatting of binary resolutions in the lockfile
2025-07-31 14:39:24 +02:00
btea
81b8a0eacb fix(patch-remove): check if the parameters are valid (#9809) 2025-07-31 14:02:46 +02:00
Zoltan Kochan
86b33e91ea feat: support installing Bun runtime (#9815)
* feat: support installing Bun runtime

* feat: support installing Bun runtime

* fix: cache libc resolution

* refactor: shasum file fetching

* docs: add changesets

* feat: installing the right artifact

* test: supported architectures

* test: fix on Windows
2025-07-31 13:46:13 +02:00
Brandon Cheng
98dd75a5d9 fix: re-resolve catalog entries when running pnpm dedupe (#9808)
* test: catalog is deduped on pnpm dedupe

* fix: re-resolve catalog entries when running `pnpm dedupe`
2025-07-30 11:47:27 +02:00
Brandon Cheng
19b1880526 fix: up-to-date check on local tarball with peers (#9807)
* test: add allProjectsAreUpToDate test for local tarball with peers

* fix: up-to-date check on local tarball with peers
2025-07-30 11:43:12 +02:00
Brandon Cheng
e9b589cd5f chore: document how lockfileToDepGraph returns a partial graph (#9806) 2025-07-30 11:35:14 +02:00
Brandon Cheng
9908269a12 fix: re-link local tarball when contents change (without rename) during filtered install (#9805)
* test: ensure current lockfile updates when tarball integrity changes

* fix: update store when local tarball contents change without rename
2025-07-30 11:31:24 +02:00
Zoltan Kochan
d1edf732ad feat: support installing Deno runtime (#9791)
* feat: support installing Deno runtime

* refactor: use npm registry to resolve deno version

* feat: wip

* feat: installing deno runtime

* style: fix

* test: fix

* test: deno

* test: fix

* feat: deno

* feat: deno

* feat: create zip fetcher

* style: fix

* refactor: node fetch

* feat: support a new binary fetcher

* test: fix

* feat: rename zip-fetcher to binary-fetcher

* refactor: change naming

* fix: windows

* refactor: rename packages

* refactor: deno resolver

* refactor: runtime resolvers

* refactor: binary fetcher

* refactor: runtime resolvers

* refactor: runtime resolvers

* refactor: create SingleResolution

* refactor: remove not needed change

* refactor: package requester

* docs: add changesets

* refactor: use VariationsResolution and AtomicResolution

* refactor: implement CR suggestions

* docs: add changesets

* fix: address comment in CR

* feat: update formatting of pnpm-lock.yaml
2025-07-30 11:27:07 +02:00
Zoltan Kochan
b0cba9fa77 docs: update SECURITY.md 2025-07-29 14:19:01 +02:00
Zoltan Kochan
01a3ecc4bc refactor: remove not needed option from depPathToRef 2025-07-28 02:24:45 +02:00
Zoltan Kochan
10195e4857 fix: calculate Node.js range that is added to package.json (#9801) 2025-07-25 17:37:36 +02:00
Zoltan Kochan
f91922c938 fix: store every Node.js artifact's integrity separately in the lockfile (#9798)
* fix: store every Node.js artifact's integrity separately in the lockfile

* fix: store every Node.js artifact's integrity separately in the lockfile

* style: fix

* Potential fix for code scanning alert no. 76: Incomplete string escaping or encoding

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* fix: windows

* refactor: node install

* fix: test

* fix: test on Windows

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-25 16:31:23 +02:00
Zoltan Kochan
1073cec79b fix: downgrade @pnpm/nopt
Fixes issue introduced by #9790
2025-07-25 12:55:53 +02:00
Zoltan Kochan
0b6264efc2 fix(deps): update @pnpm/nopt to v0.3 (#9790)
* fix(deps): update @pnpm/nopt to v0.3

* fix: update @pnpm/npm-package-arg to v2
2025-07-24 01:36:59 +02:00
Superchupu
adb097ce11 fix: bump normalize-package-data to 7.0.1 (#9784)
* fix: bump `normalize-package-data` to 7.0.1

* fix: polyfill `URL.canParse` if not available

* chore: update lockfile
2025-07-24 00:28:46 +02:00
Colin T.A. Gray
5dedadac76 fix: changes local-resolver to support absolute paths (#9761)
* feat: changes local-resolver to support absolute paths

Previously absolute paths were being turned to relative paths, but if the file:
specifier is 'file:/path/to/file', and the users are using a shared network
storage, this relative path requires that the users all use the same
local folder structure. Instead, using an absolute path as the specifier
allows them to have the source code anywhere, and the absolute path will
be resolved consistently.

Enabled via the `preserveAbsolutePaths` option.

* chore: changeset

* feat: add preserve absolute paths option

* docs: add changesets

* fix: also update the 'dependencyPath', add test for that case

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-07-23 23:54:49 +02:00
Zoltan Kochan
fb9de7ac3a chore(release): 10.14.0-0 v10.14.0-0 2025-07-23 14:54:13 +02:00
Zoltan Kochan
ee795da67e revert: there's no need to pass the packageId to the fetcher (#9789)
Reverts a change introduced via #9755
2025-07-23 14:50:36 +02:00
Zoltan Kochan
06d1835219 test: fix test due to a package removed from the npm registry 2025-07-23 13:39:53 +02:00
Zoltan Kochan
ca0d1cbc0b fix: install node.js from the right location, when enableGlobalVirtualStore is true (#9779) 2025-07-23 11:53:20 +02:00
Sam Chung
02d58a6c56 fix: address pnpm failing to prune hoisted dev dependencies (#9786) 2025-07-23 11:52:17 +02:00
Zoltan Kochan
15ba5ab931 fix: rebuild should not fail if an index file is not found in the store (#9788) 2025-07-23 11:48:46 +02:00
Zoltan Kochan
cefe4bf174 test: fix test due to a package removed from the npm registry 2025-07-23 11:46:56 +02:00