Commit Graph

10667 Commits

Author SHA1 Message Date
Khải
6acf819c69 refactor!: stricter Resolution type (#9582)
* refactor!: stricter `Resolution` type

* docs(changeset): don't leave it out

* fix: test

* fix: test

* refactor: replace `as` with `!`
2025-05-30 09:17:12 +02:00
Khải
e49b782168 refactor: remove @ts-expect-error (#9581) 2025-05-29 16:07:43 +02:00
Adam Alston
320f89e724 refactor: delete travis links (#9577) 2025-05-29 12:12:59 +02:00
Khải
95b088c7a7 fix(deploy/legacy): unexpected directory creations (#9574)
close #9550
2025-05-28 09:55:44 +02:00
Adam Alston
873e850127 refactor: delete obsolete lint-commits.sh script (#9573) 2025-05-28 08:36:25 +02:00
btea
9498928617 chore: upgrade tinyglobby (#9444)
* chore: upgrade tinyglobby

* chore: update

* chore: update
2025-05-26 13:05:58 +02:00
Zoltan Kochan
1c741b52c2 fix: use pnpm_config_ instead of npm_config_ (#9571)
ref #9232
2025-05-26 12:59:20 +02:00
Zoltan Kochan
7cd0e712df fix: install exiting with 1 exit code and no error message (#9567)
close #9559
2025-05-22 15:26:51 +02:00
Anton Stoychev
b113520edc fix: respect silent reporter when deciding whether to output CI group stdout markers (#9565)
close #9563
2025-05-22 11:32:34 +02:00
martinkors
046af72a96 feat: add new catalogMode setting (#9552)
* feat: add new `catalogMode` setting

Add new `catalogMode` setting for automatically adding new dependencies to
the default catalog.

Closes pnpm#8876, Closes pnpm#8308

* fix: catalogs don't only store semver ranges and versions

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-20 16:47:05 +02:00
Brandon Cheng
e7d0f6cdcf refactor: rename newCatalogs to updatedCatalogs (#9561) 2025-05-20 11:15:41 +02:00
Alexander Tkachev
aad7eebc2d fix: let deploy inherit overrides (#9546)
* fix: let deploy inherit overrides

Prevents the following error in "pnpm deploy" with "inject-workspace-packages=true":
  ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation.
  The current "overrides" configuration doesn't match the value found in the lockfile

* chore: add changeset

* docs: update old-symbols-invite.md

close #9283
close #9483
2025-05-19 10:42:04 +02:00
Khải
272129193c refactor: improve resolver types (#9544) 2025-05-16 13:14:06 +02:00
Khải
a90dffc19d test: less verbose variable names (#9543) 2025-05-16 12:01:55 +02:00
btea
d15c27438d fix: correct url loss pathname (#9548)
close #9545
2025-05-15 18:30:19 +02:00
Khải
309a3c612a refactor: remove unnecessary semicolon (#9538) 2025-05-15 13:39:43 +02:00
Khải
93ac21ccd0 refactor: add types to installSome and installCase (#9539)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-15 11:16:22 +02:00
stainless-em
ce42d8fbbb fix: don't lock ephemeral tarball urls (#9532)
close #9531
2025-05-14 22:09:42 +02:00
Khải
8e0b4ef771 test: correct a test name (#9537) 2025-05-14 21:41:34 +02:00
Khải
c8341cca57 feat: pnpm add option to add new entries to catalogs (#9484)
close #9425

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-14 18:32:05 +02:00
Zoltan Kochan
a014bb0e28 test: write settings to pnpm-workspace.yaml instead of .npmrc (#9523) 2025-05-14 15:02:58 +02:00
Zoltan Kochan
5df0a3ba23 chore: update pnpm to v10.11 2025-05-13 16:45:58 +02:00
Zoltan Kochan
789e7235ce chore(release): 10.11.0 v10.11.0 2025-05-13 16:01:19 +02:00
Zoltan Kochan
a0911b0f43 docs: fix changeset 2025-05-13 15:59:45 +02:00
Zoltan Kochan
94eed8d1e7 revert: concurrent publish (#9524) 2025-05-13 15:57:28 +02:00
fxnm
6cf010cfda fix: fixed extra-bin-paths not set if using ignore-script=true in a monorepo (#9522)
close #4858
2025-05-13 15:31:15 +02:00
Zoltan Kochan
e4af08ce18 fix: linking package globally from workspace should work (#9521)
close #9506
close #9515
2025-05-13 11:42:45 +02:00
dependabot[bot]
bffe53896b chore(deps): bump pnpm/action-setup in the github-actions group (#9520)
Bumps the github-actions group with 1 update: [pnpm/action-setup](https://github.com/pnpm/action-setup).


Updates `pnpm/action-setup` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v4...v4.1.0)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 14:55:46 +02:00
btea
6b6ccf97e7 fix: remove url.parse (#9502)
close #9492
2025-05-11 14:15:38 +02:00
Brandon Cheng
28402b9c89 test: fix catalog tests adding dependencies to wrong package (#9514)
* test: ensure dep is added to correct package in pnpm add catalog tests

* test: fix catalog tests adding dependencies to wrong package
2025-05-11 00:11:32 +02:00
Zoltan Kochan
bae9dfe134 fix: update setting names in error hints (#9508) 2025-05-11 00:09:12 +02:00
Zoltan Kochan
51bd3735ac fix: node.js v24 url.parse() DeprecationWarning (#9509) 2025-05-09 16:44:52 +02:00
Zoltan Kochan
c00360bf98 fix(deps): update lex-comparator 2025-05-09 16:19:46 +02:00
Zoltan Kochan
741fcd2adc feat: added support for Nushell to setup (#9510)
close #6476
2025-05-09 16:14:36 +02:00
Nicolas Le Cam
c24c66e588 fix: don't remove cpu field on subsequent install (#9504)
close #9353
2025-05-09 14:06:43 +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
modten
36d1448c48 feat: add workspace-concurrency cli option for pack and publish command (#9493)
* refactor: set the default `workspaceConcurrency` to `Math.min(os.availableParallelism(), 4)`

* feat(plugin-commands-publishing): add `workspace-concurrency` cli option for pack and publish

* feat(recursive): add support for `recursive pack`

* feat: get default workspaceConcurrency from config package

* test(config): mock cpus to support Node.js 18
2025-05-09 10:30:21 +02:00
Zoltan Kochan
57be95602b ci: test on Node.js 24 2025-05-08 15:48:02 +02:00
Zoltan Kochan
9362b5fb15 fix: updateConfig in pnpm-workspace.yaml should not be ignored (#9501)
* fix: updateConfig in pnpm-workspace.yaml should not be ignored

close #9500

* fix: reading executionEnv from pnpm-workspace.yaml
2025-05-08 12:24:43 +02:00
btea
62029d1794 fix: add command --allow-build option should specify package (#9489)
* fix: add command --allow-build option should specify package

* chore: remove warn

* fix: validating the --allow-build flag

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-07 18:18:39 +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
modten
fdb1d98f4d feat(pack): add package filtering for pack command (#4351) (#9477)
* feat(pack): add package filtering for pack command (#4351)

* feat(plugin-commands-publishing): parallelly run recusive pack and publish

* refactor: pack.ts

* feat(pack): support absolute pack-destination path

* feat: get `pack-destination` configuration from npmrc

* refactor: pack.ts

* docs: update changeset

* refactor: pack.ts

close #4351

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-07 14:28:03 +02:00
Khải
6627b95cf8 test: correct some assertions (#9494) 2025-05-06 22:14:20 +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
Khải
3f70b673bf refactor: add type to action (#9490)
* refactor: add type to `action`

* fix: eslint
2025-05-05 13:46:19 +02:00
btea
792a00bc1c refactor: combine multiple pattern parameters (#9479) 2025-05-05 01:11:32 +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
df8df8a0c1 fix: pnpm version management, when dangerouslyAllowAllBuilds is set to true (#9473)
close #9472
2025-05-01 09:54:36 +02:00
Zoltan Kochan
09cf46f67b fix: update @pnpm/logger in peer dependencies (#9466) 2025-04-29 11:52:01 +02:00
Zoltan Kochan
9976b8e29c docs: update SECURITY.md 2025-04-28 21:38:29 +02:00