Commit Graph

3962 Commits

Author SHA1 Message Date
Zoltan Kochan
8bec871257 chore(release): 10.13.1 2025-07-09 12:03:18 +02:00
Zoltan Kochan
168a793669 chore(release): 10.13.0 2025-07-09 00:44:17 +02:00
Zoltan Kochan
5d2308c9aa chore(release): 10.12.2 2025-06-23 02:16:13 +02:00
Khải
0e596f60b8 refactor: use Object.hasOwn (#9674) 2025-06-20 17:49:28 +02:00
Zoltan Kochan
540986f326 refactor: rename peersSuffix to peerDepGraphHash (#9656) 2025-06-17 02:27:58 +02:00
Zoltan Kochan
89bc2c6637 chore(release): 10.12.0 2025-06-08 15:04:58 +02:00
Zoltan Kochan
b3898dbb1e fix: take into account the integrities of packages in when calculating the dependency graph hash (#9605)
* fix: take into account the integrities of packages in when calculating the dependency graph hash

* test: fix

* test: fix

* test: fix

* test: fix

* fix: include the package's integirty in the hash as well

* docs: add comment

* perf: hashing deps graph

* fix: deps graph hash

* refactor: calc graph hash

* test: fix

* refactor: calc graph hash

* refactor: rename uniquePkgId to fullPkgId

* docs: add changeset
2025-06-08 01:05:10 +02:00
Zoltan Kochan
b0ead519b3 feat: global virtual store (#8190)
close #1001
2025-06-03 18:18:58 +02:00
Zoltan Kochan
cecd039cd8 chore(release): 10.11.1 2025-06-02 15:59:40 +02:00
Zoltan Kochan
789e7235ce chore(release): 10.11.0 2025-05-13 16:01:19 +02:00
Zoltan Kochan
f0c3ed6781 fix: don't fail with strictPeerDependencies=true if the peerDependencyRules ignore the peer issues (#9505)
close #9449
close #8859
close #7978
close #8382
2025-05-09 11:38:56 +02:00
Ian Krieger
5ec7255b2a feat(audit): add --ignore and --ignore-unfixable flags (#8474)
* feat(audit): add --ignore-vulnerabilities flag for CVE

* fix: no need for changes

* feat: add changeset

* fix: need the GHSA id

* docs: update changeset

* test: fix

* test: fix

* feat(audit): --ignore and --ignore-unfixable

* refactor: change output

* fix: reading audit settings from pnpm-workspace.yaml

* test: ignoring a list of cves

* docs: add changeset

---------

Co-authored-by: Ian Krieger <ian.krieger@gc.com@mac.lan>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-07 17:59:35 +02:00
btea
36f6924a58 feat(init): init command add options desc (#9482)
* feat(init): `init` command add options desc

* refactor: improve init help

* refactor: improve init help

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-06 00:18:02 +02:00
cezary-klauza
b282bd1538 feat(plugin-commands-init): add support for --init-type flag in pnpm init (#9463)
* Added .npmrc support for init-type

* feat: init-type setting

close #9416

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-04 01:38:38 +00:00
Zoltan Kochan
09cf46f67b fix: update @pnpm/logger in peer dependencies (#9466) 2025-04-29 11:52:01 +02:00
Zoltan Kochan
7ab633d94b chore(release): 10.10.0 2025-04-28 01:02:54 +02:00
Zoltan Kochan
a4ba06ddc9 chore(release): 10.9.0 2025-04-21 10:13:38 +02:00
Zoltan Kochan
8a9f3a4835 refactor: rename pref to bare specifier (#9445) 2025-04-20 22:58:08 +02:00
Zoltan Kochan
5b73df1eb1 refactor: resolvers should calculate the specifiers that are saved into package.json (#9426)
* refactor: resolvers should return specifier templates

* refactor: updating workspace protocol specs in package.json

* refactor: move workspace selector calculation logic to npm-resolver

* refactor: move workspace selector calculation logic to npm-resolver

* refactor: calculating range in npm-resolver

* refactor: rename normalizedPref and specifierTemplate to specifier

* refactor: specifiers creation

* refactor: npm-resolver

* refactor: remove which-version-is-pinned package

* refactor: which version is pinned

* docs: add changesets

* refactor: implement suggestions

* refactor: revert regex usage
2025-04-18 17:48:03 +02:00
Zoltan Kochan
f337e7182f chore(release): 10.8.1 2025-04-14 12:52:42 +02:00
Zoltan Kochan
6574546eee chore(release): 10.8.0 2025-04-07 18:21:12 +02:00
Zoltan Kochan
750ae7d1d7 feat(cli): installing new configurational dependencies (#9377) 2025-04-07 13:38:18 +02:00
Zoltan Kochan
307b2cff01 chore(release): 10.7.1 2025-04-03 01:20:41 +02:00
Zoltan Kochan
bd4caa5051 chore(release): 10.7.0 2025-03-26 11:56:11 +01:00
Zoltan Kochan
b82e91db0a Merge remote-tracking branch 'origin/v10' 2025-03-26 11:47:00 +01:00
Zoltan Kochan
1e7349d330 chore: update pnpm to v10.6.5 2025-03-23 13:02:31 +01:00
Zoltan Kochan
f19cbc27ac chore(release): 10.6.5 2025-03-19 14:20:12 +01:00
Zoltan Kochan
3c24d93506 Merge remote-tracking branch 'origin/v10' 2025-03-13 15:47:00 +01:00
Zoltan Kochan
942de71d5d chore(release): 10.6.3 2025-03-13 15:04:57 +01:00
Khải
5f7be645e4 feat(patching): version ranges and strict patches (#9236)
* feat: replace a config

This is a test commit to see if CI fails

* feat: `strictPatches`

* docs: future instruction

* feat: `strictPatches` → `allowPatchFailure`

* docs(changeset): correction

* test: getOptionsFromRootManifest

* fix: allowFailure

* feat: groupPatchedDependencies

* fix: update code after merge

* fix: star spec

* feat: error on invalid ranges

* fix: eslint

* docs: change task

* feat(patching): version ranges

* fix: `verifyPatches`

* refactor: move types to `@pnpm/patching.types`

* docs(changeset): add missing package

* refactor: move `verifyPatches` to `@pnpm/patching.config`

* test: fix

* feat: change error message of unused patches

* refactor: exact options into an interface

* test(patching): version range

* test(patching): allowPatchFailure

* docs: change wording

* docs: change wording

* test(patching): version range error

* test(patching): legacy behavior

* test: don't use star

* test(patching): strict versionless

* test: strictPatches

* chore(deps): `@pnpm/logger` must be peer

* docs: fix grammar

* refactor: rename `blank` to `all`

* refactor: use string

* refactor: use array for `PatchGroup.range`

* refactor: stop re-exporting `allPatchKeys`

* feat: re-export `PatchGroupRangeItem`

* refactor: move error creation into a class

* docs: replace "versionless" with "name-only"

* docs: coherent wordings

* test: exact version overrides range conflict

* test: tweak

* docs: consistent wordings

* docs: correct wordings

* refactor: rename `allowPatchFailure` to `ignorePatchFailures`

* feat: replace `strictPatches` with `ignorePatchFailures`

* docs: legacy behavior

* feat: introduce `allowUnusedPatches`

* docs(changeset): update

* docs: remove outdated comment

* docs: backward-compatibility
2025-03-13 12:13:06 +01:00
Zoltan Kochan
65da4d9e6a chore(release): 10.6.2 2025-03-10 03:15:12 +01:00
Zoltan Kochan
a2d46b4570 chore(release): 10.6.1 2025-03-07 02:29:19 +01:00
Zoltan Kochan
86ff415755 chore(release): 10.6.0 2025-03-06 12:09:26 +01:00
btea
adb236f1a1 refactor: improve regexp (#9203) 2025-03-02 13:17:09 +01:00
Zoltan Kochan
5e78da2d57 style: order the keys in package.json files 2025-03-01 21:45:13 +01:00
btea
a5e4965c59 fix(deploy): missing imports and license fields (#9199) 2025-03-01 01:39:30 +01:00
Zoltan Kochan
70d565cf79 chore(release): 10.5.1 2025-02-26 12:56:43 +01:00
Zoltan Kochan
bc0d00f46c chore: remove pnpm from dev dependencies of make-dedicated-lockfile 2025-02-25 12:57:59 +01:00
Zoltan Kochan
0e9fff7bef chore(release): 10.5.0 2025-02-25 12:27:14 +01:00
Zoltan Kochan
8fcc221394 feat: reading settings from pnpm-workspace.yaml (#9121)
Related discussion: https://github.com/orgs/pnpm/discussions/9037

close #9033
2025-02-22 02:10:43 +01:00
Zoltan Kochan
ee72c62db9 chore(release): 10.4.1 2025-02-16 22:37:26 +01:00
btea
758067b3c8 refactor: use @pnpm/object.key-sorting (#9120)
* refactor: use @pnpm/object.key-sorting

* chore: update
2025-02-16 14:28:42 +01:00
btea
bd6f4f3751 refactor(init): modify the packageManager field place (#9118)
* refactor(init): modify the `packageManager` field place

* fix: reverse fields order

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-16 14:22:47 +01:00
Zoltan Kochan
fee898fdcb fix: init-package-manager (#9104)
* fix: init-package-manager

* fix: don't add packageManager=false to package.json

* refactor: create object.key-sorting

* test: fix

* fix: sort fields in package.json
2025-02-16 02:13:07 +01:00
Zoltan Kochan
2a6b51f483 chore(release): 10.4.0 2025-02-14 01:18:32 +01:00
btea
49cc1672ff feat(init): add init-package-manager configuration (#9087)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-14 00:23:51 +01:00
btea
483384af68 feat: init command create file add packageManager field (#9069)
close #9068

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-11 11:30:11 +01:00
Zoltan Kochan
1dc2804f7a chore(release): 10.3.0 2025-02-11 00:34:43 +01:00
Zoltan Kochan
371734043a fix: make the warning about blocked install scripts more prominent (#9067) 2025-02-09 01:34:18 +01:00
Zoltan Kochan
97e0f5da61 chore(release): 10.2.0 2025-02-03 18:32:38 +01:00