Commit Graph

10667 Commits

Author SHA1 Message Date
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
Zoltan Kochan
14395be3cd feat(add): update devEngines.runtime with a Node.js entry (#9774) 2025-07-21 13:09:00 +02:00
btea
4a8243a00d chore: package.json add type field (#9765)
* chore: `package.json` add type field

* chore: add type field to every package.json

* chore: add type field to every package.json

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-07-20 03:21:46 +02:00
Zoltan Kochan
e734480acc fix: audit error 2025-07-19 15:47:13 +02:00
Zoltan Kochan
1a07b8fc7c feat: install Node.js runtime as a dependency (#9755) 2025-07-19 15:11:40 +02:00
Zoltan Kochan
3f309fa36d test(core): fix 2025-07-19 14:44:25 +02:00
Zoltan Kochan
4da0fe3080 test(read-project-manifest): use @pnpm/test-fixtures 2025-07-19 14:00:57 +02:00
Zoltan Kochan
ece236da3f fix(resolve-dependencies): getting package name from pkgResponse 2025-07-19 13:42:18 +02:00
Zoltan Kochan
b7d9301e4b fix(exec): wait for the child process to close 2025-07-18 23:24:49 +02:00
Zoltan Kochan
ea2d2ea6b2 docs: update sponsors 2025-07-18 00:30:58 +02:00
Khải
6f7ac0f48b feat: customize supportedArchitectures using CLI (#9745)
close #7510
2025-07-16 00:56:00 +02:00
Zoltan Kochan
2e85f29e3d refactor: pkgSnapshotToResolution (#9754)
Don't parse DepPath twice.
2025-07-13 22:42:45 +02:00
Zoltan Kochan
1ba2e15f2c feat: verify the integrity of Node.js artifacts (#9750) 2025-07-12 18:04:09 +02:00
Khải
88a1ce37dc test: unskip a test (#9746) 2025-07-11 21:38:55 +02:00
Khải
9e89c667ff refactor: use prepareEmpty and expectSuccess in pnpm/test/dlx.ts (#9736)
* feat(cli): parse options after `dlx`

Resolves https://github.com/pnpm/pnpm/issues/9719

* refactor: use `prepareEmpty`

* refactor: use `expectSuccess: true`
2025-07-11 00:17:52 +02:00
Khải
6bcfa69964 feat(cli): parse options after dlx (#9735)
close  #9719
2025-07-10 01:23:40 +02:00
Zoltan Kochan
8bec871257 chore(release): 10.13.1 v10.13.1 2025-07-09 12:03:18 +02:00
Zoltan Kochan
7ad0bc3540 fix: run user pnpmfiles after plugin pnpmfiles (#9732) 2025-07-09 12:02:37 +02:00
Zoltan Kochan
295db51ef9 fix: the default pnpmfile should only be loaded if the pnpmfile settings is not set (#9731) v10.13.0 2025-07-09 11:00:52 +02:00
Zoltan Kochan
168a793669 chore(release): 10.13.0 2025-07-09 00:44:17 +02:00
Zoltan Kochan
e2253105d0 feat: loading pnpmfiles automatically from plugins (#9729) 2025-07-08 22:00:37 +02:00
Zoltan Kochan
a0e1517d3b fix: update yao-pkg to v5.13 2025-07-08 17:26:36 +02:00
Zoltan Kochan
786789602c test: using two pnpmfiles 2025-07-08 15:10:43 +02:00
Zoltan Kochan
cf630a8e84 feat: allow to set multiple pnpmfiles (#9702) 2025-07-08 14:54:07 +02:00
Khải
623da6fd27 fix(config): conflicts between global and local in whether to run scripts (#9714)
close #9628
2025-07-07 16:17:02 +02:00
btea
b656f8aea1 fix: patch support unpublished pkg (#9694) 2025-07-07 11:58:23 +02:00
Zoltan Kochan
8e0db2e933 docs(README): remove links to the chat 2025-07-04 16:39:38 +02:00
btea
95a9b82b0d fix: all pnpm-workspace.yaml settings are sorted by key (#9701) 2025-07-03 22:53:48 +02:00
btea
ab155a5990 fix: pnpm rebuild should not add ignored built pkg to ignoredBuilds (#9344)
close #9338
2025-07-03 22:51:43 +02:00
Zoltan Kochan
3aa0747310 fix: package manager version autoswitch should be disable during local development 2025-07-01 13:01:22 +02:00
Junxiao Shi
589ac1ffc7 fix(lifecycle): replace shell-quote with shlex (#9695)
* fix(lifecycle): replace shell-quote with shlex

close #9381

* fix: use shlex in @pnpm/worker

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-06-30 03:03:31 +02:00
Zoltan Kochan
337a110dbc chore(release): 10.12.4 v10.12.4 2025-06-26 19:02:39 +02:00
Zoltan Kochan
5d046bbe89 docs: add changeset 2025-06-26 19:01:43 +02:00
Nico Wang
260f1caff1 fix(#9673): break mutual-wait dead-lock introduced in #8760 (#9675)
close #9673

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-06-26 18:57:51 +02:00
Khải
2893bb9555 fix(listing/json): empty filter should print empty array (#9688)
close #9672
2025-06-26 09:51:22 +02:00