renovate[bot]
9d74625d93
build(deps): update dependency prettier to v3.9.6 (main) ( #45815 )
...
* build(deps): update dependency prettier to v3.9.6
| datasource | package | from | to |
| ---------- | -------- | ----- | ----- |
| npm | prettier | 3.8.1 | 3.9.6 |
* chore: prettier fixes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@mend.io >
2026-09-09 13:50:03 +00:00
Pham Manh Luc
ef60dfcdee
refactor(manager/npm): rename internal managerData.pnpmShrinkwrap to pnpmLockFile ( #45390 )
...
refactor(pnpm): rename managerData.pnpmShrinkwrap to pnpmLockFile
The field holds the path to pnpm-lock.yaml, and pnpm has not called that file
a shrinkwrap since v5, so the old name reads as a different artifact than the
one it points at.
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
2026-09-01 13:09:21 +00:00
Pieter Willekens
e0c13b6c57
feat(manager/npm): read private registries from pnpm-workspace.yaml ( #44083 )
...
* feat(manager/npm): read private registries from pnpm-workspace.yaml
Honor the `registry` and `registries` settings (pnpm v11+) declared in pnpm-workspace.yaml, applying them to workspace catalog/override deps and member package.json deps. Registry values containing ${...} are ignored, matching pnpm v11.5.3+.
* refactor(manager/npm): share pnpm registry resolution across extract paths
Extract a single applyPnpmWorkspaceRegistries helper so both the
pnpm-workspace catalog path and the package.json extract path apply
registries through one chokepoint, with env-var registry URLs filtered
once and consistently.
* refactor(manager/npm): filter pnpm env-var registries in schema
Move the env-var registry filtering into the PnpmWorkspaceFile schema as a
transform so registries are filtered once at parse time, and use the Nullish
helper for the registry/registries fields.
* refactor(manager/npm): simplify pnpm-workspace check and log parse errors
2026-07-17 11:56:13 +00:00
Michael Kriese
6804768a1a
feat(npm): support pnpm workspace file overrides ( #42247 )
...
* feat(npm): support pnpm workspace file overrides
* chore: fix comment
* refactor: use types
* feat(npm/pnpm): update overrides in workspace file
* test: fix test
* chore: fix coverage
2026-04-08 12:01:31 +00:00
Jamie Tanna
d9f8972156
refactor(manager/npm): extract function for resolving .npmrc ( #41245 )
...
* refactor(manager/npm): extract function for resolving `.npmrc`
As part of future changes in #41215 and/or #41216 , we will resolve the
`.npmrc`, if it can be found, in multiple places.
Before we do this, we can prefactor this logic to extract this out into
its own function that can be used independently.
Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io >
* test(manager/npm): add missing test coverage
This is coverage that we've never had on this function, and was reported
by CodeCov.
---------
Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io >
2026-02-17 12:49:49 +00:00
Sergei Zharinov
930cf6633c
refactor: Rewrite imports with .ts extensions ( #40700 )
...
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
RahulGautamSingh
76f911041a
refactor: use named exports ( #39196 )
...
* use named exports
* fix test
* add missing imnport
* fix prettier
2025-11-10 12:00:35 +00:00
Mirko Kruschke
d7a741b831
feat(npm)!: support yarn catalogs ( #38215 )
...
BREAKING CHANGE: communit plugin yarn-catalogs-plugin is not supported anymore
Co-authored-by: Michael Kriese <michael.kriese@gmx.de >
2025-11-06 08:07:40 +00:00
Mirko Kruschke
cb695e3907
feat(npm): support yarn catalogs via yarn-plugin-catalogs ( #37293 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Michael Kriese <michael.kriese@gmx.de >
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
2025-09-22 14:41:46 +00:00
Michael Kriese
3211d56e21
refactor(zod): rename schema to match our best practices guide ( #37499 )
2025-08-14 10:35:03 +00:00
Mirko Kruschke
f898f7c783
refactor(npm): move yarnrc schema and types to a central place ( #37412 )
2025-08-12 13:09:31 +00:00
Michael Kriese
14fe4c3811
chore(npm): fix coverage reporting ( #37401 )
2025-08-08 13:12:04 +00:00
RahulGautamSingh
fec81bad05
fix(npm): set hasPackageManager:true if devEngines detected ( #36582 )
2025-06-18 14:24:47 +00:00
Lakshmipriya Sivakumar
86bc08581d
fix(manager/npm): search for npmrc in the root directory ( #36050 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-05-29 10:38:46 +00:00
Rhys Arkins
0d7255e699
fix(manager/npm): Revert "fix(manager/npm): search for npmrc in the root directory" ( #36049 )
2025-05-20 15:50:19 +00:00
Lakshmipriya Sivakumar
17c0041e38
fix(manager/npm): search for npmrc in the root directory ( #35927 )
...
Co-authored-by: Michael Kriese <michael.kriese@gmx.de >
2025-05-17 17:56:42 +00:00
RahulGautamSingh
bc7d0595d0
feat(config): managerFilePatterns ( #34615 )
...
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-05-04 08:30:24 +00:00
Fotis Papadogeorgopoulos
0f06866080
feat(managers/npm): support pnpm catalogs ( #33376 )
...
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2025-01-28 10:11:55 +00:00
Sebastian Poxhofer
3681b2a945
chore: eslint to enforce for typed imports ( #30844 )
2024-08-19 13:15:27 +00:00
renovate[bot]
eb8c08079e
chore(deps): update typescript-eslint monorepo to v8 (major) ( #30750 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2024-08-14 10:33:02 +00:00
Jay Lindquist
40dbc86f23
fix(yarn): search parent directories for yarn configuration ( #29415 )
2024-06-03 19:12:10 +00:00
Andrew Haines
e0115f9bc4
fix(npm): resolve registry URL using packageName, if set ( #28247 )
...
Signed-off-by: Andrew Haines <andrew@haines.org.nz >
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2024-04-09 12:41:07 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Sergei Zharinov
e7028951d0
fix(yarn): Don't parse empty yarnrc files ( #25609 )
2023-11-06 16:28:06 +01:00
Andreas Hippler
e33def6ba3
fix(yarn): do not set registryUrls from yarnrc on non-npm dependencies ( #25146 )
2023-10-11 19:25:47 +00:00
Rhys Arkins
c11170fabb
feat(npm)!: drop explicit lerna support ( #24542 )
2023-09-27 14:29:07 +02:00
Rhys Arkins
ceaf073870
refactor: separate npm extract functions ( #24455 )
2023-09-18 09:58:55 +00:00
Rhys Arkins
1721e8c778
fix(npm): remove invalid extractedConstraints ( #24465 )
2023-09-18 05:45:08 +00:00
Rhys Arkins
36e2b328bb
chore: update types reference
2023-08-15 11:31:15 +02:00
RahulGautamSingh
2367b42413
feat: warn if multiple lock files detected ( #23562 )
2023-08-04 05:46:40 +00:00
renovate[bot]
fe739befbf
chore(deps): update linters to v6 (major) ( #23325 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-08-02 15:07:49 +00:00
Rhys Arkins
e3d5f7df92
feat!: merge matchPaths and matchFiles into matchFileNames ( #22406 )
...
Closes #22395
BREAKING CHANGE: matchPaths and matchFiles are now combined into matchFileNames, supporting exact match and glob-only
2023-07-04 19:21:52 +02:00
Oscar Dominguez
558535e463
feat(manager/npm): add support for Volta's pnpm ( #23069 )
2023-06-30 18:49:53 +00:00
Michael Kriese
497d4c131f
fix(manager): unify logging ( #22398 )
...
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2023-05-25 16:53:05 +00:00
Ryo Matsukawa
0417c111ac
refactor: Merged multiple skipReasons into unspecified-version. ( #22409 )
2023-05-25 05:48:11 +00:00
RahulGautamSingh
6ac9a84209
fix(pnpm): extract engine constraint ( #21959 )
2023-05-08 07:54:19 +00:00
Rhys Arkins
cc33d34ca8
refactor: PackageFile types ( #20498 )
...
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-20 14:58:49 +00:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent ( #20502 )
2023-02-19 12:43:48 +00:00
Rhys Arkins
5cdb9a86f0
refactor: move manager fields to managerData ( #20486 )
2023-02-18 15:06:03 +00:00
Rhys Arkins
6725c7fb5e
refactor: extract constraints -> extractedConstraints ( #20484 )
2023-02-17 16:32:58 +00:00
Rhys Arkins
45dd23401b
fix(manager/npm): workspaces npmrc ( #20420 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-16 12:11:04 +00:00
Florian Greinacher
40d62932bb
feat(manager/npm): read registry URLs from legacy .yarnrc ( #20129 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-02 06:29:25 +00:00
Florian Greinacher
2143c975f9
feat(manager/npm): read registry URLs from .yarnrc.yml ( #19864 )
...
Co-authored-by: Valentin Agachi <github-com@agachi.name >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Closes https://github.com/renovatebot/renovate/issues/16353
2023-01-31 06:26:02 +00:00
Simon Abbott
8c44d6bd10
fix(manger/npm): apply config.npmrc during extraction, not in post-update ( #19812 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Closes https://github.com/renovatebot/renovate/issues/12891
2023-01-20 11:43:49 +00:00
pataar
7adc861fed
fix(volta): make sure volta uses the same yarn package overwrite ( #18893 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-11-16 08:01:39 +02:00
RahulGautamSingh
d869c946d1
refactor: reduce debug metadata ( #18737 )
2022-11-07 11:29:02 +00:00
Rhys Arkins
cbca54d0c3
feat!: do not auto pin rangeStrategy ( #18309 )
...
Removes all logic where rangeStrategy=auto results in pinning.
Closes #18304
BREAKING CHANGE: Dependencies are no longer automatically pinned, pinning must be opted into using rangeStrategy=pin
2022-10-23 06:48:35 +02:00
Gabriel-Ladzaretti
6fef1d1650
feat(manager/npm): add support for x-range "all" - "*" range ( #18251 )
2022-10-14 11:26:20 +02:00
renovate[bot]
0ed7072a1f
chore(deps): update dependency type-fest to v2.16.0 ( #16473 )
...
* chore(deps): update dependency type-fest to v2.16.0
* chore: fix type issues
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-07-15 10:09:50 +00:00
Michael Kriese
99b16becaf
refactor: remove unused properties ( #16328 )
2022-06-29 13:18:12 +02:00