Commit Graph

780 Commits

Author SHA1 Message Date
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
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
789e7235ce chore(release): 10.11.0 2025-05-13 16:01:19 +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
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
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
Khải
6627b95cf8 test: correct some assertions (#9494) 2025-05-06 22:14:20 +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
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
56bb69b004 feat: dangerouslyAllowAllBuilds allows to enable the build of all dependencies (#9440)
close #9102
2025-04-20 13:13:11 +02:00
Khải
9c3dd03710 feat: add support for the jsr: protocol (#9358)
close #8941

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-04-20 11:51:51 +02:00
Khải
5d7ba81f77 refactor: replace & with interface extends where possible (#9437) 2025-04-18 23:02:25 +02:00
Khải
3b0b740e87 refactor: use toMatchObject (#9431) 2025-04-18 18:00:18 +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
btea
4d95e93040 fix: write allow-build value to pnpm-workspace.yaml (#9404) 2025-04-14 11:43:03 +02:00
Brandon Cheng
9397a518a2 refactor: swap is-positive for @pnpm.e2e/foo in catalog update tests (#9419) 2025-04-14 11:41:55 +02:00
Zoltan Kochan
81f441cd3a refactor: updating specs in the manifest (#9410) 2025-04-13 21:44:35 +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
Khải
72cff38486 refactor: pass whole registries to the resolver (#9375) 2025-04-04 01:20:16 +02:00
Zoltan Kochan
307b2cff01 chore(release): 10.7.1 2025-04-03 01:20:41 +02:00
Zoltan Kochan
80338543fb fix: pnpm link should update overrides in pnpm-workspace.yaml (#9365) 2025-04-03 01:12:31 +02:00
Khải
8814fa4822 fix: failing tests caused by new version of express (#9359) 2025-04-01 13:30:31 +02:00
Zoltan Kochan
1413c25435 feat: config update hook (#9325) 2025-03-31 08:08:32 +02:00
Zoltan Kochan
a54d3adbd5 test: create a helper package for creating a temp store for testing (#9343) 2025-03-28 09:21:29 +01:00
Zoltan Kochan
79c4466e79 test: remove hardcoded verdaccio registry ports (#9342) 2025-03-28 07:28:21 +01: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
f19cbc27ac chore(release): 10.6.5 2025-03-19 14:20:12 +01:00
Khải
d612dcf79b fix: remove warnings after approve no builds (#9307)
close #9296

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-19 14:04:24 +01:00
Khải
64f6b4f62b fix: remove warnings after approve no builds (#9307)
close #9296

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-19 13:09:54 +01:00
btea
36ff4bfaf1 fix: keep the ignoredBuilds field when installing different pkg (#9242)
* fix: keep the `ignoredBuilds` field when installing different dependencies

* fix: print warning about ignored builds

---------

close #9240

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-19 01:10:41 +01:00
btea
bd94ce0753 fix: keep the ignoredBuilds field when installing different pkg (#9242)
* fix: keep the `ignoredBuilds` field when installing different dependencies

* fix: print warning about ignored builds

---------

close #9240

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-19 01:09:12 +01:00
Brandon Cheng
f0f95abfbb fix: replace catalog: protocol in injected workspace dependencies (#9266)
* feat: return `workspace` for `resolvedVia`

* test: catalog protocol on injected deps

* refactor: create new `getCatalogReplacementPref` function

* refactor: pass through `resolvedVia` field to `ResolveDependencyResult`

* fix: replace `catalog:` protocol in injected workspace dependencies

---------

close #8715
2025-03-18 11:53:39 +01:00
Brandon Cheng
2b568addf5 fix: replace catalog: protocol in injected workspace dependencies (#9266)
* feat: return `workspace` for `resolvedVia`

* test: catalog protocol on injected deps

* refactor: create new `getCatalogReplacementPref` function

* refactor: pass through `resolvedVia` field to `ResolveDependencyResult`

* fix: replace `catalog:` protocol in injected workspace dependencies

---------

close #8715
2025-03-18 11:49:14 +01:00
Zoltan Kochan
2c04ef22c4 Merge branch 'v10' 2025-03-17 15:20:31 +01:00
Zoltan Kochan
cae084888c chore(release): 10.6.4 2025-03-17 14:46:34 +01:00
Zoltan Kochan
e5b7bf4694 fix: dlx with --allow-build flag (#9281)
close #9263
2025-03-14 02:31:02 +01:00
Zoltan Kochan
c1f09d48fa fix: dlx with --allow-build flag (#9281)
close #9263
2025-03-14 02:27:58 +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