renovate 40.1.3 → 40.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/dist/config/migration.js +9 -6
  2. package/dist/config/migration.js.map +1 -1
  3. package/dist/config/migrations/custom/file-match-migration.d.ts +6 -0
  4. package/dist/config/migrations/custom/file-match-migration.js +20 -0
  5. package/dist/config/migrations/custom/file-match-migration.js.map +1 -0
  6. package/dist/config/migrations/migrations-service.js +2 -0
  7. package/dist/config/migrations/migrations-service.js.map +1 -1
  8. package/dist/config/options/index.js +3 -3
  9. package/dist/config/options/index.js.map +1 -1
  10. package/dist/config/presets/internal/custom-managers.js +20 -20
  11. package/dist/config/presets/internal/custom-managers.js.map +1 -1
  12. package/dist/config/types.d.ts +1 -1
  13. package/dist/config/types.js.map +1 -1
  14. package/dist/config/validation-helpers/regex-glob-matchers.js +3 -1
  15. package/dist/config/validation-helpers/regex-glob-matchers.js.map +1 -1
  16. package/dist/config/validation.js +6 -19
  17. package/dist/config/validation.js.map +1 -1
  18. package/dist/data-files.generated.js +1 -1
  19. package/dist/data-files.generated.js.map +1 -1
  20. package/dist/modules/manager/ansible/index.d.ts +1 -1
  21. package/dist/modules/manager/ansible/index.js +1 -1
  22. package/dist/modules/manager/ansible/index.js.map +1 -1
  23. package/dist/modules/manager/ansible-galaxy/index.d.ts +1 -1
  24. package/dist/modules/manager/ansible-galaxy/index.js +1 -1
  25. package/dist/modules/manager/ansible-galaxy/index.js.map +1 -1
  26. package/dist/modules/manager/argocd/index.d.ts +1 -1
  27. package/dist/modules/manager/argocd/index.js +1 -1
  28. package/dist/modules/manager/argocd/index.js.map +1 -1
  29. package/dist/modules/manager/asdf/index.d.ts +1 -1
  30. package/dist/modules/manager/asdf/index.js +1 -1
  31. package/dist/modules/manager/asdf/index.js.map +1 -1
  32. package/dist/modules/manager/azure-pipelines/index.d.ts +1 -1
  33. package/dist/modules/manager/azure-pipelines/index.js +4 -1
  34. package/dist/modules/manager/azure-pipelines/index.js.map +1 -1
  35. package/dist/modules/manager/batect/index.d.ts +1 -1
  36. package/dist/modules/manager/batect/index.js +1 -1
  37. package/dist/modules/manager/batect/index.js.map +1 -1
  38. package/dist/modules/manager/batect-wrapper/index.d.ts +1 -1
  39. package/dist/modules/manager/batect-wrapper/index.js +1 -1
  40. package/dist/modules/manager/batect-wrapper/index.js.map +1 -1
  41. package/dist/modules/manager/bazel/index.d.ts +1 -1
  42. package/dist/modules/manager/bazel/index.js +4 -4
  43. package/dist/modules/manager/bazel/index.js.map +1 -1
  44. package/dist/modules/manager/bazel-module/index.d.ts +1 -1
  45. package/dist/modules/manager/bazel-module/index.js +1 -1
  46. package/dist/modules/manager/bazel-module/index.js.map +1 -1
  47. package/dist/modules/manager/bazelisk/index.d.ts +1 -1
  48. package/dist/modules/manager/bazelisk/index.js +1 -1
  49. package/dist/modules/manager/bazelisk/index.js.map +1 -1
  50. package/dist/modules/manager/bicep/index.d.ts +1 -1
  51. package/dist/modules/manager/bicep/index.js +1 -1
  52. package/dist/modules/manager/bicep/index.js.map +1 -1
  53. package/dist/modules/manager/bitbucket-pipelines/index.d.ts +1 -1
  54. package/dist/modules/manager/bitbucket-pipelines/index.js +1 -1
  55. package/dist/modules/manager/bitbucket-pipelines/index.js.map +1 -1
  56. package/dist/modules/manager/bitrise/index.d.ts +1 -1
  57. package/dist/modules/manager/bitrise/index.js +1 -1
  58. package/dist/modules/manager/bitrise/index.js.map +1 -1
  59. package/dist/modules/manager/buildkite/index.d.ts +1 -1
  60. package/dist/modules/manager/buildkite/index.js +1 -1
  61. package/dist/modules/manager/buildkite/index.js.map +1 -1
  62. package/dist/modules/manager/buildpacks/index.d.ts +1 -1
  63. package/dist/modules/manager/buildpacks/index.js +1 -1
  64. package/dist/modules/manager/buildpacks/index.js.map +1 -1
  65. package/dist/modules/manager/bun/index.d.ts +1 -1
  66. package/dist/modules/manager/bun/index.js +1 -1
  67. package/dist/modules/manager/bun/index.js.map +1 -1
  68. package/dist/modules/manager/bun-version/index.d.ts +1 -1
  69. package/dist/modules/manager/bun-version/index.js +1 -1
  70. package/dist/modules/manager/bun-version/index.js.map +1 -1
  71. package/dist/modules/manager/bundler/index.d.ts +1 -1
  72. package/dist/modules/manager/bundler/index.js +1 -1
  73. package/dist/modules/manager/bundler/index.js.map +1 -1
  74. package/dist/modules/manager/cake/index.d.ts +1 -1
  75. package/dist/modules/manager/cake/index.js +1 -1
  76. package/dist/modules/manager/cake/index.js.map +1 -1
  77. package/dist/modules/manager/cargo/index.d.ts +1 -1
  78. package/dist/modules/manager/cargo/index.js +1 -1
  79. package/dist/modules/manager/cargo/index.js.map +1 -1
  80. package/dist/modules/manager/cdnurl/index.d.ts +1 -1
  81. package/dist/modules/manager/cdnurl/index.js +1 -1
  82. package/dist/modules/manager/cdnurl/index.js.map +1 -1
  83. package/dist/modules/manager/circleci/index.d.ts +1 -1
  84. package/dist/modules/manager/circleci/index.js +1 -1
  85. package/dist/modules/manager/circleci/index.js.map +1 -1
  86. package/dist/modules/manager/cloudbuild/index.d.ts +1 -1
  87. package/dist/modules/manager/cloudbuild/index.js +1 -1
  88. package/dist/modules/manager/cloudbuild/index.js.map +1 -1
  89. package/dist/modules/manager/cocoapods/index.d.ts +1 -1
  90. package/dist/modules/manager/cocoapods/index.js +1 -1
  91. package/dist/modules/manager/cocoapods/index.js.map +1 -1
  92. package/dist/modules/manager/composer/index.d.ts +1 -1
  93. package/dist/modules/manager/composer/index.js +1 -1
  94. package/dist/modules/manager/composer/index.js.map +1 -1
  95. package/dist/modules/manager/conan/index.d.ts +1 -1
  96. package/dist/modules/manager/conan/index.js +1 -1
  97. package/dist/modules/manager/conan/index.js.map +1 -1
  98. package/dist/modules/manager/copier/index.d.ts +1 -1
  99. package/dist/modules/manager/copier/index.js +1 -1
  100. package/dist/modules/manager/copier/index.js.map +1 -1
  101. package/dist/modules/manager/cpanfile/index.d.ts +1 -1
  102. package/dist/modules/manager/cpanfile/index.js +1 -1
  103. package/dist/modules/manager/cpanfile/index.js.map +1 -1
  104. package/dist/modules/manager/crossplane/index.d.ts +1 -1
  105. package/dist/modules/manager/crossplane/index.js +1 -1
  106. package/dist/modules/manager/crossplane/index.js.map +1 -1
  107. package/dist/modules/manager/custom/types.d.ts +1 -1
  108. package/dist/modules/manager/custom/types.js.map +1 -1
  109. package/dist/modules/manager/deps-edn/index.d.ts +1 -1
  110. package/dist/modules/manager/deps-edn/index.js +1 -1
  111. package/dist/modules/manager/deps-edn/index.js.map +1 -1
  112. package/dist/modules/manager/devbox/index.d.ts +1 -1
  113. package/dist/modules/manager/devbox/index.js +1 -1
  114. package/dist/modules/manager/devbox/index.js.map +1 -1
  115. package/dist/modules/manager/devcontainer/index.d.ts +1 -1
  116. package/dist/modules/manager/devcontainer/index.js +4 -1
  117. package/dist/modules/manager/devcontainer/index.js.map +1 -1
  118. package/dist/modules/manager/docker-compose/index.d.ts +1 -1
  119. package/dist/modules/manager/docker-compose/index.js +1 -1
  120. package/dist/modules/manager/docker-compose/index.js.map +1 -1
  121. package/dist/modules/manager/dockerfile/index.d.ts +1 -1
  122. package/dist/modules/manager/dockerfile/index.js +3 -3
  123. package/dist/modules/manager/dockerfile/index.js.map +1 -1
  124. package/dist/modules/manager/droneci/index.d.ts +1 -1
  125. package/dist/modules/manager/droneci/index.js +1 -1
  126. package/dist/modules/manager/droneci/index.js.map +1 -1
  127. package/dist/modules/manager/fingerprint.generated.js +4 -4
  128. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  129. package/dist/modules/manager/fleet/index.d.ts +1 -1
  130. package/dist/modules/manager/fleet/index.js +1 -1
  131. package/dist/modules/manager/fleet/index.js.map +1 -1
  132. package/dist/modules/manager/flux/index.d.ts +1 -1
  133. package/dist/modules/manager/flux/index.js +1 -1
  134. package/dist/modules/manager/flux/index.js.map +1 -1
  135. package/dist/modules/manager/fvm/index.d.ts +1 -1
  136. package/dist/modules/manager/fvm/index.js +1 -1
  137. package/dist/modules/manager/fvm/index.js.map +1 -1
  138. package/dist/modules/manager/git-submodules/index.d.ts +1 -1
  139. package/dist/modules/manager/git-submodules/index.js +1 -1
  140. package/dist/modules/manager/git-submodules/index.js.map +1 -1
  141. package/dist/modules/manager/github-actions/index.d.ts +1 -1
  142. package/dist/modules/manager/github-actions/index.js +3 -3
  143. package/dist/modules/manager/github-actions/index.js.map +1 -1
  144. package/dist/modules/manager/gitlabci/index.d.ts +1 -1
  145. package/dist/modules/manager/gitlabci/index.js +1 -1
  146. package/dist/modules/manager/gitlabci/index.js.map +1 -1
  147. package/dist/modules/manager/gitlabci-include/index.d.ts +1 -1
  148. package/dist/modules/manager/gitlabci-include/index.js +1 -1
  149. package/dist/modules/manager/gitlabci-include/index.js.map +1 -1
  150. package/dist/modules/manager/glasskube/index.d.ts +1 -1
  151. package/dist/modules/manager/glasskube/index.js +1 -1
  152. package/dist/modules/manager/glasskube/index.js.map +1 -1
  153. package/dist/modules/manager/gleam/index.d.ts +1 -1
  154. package/dist/modules/manager/gleam/index.js +1 -1
  155. package/dist/modules/manager/gleam/index.js.map +1 -1
  156. package/dist/modules/manager/gomod/index.d.ts +1 -1
  157. package/dist/modules/manager/gomod/index.js +1 -1
  158. package/dist/modules/manager/gomod/index.js.map +1 -1
  159. package/dist/modules/manager/gradle/index.d.ts +1 -1
  160. package/dist/modules/manager/gradle/index.js +8 -8
  161. package/dist/modules/manager/gradle/index.js.map +1 -1
  162. package/dist/modules/manager/gradle-wrapper/index.d.ts +1 -1
  163. package/dist/modules/manager/gradle-wrapper/index.js +1 -1
  164. package/dist/modules/manager/gradle-wrapper/index.js.map +1 -1
  165. package/dist/modules/manager/haskell-cabal/index.d.ts +1 -1
  166. package/dist/modules/manager/haskell-cabal/index.js +1 -1
  167. package/dist/modules/manager/haskell-cabal/index.js.map +1 -1
  168. package/dist/modules/manager/helm-requirements/index.d.ts +1 -1
  169. package/dist/modules/manager/helm-requirements/index.js +1 -1
  170. package/dist/modules/manager/helm-requirements/index.js.map +1 -1
  171. package/dist/modules/manager/helm-values/index.d.ts +1 -1
  172. package/dist/modules/manager/helm-values/index.js +1 -1
  173. package/dist/modules/manager/helm-values/index.js.map +1 -1
  174. package/dist/modules/manager/helmfile/index.d.ts +1 -1
  175. package/dist/modules/manager/helmfile/index.js +1 -1
  176. package/dist/modules/manager/helmfile/index.js.map +1 -1
  177. package/dist/modules/manager/helmsman/index.d.ts +1 -1
  178. package/dist/modules/manager/helmsman/index.js +1 -1
  179. package/dist/modules/manager/helmsman/index.js.map +1 -1
  180. package/dist/modules/manager/helmv3/index.d.ts +1 -1
  181. package/dist/modules/manager/helmv3/index.js +1 -1
  182. package/dist/modules/manager/helmv3/index.js.map +1 -1
  183. package/dist/modules/manager/hermit/default-config.d.ts +1 -1
  184. package/dist/modules/manager/hermit/default-config.js +1 -1
  185. package/dist/modules/manager/hermit/default-config.js.map +1 -1
  186. package/dist/modules/manager/hermit/index.d.ts +1 -1
  187. package/dist/modules/manager/hermit/index.js +1 -1
  188. package/dist/modules/manager/hermit/index.js.map +1 -1
  189. package/dist/modules/manager/homebrew/index.d.ts +1 -1
  190. package/dist/modules/manager/homebrew/index.js +1 -1
  191. package/dist/modules/manager/homebrew/index.js.map +1 -1
  192. package/dist/modules/manager/html/index.d.ts +1 -1
  193. package/dist/modules/manager/html/index.js +1 -1
  194. package/dist/modules/manager/html/index.js.map +1 -1
  195. package/dist/modules/manager/jenkins/index.d.ts +1 -1
  196. package/dist/modules/manager/jenkins/index.js +1 -1
  197. package/dist/modules/manager/jenkins/index.js.map +1 -1
  198. package/dist/modules/manager/jsonnet-bundler/index.d.ts +1 -1
  199. package/dist/modules/manager/jsonnet-bundler/index.js +1 -1
  200. package/dist/modules/manager/jsonnet-bundler/index.js.map +1 -1
  201. package/dist/modules/manager/kotlin-script/index.d.ts +1 -1
  202. package/dist/modules/manager/kotlin-script/index.js +1 -1
  203. package/dist/modules/manager/kotlin-script/index.js.map +1 -1
  204. package/dist/modules/manager/kubernetes/index.d.ts +1 -1
  205. package/dist/modules/manager/kubernetes/index.js +1 -1
  206. package/dist/modules/manager/kubernetes/index.js.map +1 -1
  207. package/dist/modules/manager/kustomize/index.d.ts +1 -1
  208. package/dist/modules/manager/kustomize/index.js +1 -1
  209. package/dist/modules/manager/kustomize/index.js.map +1 -1
  210. package/dist/modules/manager/leiningen/index.d.ts +1 -1
  211. package/dist/modules/manager/leiningen/index.js +1 -1
  212. package/dist/modules/manager/leiningen/index.js.map +1 -1
  213. package/dist/modules/manager/maven/index.d.ts +1 -1
  214. package/dist/modules/manager/maven/index.js +4 -4
  215. package/dist/modules/manager/maven/index.js.map +1 -1
  216. package/dist/modules/manager/maven-wrapper/index.d.ts +1 -1
  217. package/dist/modules/manager/maven-wrapper/index.js +1 -1
  218. package/dist/modules/manager/maven-wrapper/index.js.map +1 -1
  219. package/dist/modules/manager/meteor/index.d.ts +1 -1
  220. package/dist/modules/manager/meteor/index.js +1 -1
  221. package/dist/modules/manager/meteor/index.js.map +1 -1
  222. package/dist/modules/manager/mint/index.d.ts +1 -1
  223. package/dist/modules/manager/mint/index.js +1 -1
  224. package/dist/modules/manager/mint/index.js.map +1 -1
  225. package/dist/modules/manager/mise/index.d.ts +1 -1
  226. package/dist/modules/manager/mise/index.js +4 -1
  227. package/dist/modules/manager/mise/index.js.map +1 -1
  228. package/dist/modules/manager/mix/index.d.ts +1 -1
  229. package/dist/modules/manager/mix/index.js +1 -1
  230. package/dist/modules/manager/mix/index.js.map +1 -1
  231. package/dist/modules/manager/nix/index.d.ts +1 -1
  232. package/dist/modules/manager/nix/index.js +1 -1
  233. package/dist/modules/manager/nix/index.js.map +1 -1
  234. package/dist/modules/manager/nodenv/index.d.ts +1 -1
  235. package/dist/modules/manager/nodenv/index.js +1 -1
  236. package/dist/modules/manager/nodenv/index.js.map +1 -1
  237. package/dist/modules/manager/npm/extract/index.js +1 -1
  238. package/dist/modules/manager/npm/extract/index.js.map +1 -1
  239. package/dist/modules/manager/npm/index.d.ts +1 -1
  240. package/dist/modules/manager/npm/index.js +4 -1
  241. package/dist/modules/manager/npm/index.js.map +1 -1
  242. package/dist/modules/manager/nuget/index.d.ts +1 -1
  243. package/dist/modules/manager/nuget/index.js +5 -5
  244. package/dist/modules/manager/nuget/index.js.map +1 -1
  245. package/dist/modules/manager/nvm/index.d.ts +1 -1
  246. package/dist/modules/manager/nvm/index.js +1 -1
  247. package/dist/modules/manager/nvm/index.js.map +1 -1
  248. package/dist/modules/manager/ocb/index.d.ts +1 -1
  249. package/dist/modules/manager/ocb/index.js +1 -1
  250. package/dist/modules/manager/ocb/index.js.map +1 -1
  251. package/dist/modules/manager/osgi/index.d.ts +1 -1
  252. package/dist/modules/manager/osgi/index.js +1 -1
  253. package/dist/modules/manager/osgi/index.js.map +1 -1
  254. package/dist/modules/manager/pep621/index.d.ts +1 -1
  255. package/dist/modules/manager/pep621/index.js +1 -1
  256. package/dist/modules/manager/pep621/index.js.map +1 -1
  257. package/dist/modules/manager/pep723/index.d.ts +1 -1
  258. package/dist/modules/manager/pep723/index.js +1 -1
  259. package/dist/modules/manager/pep723/index.js.map +1 -1
  260. package/dist/modules/manager/pip-compile/common.js +1 -1
  261. package/dist/modules/manager/pip-compile/common.js.map +1 -1
  262. package/dist/modules/manager/pip-compile/extract.d.ts +1 -1
  263. package/dist/modules/manager/pip-compile/extract.js +22 -22
  264. package/dist/modules/manager/pip-compile/extract.js.map +1 -1
  265. package/dist/modules/manager/pip-compile/index.d.ts +1 -1
  266. package/dist/modules/manager/pip-compile/index.js +1 -1
  267. package/dist/modules/manager/pip-compile/index.js.map +1 -1
  268. package/dist/modules/manager/pip_requirements/index.d.ts +1 -1
  269. package/dist/modules/manager/pip_requirements/index.js +1 -1
  270. package/dist/modules/manager/pip_requirements/index.js.map +1 -1
  271. package/dist/modules/manager/pip_setup/index.d.ts +1 -1
  272. package/dist/modules/manager/pip_setup/index.js +1 -1
  273. package/dist/modules/manager/pip_setup/index.js.map +1 -1
  274. package/dist/modules/manager/pipenv/index.d.ts +1 -1
  275. package/dist/modules/manager/pipenv/index.js +1 -1
  276. package/dist/modules/manager/pipenv/index.js.map +1 -1
  277. package/dist/modules/manager/pixi/index.d.ts +1 -1
  278. package/dist/modules/manager/pixi/index.js +3 -3
  279. package/dist/modules/manager/pixi/index.js.map +1 -1
  280. package/dist/modules/manager/poetry/index.d.ts +1 -1
  281. package/dist/modules/manager/poetry/index.js +1 -1
  282. package/dist/modules/manager/poetry/index.js.map +1 -1
  283. package/dist/modules/manager/pre-commit/index.d.ts +1 -1
  284. package/dist/modules/manager/pre-commit/index.js +1 -1
  285. package/dist/modules/manager/pre-commit/index.js.map +1 -1
  286. package/dist/modules/manager/pub/index.d.ts +1 -1
  287. package/dist/modules/manager/pub/index.js +1 -1
  288. package/dist/modules/manager/pub/index.js.map +1 -1
  289. package/dist/modules/manager/puppet/index.d.ts +1 -1
  290. package/dist/modules/manager/puppet/index.js +1 -1
  291. package/dist/modules/manager/puppet/index.js.map +1 -1
  292. package/dist/modules/manager/pyenv/index.d.ts +1 -1
  293. package/dist/modules/manager/pyenv/index.js +1 -1
  294. package/dist/modules/manager/pyenv/index.js.map +1 -1
  295. package/dist/modules/manager/ruby-version/index.d.ts +1 -1
  296. package/dist/modules/manager/ruby-version/index.js +1 -1
  297. package/dist/modules/manager/ruby-version/index.js.map +1 -1
  298. package/dist/modules/manager/runtime-version/index.d.ts +1 -1
  299. package/dist/modules/manager/runtime-version/index.js +1 -1
  300. package/dist/modules/manager/runtime-version/index.js.map +1 -1
  301. package/dist/modules/manager/sbt/index.d.ts +1 -1
  302. package/dist/modules/manager/sbt/index.js +5 -5
  303. package/dist/modules/manager/sbt/index.js.map +1 -1
  304. package/dist/modules/manager/scalafmt/index.d.ts +1 -1
  305. package/dist/modules/manager/scalafmt/index.js +1 -1
  306. package/dist/modules/manager/scalafmt/index.js.map +1 -1
  307. package/dist/modules/manager/setup-cfg/index.d.ts +1 -1
  308. package/dist/modules/manager/setup-cfg/index.js +1 -1
  309. package/dist/modules/manager/setup-cfg/index.js.map +1 -1
  310. package/dist/modules/manager/sveltos/index.d.ts +1 -1
  311. package/dist/modules/manager/sveltos/index.js +1 -1
  312. package/dist/modules/manager/sveltos/index.js.map +1 -1
  313. package/dist/modules/manager/swift/index.d.ts +1 -1
  314. package/dist/modules/manager/swift/index.js +1 -1
  315. package/dist/modules/manager/swift/index.js.map +1 -1
  316. package/dist/modules/manager/tekton/index.d.ts +1 -1
  317. package/dist/modules/manager/tekton/index.js +1 -1
  318. package/dist/modules/manager/tekton/index.js.map +1 -1
  319. package/dist/modules/manager/terraform/index.d.ts +1 -1
  320. package/dist/modules/manager/terraform/index.js +1 -1
  321. package/dist/modules/manager/terraform/index.js.map +1 -1
  322. package/dist/modules/manager/terraform-version/index.d.ts +1 -1
  323. package/dist/modules/manager/terraform-version/index.js +1 -1
  324. package/dist/modules/manager/terraform-version/index.js.map +1 -1
  325. package/dist/modules/manager/terragrunt/index.d.ts +1 -1
  326. package/dist/modules/manager/terragrunt/index.js +1 -1
  327. package/dist/modules/manager/terragrunt/index.js.map +1 -1
  328. package/dist/modules/manager/terragrunt-version/index.d.ts +1 -1
  329. package/dist/modules/manager/terragrunt-version/index.js +1 -1
  330. package/dist/modules/manager/terragrunt-version/index.js.map +1 -1
  331. package/dist/modules/manager/tflint-plugin/index.d.ts +1 -1
  332. package/dist/modules/manager/tflint-plugin/index.js +1 -1
  333. package/dist/modules/manager/tflint-plugin/index.js.map +1 -1
  334. package/dist/modules/manager/travis/index.d.ts +1 -1
  335. package/dist/modules/manager/travis/index.js +1 -1
  336. package/dist/modules/manager/travis/index.js.map +1 -1
  337. package/dist/modules/manager/velaci/index.d.ts +1 -1
  338. package/dist/modules/manager/velaci/index.js +1 -1
  339. package/dist/modules/manager/velaci/index.js.map +1 -1
  340. package/dist/modules/manager/vendir/index.d.ts +1 -1
  341. package/dist/modules/manager/vendir/index.js +1 -1
  342. package/dist/modules/manager/vendir/index.js.map +1 -1
  343. package/dist/modules/manager/woodpecker/index.d.ts +1 -1
  344. package/dist/modules/manager/woodpecker/index.js +1 -1
  345. package/dist/modules/manager/woodpecker/index.js.map +1 -1
  346. package/dist/workers/repository/extract/extract-fingerprint-config.js +1 -1
  347. package/dist/workers/repository/extract/extract-fingerprint-config.js.map +1 -1
  348. package/dist/workers/repository/extract/file-match.js +5 -6
  349. package/dist/workers/repository/extract/file-match.js.map +1 -1
  350. package/dist/workers/repository/update/pr/code-owners.js +7 -7
  351. package/dist/workers/repository/update/pr/code-owners.js.map +1 -1
  352. package/dist/workers/types.d.ts +1 -1
  353. package/dist/workers/types.js.map +1 -1
  354. package/package.json +2 -2
  355. package/renovate-schema.json +237 -239
@@ -1 +1 @@
1
- {"version":3,"file":"extract.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip-compile/extract.ts"],"names":[],"mappings":";;AAqBA,gDAyBC;AAED,wDAiMC;;AAjPD,0DAA0B;AAC1B,4CAAyC;AACzC,+CAAkD;AAClD,yCAAiD;AACjD,gDAAwD;AACxD,yDAA4F;AAC5F,4CAAwE;AAOxE,qCAA8D;AAE9D,mCAIiB;AAEjB,SAAgB,kBAAkB,CAChC,OAAe,EACf,WAAmB,EACnB,OAAsB;IAEtB,eAAM,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACjD,MAAM,OAAO,GAAG,IAAA,qBAAY,EAAC,WAAW,CAAC,CAAC;IAC1C,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,WAAW;YACd,OAAO,IAAA,8BAAkB,EAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QAC3D,KAAK,kBAAkB;YACrB,OAAO,IAAA,4BAAuB,EAAC,OAAO,CAAC,CAAC;QAC1C,KAAK,SAAS;YACZ,eAAM,CAAC,IAAI,CACT,EAAE,WAAW,EAAE,EACf,0DAA0D,CAC3D,CAAC;YACF,OAAO,IAAI,CAAC;QACd;YACE,eAAM,CAAC,IAAI,CACT,EAAE,WAAW,EAAE,OAAO,EAAE,EACxB,yDAAyD,CAC1D,C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C,KAAK,CAAC,CAAC;gBAC9B,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,UAAU,CAAC,SAAU,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC;oBAC5D,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBACvB,CAAC;gBACD,UAAU,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;YACtD,CAAC;QACH,CAAC;IACH,CAAC;IACD,eAAM,CAAC,KAAK,CACV,kCAAkC;QAChC,IAAA,4BAAoB,EAAC,gBAAgB,EAAE,YAAY,CAAC,CACvD,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,sBAAsB,CAC7B,kBAAsC,EACtC,UAA+B;IAE/B,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,IACE,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAC3B,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,KAAK,GAAG,CAAC,WAAW,CACnD,EACD,CAAC;YACD,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAS,WAAW,CAAC,GAAsB;IACzC,MAAM,MAAM,GAAG;QACb,GAAG,GAAG;QACN,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,OAAO,EAAE,UAAU;QACnB,OAAO,EAAE,KAAK;KACf,CAAC;IACF,OAAO,MAAM,CAAC,YAAY,CAAC;IAC3B,OAAO,MAAM,CAAC,cAAc,CAAC;IAC7B,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import upath from 'upath';\nimport { logger } from '../../../logger';\nimport { coerceArray } from '../../../util/array';\nimport { readLocalFile } from '../../../util/fs';\nimport { ensureLocalPath } from '../../../util/fs/util';\nimport { extractPackageFile as extractRequirementsFile } from '../pip_requirements/extract';\nimport { extractPackageFile as extractSetupPyFile } from '../pip_setup';\nimport type {\n ExtractConfig,\n PackageDependency,\n PackageFile,\n PackageFileContent,\n} from '../types';\nimport { extractHeaderCommand, matchManager } from './common';\nimport type { DependencyBetweenFiles, PipCompileArgs } from './types';\nimport {\n generateMermaidGraph,\n inferCommandExecDir,\n sortPackageFiles,\n} from './utils';\n\nexport function extractPackageFile(\n content: string,\n packageFile: string,\n _config: ExtractConfig,\n): PackageFileContent | null {\n logger.trace('pip-compile.extractPackageFile()');\n const manager = matchManager(packageFile);\n switch (manager) {\n case 'pip_setup':\n return extractSetupPyFile(content, packageFile, _config);\n case 'pip_requirements':\n return extractRequirementsFile(content);\n case 'unknown':\n logger.warn(\n { packageFile },\n `pip-compile: could not determine manager for source file`,\n );\n return null;\n default:\n logger.warn(\n { packageFile, manager },\n `pip-compile: support for manager is not yet implemented`,\n );\n return null;\n }\n}\n\nexport async function extractAllPackageFiles(\n config: ExtractConfig,\n fileMatches: string[],\n): Promise<PackageFile[] | null> {\n logger.trace('pip-compile.extractAllPackageFiles()');\n const lockFileArgs = new Map<string, PipCompileArgs>();\n const depsBetweenFiles: DependencyBetweenFiles[] = [];\n const packageFiles = new Map<string, PackageFile>();\n const lockFileSources = new Map<string, PackageFile[]>();\n for (const fileMatch of fileMatches) {\n const fileContent = await readLocalFile(fileMatch, 'utf8');\n if (!fileContent) {\n logger.debug(`pip-compile: no content found for fileMatch ${fileMatch}`);\n continue;\n }\n let compileArgs: PipCompileArgs;\n let compileDir: string;\n try {\n compileArgs = extractHeaderCommand(fileContent, fileMatch);\n compileDir = inferCommandExecDir(fileMatch, compileArgs.outputFile);\n } catch (error) {\n logger.warn(\n { fileMatch, errorMessage: error.message },\n 'pip-compile error',\n );\n continue;\n }\n lockFileArgs.set(fileMatch, compileArgs);\n for (const constraint of coerceArray(compileArgs.constraintsFiles)) {\n depsBetweenFiles.push({\n sourceFile: constraint,\n outputFile: fileMatch,\n type: 'constraint',\n });\n }\n const lockedDeps = extractRequirementsFile(fileContent)?.deps;\n if (!lockedDeps) {\n logger.debug(\n { fileMatch },\n 'pip-compile: Failed to extract dependencies from lock file',\n );\n continue;\n }\n\n for (const relativeSourceFile of compileArgs.sourceFiles) {\n const packageFile = upath.normalizeTrim(\n upath.join(compileDir, relativeSourceFile),\n );\n try {\n ensureLocalPath(packageFile);\n } catch {\n logger.warn(\n { fileMatch, packageFile },\n 'pip-compile: Source file path outside of repository',\n );\n continue;\n }\n depsBetweenFiles.push({\n sourceFile: packageFile,\n outputFile: fileMatch,\n type: 'requirement',\n });\n if (fileMatches.includes(packageFile)) {\n // TODO(not7cd): do something about it\n logger.warn(\n { sourceFile: packageFile, lockFile: fileMatch },\n 'pip-compile: lock file acts as source file for another lock file',\n );\n continue;\n }\n if (packageFiles.has(packageFile)) {\n logger.debug(\n `pip-compile: ${packageFile} used in multiple output files`,\n );\n const existingPackageFile = packageFiles.get(packageFile)!;\n existingPackageFile.lockFiles!.push(fileMatch);\n extendWithIndirectDeps(existingPackageFile, lockedDeps);\n const source = lockFileSources.get(fileMatch) ?? [];\n source.push(existingPackageFile);\n lockFileSources.set(fileMatch, source);\n continue;\n }\n const content = await readLocalFile(packageFile, 'utf8');\n if (!content) {\n logger.debug(`pip-compile: No content for source file ${packageFile}`);\n continue;\n }\n\n const packageFileContent = extractPackageFile(\n content,\n packageFile,\n config,\n );\n if (packageFileContent) {\n if (packageFileContent.managerData?.requirementsFiles) {\n packageFileContent.managerData.requirementsFiles =\n packageFileContent.managerData.requirementsFiles.map(\n (file: string) => upath.normalize(upath.join(compileDir, file)),\n );\n for (const file of packageFileContent.managerData.requirementsFiles) {\n depsBetweenFiles.push({\n sourceFile: file,\n outputFile: packageFile,\n type: 'requirement',\n });\n }\n }\n if (packageFileContent.managerData?.constraintsFiles) {\n packageFileContent.managerData.constraintsFiles =\n packageFileContent.managerData.constraintsFiles.map(\n (file: string) => upath.normalize(upath.join(compileDir, file)),\n );\n for (const file of packageFileContent.managerData.constraintsFiles) {\n depsBetweenFiles.push({\n sourceFile: file,\n outputFile: packageFile,\n type: 'requirement',\n });\n }\n }\n for (const dep of packageFileContent.deps) {\n const lockedVersion = lockedDeps?.find(\n (lockedDep) => lockedDep.packageName === dep.packageName,\n )?.currentVersion;\n if (lockedVersion) {\n dep.lockedVersion = lockedVersion;\n } else {\n logger.warn(\n { depName: dep.depName, lockFile: fileMatch },\n 'pip-compile: dependency not found in lock file',\n );\n }\n }\n extendWithIndirectDeps(packageFileContent, lockedDeps);\n const newPackageFile: PackageFile = {\n ...packageFileContent,\n lockFiles: [fileMatch],\n packageFile,\n };\n packageFiles.set(packageFile, newPackageFile);\n const source = lockFileSources.get(fileMatch) ?? [];\n source.push(newPackageFile);\n lockFileSources.set(fileMatch, source);\n } else {\n logger.warn(\n { packageFile },\n 'pip-compile: failed to find dependencies in source file',\n );\n }\n }\n }\n if (packageFiles.size === 0) {\n return null;\n }\n const result: PackageFile[] = sortPackageFiles(\n depsBetweenFiles,\n packageFiles,\n );\n\n // This needs to go in reverse order to handle transitive dependencies\n for (const packageFile of [...result].reverse()) {\n for (const reqFile of packageFile.managerData?.requirementsFiles ?? []) {\n let sourceFiles: PackageFile[] | undefined = undefined;\n if (fileMatches.includes(reqFile)) {\n sourceFiles = lockFileSources.get(reqFile);\n } else if (packageFiles.has(reqFile)) {\n sourceFiles = [packageFiles.get(reqFile)!];\n }\n if (!sourceFiles) {\n logger.warn(\n { packageFile: packageFile.packageFile, requirementsFile: reqFile },\n 'pip-compile: Package file references a file which does not appear to be a requirements file managed by pip-compile',\n );\n continue;\n }\n // These get reversed before merging so that we keep the last instance of any common\n // lock files, since a file that -r includes multiple lock files needs to be updated after\n // all of the lock files it includes\n const files = new Set([...packageFile.lockFiles!].reverse());\n for (const sourceFile of sourceFiles) {\n const merged = new Set(files);\n for (const lockFile of [...sourceFile.lockFiles!].reverse()) {\n merged.add(lockFile);\n }\n sourceFile.lockFiles = Array.from(merged).reverse();\n }\n }\n }\n logger.debug(\n 'pip-compile: dependency graph:\\n' +\n generateMermaidGraph(depsBetweenFiles, lockFileArgs),\n );\n return result;\n}\n\nfunction extendWithIndirectDeps(\n packageFileContent: PackageFileContent,\n lockedDeps: PackageDependency[],\n): void {\n for (const lockedDep of lockedDeps) {\n if (\n !packageFileContent.deps.find(\n (dep) => lockedDep.packageName === dep.packageName,\n )\n ) {\n packageFileContent.deps.push(indirectDep(lockedDep));\n }\n }\n}\n\n/**\n * As indirect dependecies don't exist in the package file, we need to\n * create them from the lock file.\n *\n * By removing currentValue and currentVersion, we ensure that they\n * are handled like unconstrained dependencies with locked version.\n * Such packages are updated when their update strategy\n * is set to 'update-lockfile',\n * see: lib/workers/repository/process/lookup/index.ts.\n *\n * By disabling them by default, we won't create noise by updating them.\n * Unless they have vulnerability alert, then they are forced to be updated.\n * @param dep dependency extracted from lock file (requirements.txt)\n * @returns unconstrained dependency with locked version\n */\nfunction indirectDep(dep: PackageDependency): PackageDependency {\n const result = {\n ...dep,\n lockedVersion: dep.currentVersion,\n depType: 'indirect',\n enabled: false,\n };\n delete result.currentValue;\n delete result.currentVersion;\n return result;\n}\n"]}
1
+ {"version":3,"file":"extract.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip-compile/extract.ts"],"names":[],"mappings":";;AAqBA,gDAyBC;AAED,wDAiMC;;AAjPD,0DAA0B;AAC1B,4CAAyC;AACzC,+CAAkD;AAClD,yCAAiD;AACjD,gDAAwD;AACxD,yDAA4F;AAC5F,4CAAwE;AAOxE,qCAA8D;AAE9D,mCAIiB;AAEjB,SAAgB,kBAAkB,CAChC,OAAe,EACf,WAAmB,EACnB,OAAsB;IAEtB,eAAM,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACjD,MAAM,OAAO,GAAG,IAAA,qBAAY,EAAC,WAAW,CAAC,CAAC;IAC1C,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,WAAW;YACd,OAAO,IAAA,8BAAkB,EAAC,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,GAAG,CAAC,cAAc;QACjC,OAAO,EAAE,UAAU;QACnB,OAAO,EAAE,KAAK;KACf,CAAC;IACF,OAAO,MAAM,CAAC,YAAY,CAAC;IAC3B,OAAO,MAAM,CAAC,cAAc,CAAC;IAC7B,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import upath from 'upath';\nimport { logger } from '../../../logger';\nimport { coerceArray } from '../../../util/array';\nimport { readLocalFile } from '../../../util/fs';\nimport { ensureLocalPath } from '../../../util/fs/util';\nimport { extractPackageFile as extractRequirementsFile } from '../pip_requirements/extract';\nimport { extractPackageFile as extractSetupPyFile } from '../pip_setup';\nimport type {\n ExtractConfig,\n PackageDependency,\n PackageFile,\n PackageFileContent,\n} from '../types';\nimport { extractHeaderCommand, matchManager } from './common';\nimport type { DependencyBetweenFiles, PipCompileArgs } from './types';\nimport {\n generateMermaidGraph,\n inferCommandExecDir,\n sortPackageFiles,\n} from './utils';\n\nexport function extractPackageFile(\n content: string,\n packageFile: string,\n _config: ExtractConfig,\n): PackageFileContent | null {\n logger.trace('pip-compile.extractPackageFile()');\n const manager = matchManager(packageFile);\n switch (manager) {\n case 'pip_setup':\n return extractSetupPyFile(content, packageFile, _config);\n case 'pip_requirements':\n return extractRequirementsFile(content);\n case 'unknown':\n logger.warn(\n { packageFile },\n `pip-compile: could not determine manager for source file`,\n );\n return null;\n default:\n logger.warn(\n { packageFile, manager },\n `pip-compile: support for manager is not yet implemented`,\n );\n return null;\n }\n}\n\nexport async function extractAllPackageFiles(\n config: ExtractConfig,\n matchedFiles: string[],\n): Promise<PackageFile[] | null> {\n logger.trace('pip-compile.extractAllPackageFiles()');\n const lockFileArgs = new Map<string, PipCompileArgs>();\n const depsBetweenFiles: DependencyBetweenFiles[] = [];\n const packageFiles = new Map<string, PackageFile>();\n const lockFileSources = new Map<string, PackageFile[]>();\n for (const matchedFile of matchedFiles) {\n const fileContent = await readLocalFile(matchedFile, 'utf8');\n if (!fileContent) {\n logger.debug(`pip-compile: no content found for file ${matchedFile}`);\n continue;\n }\n let compileArgs: PipCompileArgs;\n let compileDir: string;\n try {\n compileArgs = extractHeaderCommand(fileContent, matchedFile);\n compileDir = inferCommandExecDir(matchedFile, compileArgs.outputFile);\n } catch (error) {\n logger.warn(\n { matchedFile, errorMessage: error.message },\n 'pip-compile error',\n );\n continue;\n }\n lockFileArgs.set(matchedFile, compileArgs);\n for (const constraint of coerceArray(compileArgs.constraintsFiles)) {\n depsBetweenFiles.push({\n sourceFile: constraint,\n outputFile: matchedFile,\n type: 'constraint',\n });\n }\n const lockedDeps = extractRequirementsFile(fileContent)?.deps;\n if (!lockedDeps) {\n logger.debug(\n { matchedFile },\n 'pip-compile: Failed to extract dependencies from lock file',\n );\n continue;\n }\n\n for (const relativeSourceFile of compileArgs.sourceFiles) {\n const packageFile = upath.normalizeTrim(\n upath.join(compileDir, relativeSourceFile),\n );\n try {\n ensureLocalPath(packageFile);\n } catch {\n logger.warn(\n { matchedFile, packageFile },\n 'pip-compile: Source file path outside of repository',\n );\n continue;\n }\n depsBetweenFiles.push({\n sourceFile: packageFile,\n outputFile: matchedFile,\n type: 'requirement',\n });\n if (matchedFiles.includes(packageFile)) {\n // TODO(not7cd): do something about it\n logger.warn(\n { sourceFile: packageFile, lockFile: matchedFile },\n 'pip-compile: lock file acts as source file for another lock file',\n );\n continue;\n }\n if (packageFiles.has(packageFile)) {\n logger.debug(\n `pip-compile: ${packageFile} used in multiple output files`,\n );\n const existingPackageFile = packageFiles.get(packageFile)!;\n existingPackageFile.lockFiles!.push(matchedFile);\n extendWithIndirectDeps(existingPackageFile, lockedDeps);\n const source = lockFileSources.get(matchedFile) ?? [];\n source.push(existingPackageFile);\n lockFileSources.set(matchedFile, source);\n continue;\n }\n const content = await readLocalFile(packageFile, 'utf8');\n if (!content) {\n logger.debug(`pip-compile: No content for source file ${packageFile}`);\n continue;\n }\n\n const packageFileContent = extractPackageFile(\n content,\n packageFile,\n config,\n );\n if (packageFileContent) {\n if (packageFileContent.managerData?.requirementsFiles) {\n packageFileContent.managerData.requirementsFiles =\n packageFileContent.managerData.requirementsFiles.map(\n (file: string) => upath.normalize(upath.join(compileDir, file)),\n );\n for (const file of packageFileContent.managerData.requirementsFiles) {\n depsBetweenFiles.push({\n sourceFile: file,\n outputFile: packageFile,\n type: 'requirement',\n });\n }\n }\n if (packageFileContent.managerData?.constraintsFiles) {\n packageFileContent.managerData.constraintsFiles =\n packageFileContent.managerData.constraintsFiles.map(\n (file: string) => upath.normalize(upath.join(compileDir, file)),\n );\n for (const file of packageFileContent.managerData.constraintsFiles) {\n depsBetweenFiles.push({\n sourceFile: file,\n outputFile: packageFile,\n type: 'requirement',\n });\n }\n }\n for (const dep of packageFileContent.deps) {\n const lockedVersion = lockedDeps?.find(\n (lockedDep) => lockedDep.packageName === dep.packageName,\n )?.currentVersion;\n if (lockedVersion) {\n dep.lockedVersion = lockedVersion;\n } else {\n logger.warn(\n { depName: dep.depName, lockFile: matchedFile },\n 'pip-compile: dependency not found in lock file',\n );\n }\n }\n extendWithIndirectDeps(packageFileContent, lockedDeps);\n const newPackageFile: PackageFile = {\n ...packageFileContent,\n lockFiles: [matchedFile],\n packageFile,\n };\n packageFiles.set(packageFile, newPackageFile);\n const source = lockFileSources.get(matchedFile) ?? [];\n source.push(newPackageFile);\n lockFileSources.set(matchedFile, source);\n } else {\n logger.warn(\n { packageFile },\n 'pip-compile: failed to find dependencies in source file',\n );\n }\n }\n }\n if (packageFiles.size === 0) {\n return null;\n }\n const result: PackageFile[] = sortPackageFiles(\n depsBetweenFiles,\n packageFiles,\n );\n\n // This needs to go in reverse order to handle transitive dependencies\n for (const packageFile of [...result].reverse()) {\n for (const reqFile of packageFile.managerData?.requirementsFiles ?? []) {\n let sourceFiles: PackageFile[] | undefined = undefined;\n if (matchedFiles.includes(reqFile)) {\n sourceFiles = lockFileSources.get(reqFile);\n } else if (packageFiles.has(reqFile)) {\n sourceFiles = [packageFiles.get(reqFile)!];\n }\n if (!sourceFiles) {\n logger.warn(\n { packageFile: packageFile.packageFile, requirementsFile: reqFile },\n 'pip-compile: Package file references a file which does not appear to be a requirements file managed by pip-compile',\n );\n continue;\n }\n // These get reversed before merging so that we keep the last instance of any common\n // lock files, since a file that -r includes multiple lock files needs to be updated after\n // all of the lock files it includes\n const files = new Set([...packageFile.lockFiles!].reverse());\n for (const sourceFile of sourceFiles) {\n const merged = new Set(files);\n for (const lockFile of [...sourceFile.lockFiles!].reverse()) {\n merged.add(lockFile);\n }\n sourceFile.lockFiles = Array.from(merged).reverse();\n }\n }\n }\n logger.debug(\n 'pip-compile: dependency graph:\\n' +\n generateMermaidGraph(depsBetweenFiles, lockFileArgs),\n );\n return result;\n}\n\nfunction extendWithIndirectDeps(\n packageFileContent: PackageFileContent,\n lockedDeps: PackageDependency[],\n): void {\n for (const lockedDep of lockedDeps) {\n if (\n !packageFileContent.deps.find(\n (dep) => lockedDep.packageName === dep.packageName,\n )\n ) {\n packageFileContent.deps.push(indirectDep(lockedDep));\n }\n }\n}\n\n/**\n * As indirect dependecies don't exist in the package file, we need to\n * create them from the lock file.\n *\n * By removing currentValue and currentVersion, we ensure that they\n * are handled like unconstrained dependencies with locked version.\n * Such packages are updated when their update strategy\n * is set to 'update-lockfile',\n * see: lib/workers/repository/process/lookup/index.ts.\n *\n * By disabling them by default, we won't create noise by updating them.\n * Unless they have vulnerability alert, then they are forced to be updated.\n * @param dep dependency extracted from lock file (requirements.txt)\n * @returns unconstrained dependency with locked version\n */\nfunction indirectDep(dep: PackageDependency): PackageDependency {\n const result = {\n ...dep,\n lockedVersion: dep.currentVersion,\n depType: 'indirect',\n enabled: false,\n };\n delete result.currentValue;\n delete result.currentVersion;\n return result;\n}\n"]}
@@ -6,7 +6,7 @@ export declare const displayName = "pip-compile";
6
6
  export declare const url = "https://pip-tools.readthedocs.io/en/latest/cli/pip-compile";
7
7
  export declare const categories: Category[];
8
8
  export declare const defaultConfig: {
9
- fileMatch: never[];
9
+ managerFilePatterns: never[];
10
10
  lockFileMaintenance: {
11
11
  enabled: boolean;
12
12
  branchTopic: string;
@@ -13,7 +13,7 @@ exports.displayName = 'pip-compile';
13
13
  exports.url = 'https://pip-tools.readthedocs.io/en/latest/cli/pip-compile';
14
14
  exports.categories = ['python'];
15
15
  exports.defaultConfig = {
16
- fileMatch: [],
16
+ managerFilePatterns: [],
17
17
  lockFileMaintenance: {
18
18
  enabled: true,
19
19
  branchTopic: 'pip-compile-refresh',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip-compile/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,gDAAuD;AAEvD,qCAAuE;AAA9D,iHAAA,sBAAsB,OAAA;AAAE,6GAAA,kBAAkB,OAAA;AACnD,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AAEX,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,GAAG,GAAG,4DAA4D,CAAC;AACnE,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,EAAE;IACb,mBAAmB,EAAE;QACnB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,qBAAqB;QAClC,mBAAmB,EAAE,6BAA6B;KACnD;CACF,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,EAAE,4BAAiB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractAllPackageFiles, extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const displayName = 'pip-compile';\nexport const url = 'https://pip-tools.readthedocs.io/en/latest/cli/pip-compile';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: [],\n lockFileMaintenance: {\n enabled: true,\n branchTopic: 'pip-compile-refresh',\n commitMessageAction: 'Refresh pip-compile outputs',\n },\n};\n\nexport const supportedDatasources = [PypiDatasource.id, GitTagsDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip-compile/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,gDAAuD;AAEvD,qCAAuE;AAA9D,iHAAA,sBAAsB,OAAA;AAAE,6GAAA,kBAAkB,OAAA;AACnD,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AAEX,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,GAAG,GAAG,4DAA4D,CAAC;AACnE,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,EAAE;IACvB,mBAAmB,EAAE;QACnB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,qBAAqB;QAClC,mBAAmB,EAAE,6BAA6B;KACnD;CACF,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,EAAE,4BAAiB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractAllPackageFiles, extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const displayName = 'pip-compile';\nexport const url = 'https://pip-tools.readthedocs.io/en/latest/cli/pip-compile';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: [],\n lockFileMaintenance: {\n enabled: true,\n branchTopic: 'pip-compile-refresh',\n commitMessageAction: 'Refresh pip-compile outputs',\n },\n};\n\nexport const supportedDatasources = [PypiDatasource.id, GitTagsDatasource.id];\n"]}
@@ -5,6 +5,6 @@ export declare const displayName = "pip Requirements";
5
5
  export declare const url = "https://pip.pypa.io/en/stable/reference/requirements-file-format";
6
6
  export declare const categories: Category[];
7
7
  export declare const defaultConfig: {
8
- fileMatch: string[];
8
+ managerFilePatterns: string[];
9
9
  };
10
10
  export declare const supportedDatasources: string[];
@@ -11,7 +11,7 @@ exports.displayName = 'pip Requirements';
11
11
  exports.url = 'https://pip.pypa.io/en/stable/reference/requirements-file-format';
12
12
  exports.categories = ['python'];
13
13
  exports.defaultConfig = {
14
- fileMatch: ['(^|/)[\\w-]*requirements([-.]\\w+)?\\.(txt|pip)$'],
14
+ managerFilePatterns: ['/(^|/)[\\w-]*requirements([-.]\\w+)?\\.(txt|pip)$/'],
15
15
  };
16
16
  exports.supportedDatasources = [pypi_1.PypiDatasource.id, git_tags_1.GitTagsDatasource.id];
17
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip_requirements/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,gDAAuD;AAEvD,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AACxB,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,kBAAkB,CAAC;AACjC,QAAA,GAAG,GACd,kEAAkE,CAAC;AACxD,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,kDAAkD,CAAC;CAChE,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,EAAE,4BAAiB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { updateArtifacts } from './artifacts';\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pip Requirements';\nexport const url =\n 'https://pip.pypa.io/en/stable/reference/requirements-file-format';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)[\\\\w-]*requirements([-.]\\\\w+)?\\\\.(txt|pip)$'],\n};\n\nexport const supportedDatasources = [PypiDatasource.id, GitTagsDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip_requirements/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,gDAAuD;AAEvD,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AACxB,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,kBAAkB,CAAC;AACjC,QAAA,GAAG,GACd,kEAAkE,CAAC;AACxD,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,oDAAoD,CAAC;CAC5E,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,EAAE,4BAAiB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { updateArtifacts } from './artifacts';\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pip Requirements';\nexport const url =\n 'https://pip.pypa.io/en/stable/reference/requirements-file-format';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)[\\\\w-]*requirements([-.]\\\\w+)?\\\\.(txt|pip)$/'],\n};\n\nexport const supportedDatasources = [PypiDatasource.id, GitTagsDatasource.id];\n"]}
@@ -4,6 +4,6 @@ export declare const displayName = "pip setup.py";
4
4
  export declare const url = "https://pip.pypa.io/en/latest/reference/build-system/setup-py";
5
5
  export declare const categories: Category[];
6
6
  export declare const defaultConfig: {
7
- fileMatch: string[];
7
+ managerFilePatterns: string[];
8
8
  };
9
9
  export declare const supportedDatasources: string[];
@@ -8,7 +8,7 @@ exports.displayName = 'pip setup.py';
8
8
  exports.url = 'https://pip.pypa.io/en/latest/reference/build-system/setup-py';
9
9
  exports.categories = ['python'];
10
10
  exports.defaultConfig = {
11
- fileMatch: ['(^|/)setup\\.py$'],
11
+ managerFilePatterns: ['/(^|/)setup\\.py$/'],
12
12
  };
13
13
  exports.supportedDatasources = [pypi_1.PypiDatasource.id];
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip_setup/index.ts"],"names":[],"mappings":";;;AACA,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,cAAc,CAAC;AAC7B,QAAA,GAAG,GACd,+DAA+D,CAAC;AACrD,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pip setup.py';\nexport const url =\n 'https://pip.pypa.io/en/latest/reference/build-system/setup-py';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)setup\\\\.py$'],\n};\n\nexport const supportedDatasources = [PypiDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pip_setup/index.ts"],"names":[],"mappings":";;;AACA,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,cAAc,CAAC;AAC7B,QAAA,GAAG,GACd,+DAA+D,CAAC;AACrD,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,oBAAoB,CAAC;CAC5C,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pip setup.py';\nexport const url =\n 'https://pip.pypa.io/en/latest/reference/build-system/setup-py';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)setup\\\\.py$/'],\n};\n\nexport const supportedDatasources = [PypiDatasource.id];\n"]}
@@ -5,6 +5,6 @@ export declare const supportsLockFileMaintenance = true;
5
5
  export declare const url = "https://pipenv.pypa.io/en/latest";
6
6
  export declare const categories: Category[];
7
7
  export declare const defaultConfig: {
8
- fileMatch: string[];
8
+ managerFilePatterns: string[];
9
9
  };
10
10
  export declare const supportedDatasources: string[];
@@ -10,7 +10,7 @@ exports.supportsLockFileMaintenance = true;
10
10
  exports.url = 'https://pipenv.pypa.io/en/latest';
11
11
  exports.categories = ['python'];
12
12
  exports.defaultConfig = {
13
- fileMatch: ['(^|/)Pipfile$'],
13
+ managerFilePatterns: ['/(^|/)Pipfile$/'],
14
14
  };
15
15
  exports.supportedDatasources = [pypi_1.PypiDatasource.id];
16
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pipenv/index.ts"],"names":[],"mappings":";;;AACA,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AAEX,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,GAAG,GAAG,kCAAkC,CAAC;AACzC,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,eAAe,CAAC;CAC7B,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const url = 'https://pipenv.pypa.io/en/latest';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)Pipfile$'],\n};\n\nexport const supportedDatasources = [PypiDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pipenv/index.ts"],"names":[],"mappings":";;;AACA,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AAEX,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,GAAG,GAAG,kCAAkC,CAAC;AACzC,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,iBAAiB,CAAC;CACzC,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const url = 'https://pipenv.pypa.io/en/latest';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)Pipfile$/'],\n};\n\nexport const supportedDatasources = [PypiDatasource.id];\n"]}
@@ -5,6 +5,6 @@ export declare const supportsLockFileMaintenance = true;
5
5
  export declare const url = "https://github.com/prefix-dev/pixi/";
6
6
  export declare const categories: Category[];
7
7
  export declare const defaultConfig: {
8
- fileMatch: string[];
8
+ managerFilePatterns: string[];
9
9
  };
10
10
  export declare const supportedDatasources: string[];
@@ -11,9 +11,9 @@ exports.supportsLockFileMaintenance = true;
11
11
  exports.url = 'https://github.com/prefix-dev/pixi/';
12
12
  exports.categories = ['python'];
13
13
  exports.defaultConfig = {
14
- fileMatch: [
15
- '(^|/)pyproject\\.toml$', // `tool.pixi` section
16
- '(^|/)pixi\\.toml$', // root object
14
+ managerFilePatterns: [
15
+ '/(^|/)pyproject\\.toml$/', // `tool.pixi` section
16
+ '/(^|/)pixi\\.toml$/', // root object
17
17
  ],
18
18
  };
19
19
  exports.supportedDatasources = [pypi_1.PypiDatasource.id, conda_1.CondaDatasource.id];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pixi/index.ts"],"names":[],"mappings":";;;AACA,kDAAyD;AACzD,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AAEX,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,GAAG,GAAG,qCAAqC,CAAC;AAC5C,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE;QACT,wBAAwB,EAAE,sBAAsB;QAChD,mBAAmB,EAAE,cAAc;KACpC;CACF,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,EAAE,uBAAe,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { CondaDatasource } from '../../datasource/conda';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const url = 'https://github.com/prefix-dev/pixi/';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: [\n '(^|/)pyproject\\\\.toml$', // `tool.pixi` section\n '(^|/)pixi\\\\.toml$', // root object\n ],\n};\n\nexport const supportedDatasources = [PypiDatasource.id, CondaDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pixi/index.ts"],"names":[],"mappings":";;;AACA,kDAAyD;AACzD,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AAEX,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,GAAG,GAAG,qCAAqC,CAAC;AAC5C,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE;QACnB,0BAA0B,EAAE,sBAAsB;QAClD,qBAAqB,EAAE,cAAc;KACtC;CACF,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,EAAE,uBAAe,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { CondaDatasource } from '../../datasource/conda';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const url = 'https://github.com/prefix-dev/pixi/';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: [\n '/(^|/)pyproject\\\\.toml$/', // `tool.pixi` section\n '/(^|/)pixi\\\\.toml$/', // root object\n ],\n};\n\nexport const supportedDatasources = [PypiDatasource.id, CondaDatasource.id];\n"]}
@@ -7,6 +7,6 @@ export declare const supportsLockFileMaintenance = true;
7
7
  export declare const url = "https://python-poetry.org/docs";
8
8
  export declare const categories: Category[];
9
9
  export declare const defaultConfig: {
10
- fileMatch: string[];
10
+ managerFilePatterns: string[];
11
11
  };
12
12
  export declare const supportedDatasources: string[];
@@ -19,7 +19,7 @@ exports.supportsLockFileMaintenance = true;
19
19
  exports.url = 'https://python-poetry.org/docs';
20
20
  exports.categories = ['python'];
21
21
  exports.defaultConfig = {
22
- fileMatch: ['(^|/)pyproject\\.toml$'],
22
+ managerFilePatterns: ['/(^|/)pyproject\\.toml$/'],
23
23
  };
24
24
  exports.supportedDatasources = [
25
25
  pypi_1.PypiDatasource.id,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/poetry/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,wDAA8D;AAC9D,sEAA4E;AAC5E,8DAAoE;AACpE,8DAAoE;AACpE,gDAAuD;AAEvD,2CAAsD;AAA7C,4GAAA,kBAAkB,OAAA;AAC3B,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AACxB,iDAAyD;AAAhD,uHAAA,sBAAsB,OAAA;AAElB,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,GAAG,GAAG,gCAAgC,CAAC;AACvC,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,wBAAwB,CAAC;CACtC,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,qBAAc,CAAC,EAAE;IACjB,kCAAoB,CAAC,EAAE;IACvB,0CAAwB,CAAC,EAAE;IAC3B,kCAAoB,CAAC,EAAE;IACvB,4BAAiB,CAAC,EAAE;IACpB,4BAAiB,CAAC,EAAE;CACrB,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitRefsDatasource } from '../../datasource/git-refs';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { GithubReleasesDatasource } from '../../datasource/github-releases';\nimport { GithubTagsDatasource } from '../../datasource/github-tags';\nimport { GitlabTagsDatasource } from '../../datasource/gitlab-tags';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { bumpPackageVersion } from '../pep621/update';\nexport { extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\nexport { updateLockedDependency } from './update-locked';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const url = 'https://python-poetry.org/docs';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)pyproject\\\\.toml$'],\n};\n\nexport const supportedDatasources = [\n PypiDatasource.id,\n GithubTagsDatasource.id,\n GithubReleasesDatasource.id,\n GitlabTagsDatasource.id,\n GitRefsDatasource.id,\n GitTagsDatasource.id,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/poetry/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,wDAA8D;AAC9D,sEAA4E;AAC5E,8DAAoE;AACpE,8DAAoE;AACpE,gDAAuD;AAEvD,2CAAsD;AAA7C,4GAAA,kBAAkB,OAAA;AAC3B,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AACxB,iDAAyD;AAAhD,uHAAA,sBAAsB,OAAA;AAElB,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,GAAG,GAAG,gCAAgC,CAAC;AACvC,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,0BAA0B,CAAC;CAClD,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,qBAAc,CAAC,EAAE;IACjB,kCAAoB,CAAC,EAAE;IACvB,0CAAwB,CAAC,EAAE;IAC3B,kCAAoB,CAAC,EAAE;IACvB,4BAAiB,CAAC,EAAE;IACpB,4BAAiB,CAAC,EAAE;CACrB,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitRefsDatasource } from '../../datasource/git-refs';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { GithubReleasesDatasource } from '../../datasource/github-releases';\nimport { GithubTagsDatasource } from '../../datasource/github-tags';\nimport { GitlabTagsDatasource } from '../../datasource/gitlab-tags';\nimport { PypiDatasource } from '../../datasource/pypi';\n\nexport { bumpPackageVersion } from '../pep621/update';\nexport { extractPackageFile } from './extract';\nexport { updateArtifacts } from './artifacts';\nexport { updateLockedDependency } from './update-locked';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const url = 'https://python-poetry.org/docs';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)pyproject\\\\.toml$/'],\n};\n\nexport const supportedDatasources = [\n PypiDatasource.id,\n GithubTagsDatasource.id,\n GithubReleasesDatasource.id,\n GitlabTagsDatasource.id,\n GitRefsDatasource.id,\n GitTagsDatasource.id,\n];\n"]}
@@ -4,7 +4,7 @@ export declare const url = "https://pre-commit.com";
4
4
  export declare const defaultConfig: {
5
5
  commitMessageTopic: string;
6
6
  enabled: boolean;
7
- fileMatch: string[];
7
+ managerFilePatterns: string[];
8
8
  prBodyNotes: string[];
9
9
  };
10
10
  export declare const supportedDatasources: string[];
@@ -10,7 +10,7 @@ exports.url = 'https://pre-commit.com';
10
10
  exports.defaultConfig = {
11
11
  commitMessageTopic: 'pre-commit hook {{depName}}',
12
12
  enabled: false,
13
- fileMatch: ['(^|/)\\.pre-commit-config\\.ya?ml$'],
13
+ managerFilePatterns: ['/(^|/)\\.pre-commit-config\\.ya?ml$/'],
14
14
  prBodyNotes: process.env.RENOVATE_X_SUPPRESS_PRE_COMMIT_WARNING
15
15
  ? /* istanbul ignore next */
16
16
  []
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pre-commit/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoE;AACpE,8DAAoE;AACpE,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,YAAY,CAAC;AAC3B,QAAA,GAAG,GAAG,wBAAwB,CAAC;AAE/B,QAAA,aAAa,GAAG;IAC3B,kBAAkB,EAAE,6BAA6B;IACjD,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,CAAC,oCAAoC,CAAC;IACjD,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,sCAAsC;QAC7D,CAAC,CAAC,0BAA0B;YAC1B,EAAE;QACJ,CAAC,CAAC;YACE,iSAAiS;SAClS;CACN,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,kCAAoB,CAAC,EAAE;IACvB,kCAAoB,CAAC,EAAE;CACxB,CAAC","sourcesContent":["import { GithubTagsDatasource } from '../../datasource/github-tags';\nimport { GitlabTagsDatasource } from '../../datasource/gitlab-tags';\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pre-commit';\nexport const url = 'https://pre-commit.com';\n\nexport const defaultConfig = {\n commitMessageTopic: 'pre-commit hook {{depName}}',\n enabled: false,\n fileMatch: ['(^|/)\\\\.pre-commit-config\\\\.ya?ml$'],\n prBodyNotes: process.env.RENOVATE_X_SUPPRESS_PRE_COMMIT_WARNING\n ? /* istanbul ignore next */\n []\n : [\n 'Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.',\n ],\n};\n\nexport const supportedDatasources = [\n GithubTagsDatasource.id,\n GitlabTagsDatasource.id,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pre-commit/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoE;AACpE,8DAAoE;AACpE,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,YAAY,CAAC;AAC3B,QAAA,GAAG,GAAG,wBAAwB,CAAC;AAE/B,QAAA,aAAa,GAAG;IAC3B,kBAAkB,EAAE,6BAA6B;IACjD,OAAO,EAAE,KAAK;IACd,mBAAmB,EAAE,CAAC,sCAAsC,CAAC;IAC7D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,sCAAsC;QAC7D,CAAC,CAAC,0BAA0B;YAC1B,EAAE;QACJ,CAAC,CAAC;YACE,iSAAiS;SAClS;CACN,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,kCAAoB,CAAC,EAAE;IACvB,kCAAoB,CAAC,EAAE;CACxB,CAAC","sourcesContent":["import { GithubTagsDatasource } from '../../datasource/github-tags';\nimport { GitlabTagsDatasource } from '../../datasource/gitlab-tags';\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pre-commit';\nexport const url = 'https://pre-commit.com';\n\nexport const defaultConfig = {\n commitMessageTopic: 'pre-commit hook {{depName}}',\n enabled: false,\n managerFilePatterns: ['/(^|/)\\\\.pre-commit-config\\\\.ya?ml$/'],\n prBodyNotes: process.env.RENOVATE_X_SUPPRESS_PRE_COMMIT_WARNING\n ? /* istanbul ignore next */\n []\n : [\n 'Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.',\n ],\n};\n\nexport const supportedDatasources = [\n GithubTagsDatasource.id,\n GitlabTagsDatasource.id,\n];\n"]}
@@ -6,7 +6,7 @@ export declare const displayName = "pub";
6
6
  export declare const url = "https://dart.dev/tools/pub/packages";
7
7
  export declare const categories: Category[];
8
8
  export declare const defaultConfig: {
9
- fileMatch: string[];
9
+ managerFilePatterns: string[];
10
10
  versioning: string;
11
11
  };
12
12
  export declare const supportedDatasources: string[];
@@ -15,7 +15,7 @@ exports.displayName = 'pub';
15
15
  exports.url = 'https://dart.dev/tools/pub/packages';
16
16
  exports.categories = ['dart'];
17
17
  exports.defaultConfig = {
18
- fileMatch: ['(^|/)pubspec\\.ya?ml$'],
18
+ managerFilePatterns: ['/(^|/)pubspec\\.ya?ml$/'],
19
19
  versioning: npmVersioning.id,
20
20
  };
21
21
  exports.supportedDatasources = [
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pub/index.ts"],"names":[],"mappings":";;;;AACA,gDAAuD;AACvD,gEAAsE;AACtE,sEAA4E;AAC5E,4EAAsD;AAEtD,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AACxB,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,WAAW,GAAG,KAAK,CAAC;AACpB,QAAA,GAAG,GAAG,qCAAqC,CAAC;AAC5C,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,uBAAuB,CAAC;IACpC,UAAU,EAAE,aAAa,CAAC,EAAE;CAC7B,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,qBAAc,CAAC,EAAE;IACjB,oCAAqB,CAAC,EAAE;IACxB,0CAAwB,CAAC,EAAE;CAC5B,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DartDatasource } from '../../datasource/dart';\nimport { DartVersionDatasource } from '../../datasource/dart-version';\nimport { FlutterVersionDatasource } from '../../datasource/flutter-version';\nimport * as npmVersioning from '../../versioning/npm';\n\nexport { updateArtifacts } from './artifacts';\nexport { extractPackageFile } from './extract';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const displayName = 'pub';\nexport const url = 'https://dart.dev/tools/pub/packages';\nexport const categories: Category[] = ['dart'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)pubspec\\\\.ya?ml$'],\n versioning: npmVersioning.id,\n};\n\nexport const supportedDatasources = [\n DartDatasource.id,\n DartVersionDatasource.id,\n FlutterVersionDatasource.id,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pub/index.ts"],"names":[],"mappings":";;;;AACA,gDAAuD;AACvD,gEAAsE;AACtE,sEAA4E;AAC5E,4EAAsD;AAEtD,yCAA8C;AAArC,4GAAA,eAAe,OAAA;AACxB,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEnC,QAAA,WAAW,GAAG,KAAK,CAAC;AACpB,QAAA,GAAG,GAAG,qCAAqC,CAAC;AAC5C,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,yBAAyB,CAAC;IAChD,UAAU,EAAE,aAAa,CAAC,EAAE;CAC7B,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,qBAAc,CAAC,EAAE;IACjB,oCAAqB,CAAC,EAAE;IACxB,0CAAwB,CAAC,EAAE;CAC5B,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DartDatasource } from '../../datasource/dart';\nimport { DartVersionDatasource } from '../../datasource/dart-version';\nimport { FlutterVersionDatasource } from '../../datasource/flutter-version';\nimport * as npmVersioning from '../../versioning/npm';\n\nexport { updateArtifacts } from './artifacts';\nexport { extractPackageFile } from './extract';\n\nexport const supportsLockFileMaintenance = true;\n\nexport const displayName = 'pub';\nexport const url = 'https://dart.dev/tools/pub/packages';\nexport const categories: Category[] = ['dart'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)pubspec\\\\.ya?ml$/'],\n versioning: npmVersioning.id,\n};\n\nexport const supportedDatasources = [\n DartDatasource.id,\n DartVersionDatasource.id,\n FlutterVersionDatasource.id,\n];\n"]}
@@ -3,6 +3,6 @@ export { extractPackageFile } from './extract';
3
3
  export declare const url = "https://www.puppet.com/docs/index.html";
4
4
  export declare const categories: Category[];
5
5
  export declare const defaultConfig: {
6
- fileMatch: string[];
6
+ managerFilePatterns: string[];
7
7
  };
8
8
  export declare const supportedDatasources: string[];
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "extractPackageFile", { enumerable: true, get: fu
9
9
  exports.url = 'https://www.puppet.com/docs/index.html';
10
10
  exports.categories = ['iac', 'ruby'];
11
11
  exports.defaultConfig = {
12
- fileMatch: ['(^|/)Puppetfile$'],
12
+ managerFilePatterns: ['/(^|/)Puppetfile$/'],
13
13
  };
14
14
  exports.supportedDatasources = [
15
15
  puppet_forge_1.PuppetForgeDatasource.id,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/puppet/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,8DAAoE;AACpE,gEAAsE;AAEtE,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,GAAG,GAAG,wCAAwC,CAAC;AAC/C,QAAA,UAAU,GAAe,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAEzC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,oCAAqB,CAAC,EAAE;IACxB,kCAAoB,CAAC,EAAE;IACvB,4BAAiB,CAAC,EAAE;CACrB,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { GithubTagsDatasource } from '../../datasource/github-tags';\nimport { PuppetForgeDatasource } from '../../datasource/puppet-forge';\n\nexport { extractPackageFile } from './extract';\n\nexport const url = 'https://www.puppet.com/docs/index.html';\nexport const categories: Category[] = ['iac', 'ruby'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)Puppetfile$'],\n};\n\nexport const supportedDatasources = [\n PuppetForgeDatasource.id,\n GithubTagsDatasource.id,\n GitTagsDatasource.id,\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/puppet/index.ts"],"names":[],"mappings":";;;AACA,wDAA8D;AAC9D,8DAAoE;AACpE,gEAAsE;AAEtE,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,GAAG,GAAG,wCAAwC,CAAC;AAC/C,QAAA,UAAU,GAAe,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAEzC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,oBAAoB,CAAC;CAC5C,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,oCAAqB,CAAC,EAAE;IACxB,kCAAoB,CAAC,EAAE;IACvB,4BAAiB,CAAC,EAAE;CACrB,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GitTagsDatasource } from '../../datasource/git-tags';\nimport { GithubTagsDatasource } from '../../datasource/github-tags';\nimport { PuppetForgeDatasource } from '../../datasource/puppet-forge';\n\nexport { extractPackageFile } from './extract';\n\nexport const url = 'https://www.puppet.com/docs/index.html';\nexport const categories: Category[] = ['iac', 'ruby'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)Puppetfile$/'],\n};\n\nexport const supportedDatasources = [\n PuppetForgeDatasource.id,\n GithubTagsDatasource.id,\n GitTagsDatasource.id,\n];\n"]}
@@ -4,7 +4,7 @@ export declare const displayName = "pyenv";
4
4
  export declare const url = "https://github.com/pyenv/pyenv#readme";
5
5
  export declare const categories: Category[];
6
6
  export declare const defaultConfig: {
7
- fileMatch: string[];
7
+ managerFilePatterns: string[];
8
8
  versioning: string;
9
9
  pinDigests: boolean;
10
10
  };
@@ -10,7 +10,7 @@ exports.displayName = 'pyenv';
10
10
  exports.url = 'https://github.com/pyenv/pyenv#readme';
11
11
  exports.categories = ['python'];
12
12
  exports.defaultConfig = {
13
- fileMatch: ['(^|/)\\.python-version$'],
13
+ managerFilePatterns: ['/(^|/)\\.python-version$/'],
14
14
  versioning: dockerVersioning.id,
15
15
  pinDigests: false,
16
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pyenv/index.ts"],"names":[],"mappings":";;;;AACA,oDAA2D;AAC3D,kFAA4D;AAE5D,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,OAAO,CAAC;AACtB,QAAA,GAAG,GAAG,uCAAuC,CAAC;AAC9C,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,yBAAyB,CAAC;IACtC,UAAU,EAAE,gBAAgB,CAAC,EAAE;IAC/B,UAAU,EAAE,KAAK;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAgB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DockerDatasource } from '../../datasource/docker';\nimport * as dockerVersioning from '../../versioning/docker';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pyenv';\nexport const url = 'https://github.com/pyenv/pyenv#readme';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)\\\\.python-version$'],\n versioning: dockerVersioning.id,\n pinDigests: false,\n};\n\nexport const supportedDatasources = [DockerDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pyenv/index.ts"],"names":[],"mappings":";;;;AACA,oDAA2D;AAC3D,kFAA4D;AAE5D,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,OAAO,CAAC;AACtB,QAAA,GAAG,GAAG,uCAAuC,CAAC;AAC9C,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,2BAA2B,CAAC;IAClD,UAAU,EAAE,gBAAgB,CAAC,EAAE;IAC/B,UAAU,EAAE,KAAK;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAgB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DockerDatasource } from '../../datasource/docker';\nimport * as dockerVersioning from '../../versioning/docker';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'pyenv';\nexport const url = 'https://github.com/pyenv/pyenv#readme';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)\\\\.python-version$/'],\n versioning: dockerVersioning.id,\n pinDigests: false,\n};\n\nexport const supportedDatasources = [DockerDatasource.id];\n"]}
@@ -3,7 +3,7 @@ export { extractPackageFile } from './extract';
3
3
  export declare const displayName = ".ruby-version";
4
4
  export declare const categories: Category[];
5
5
  export declare const defaultConfig: {
6
- fileMatch: string[];
6
+ managerFilePatterns: string[];
7
7
  versioning: string;
8
8
  };
9
9
  export declare const supportedDatasources: string[];
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "extractPackageFile", { enumerable: true, get: fu
9
9
  exports.displayName = '.ruby-version';
10
10
  exports.categories = ['ruby'];
11
11
  exports.defaultConfig = {
12
- fileMatch: ['(^|/)\\.ruby-version$'],
12
+ managerFilePatterns: ['/(^|/)\\.ruby-version$/'],
13
13
  versioning: rubyVersioning.id,
14
14
  };
15
15
  exports.supportedDatasources = [ruby_version_1.RubyVersionDatasource.id];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/ruby-version/index.ts"],"names":[],"mappings":";;;;AACA,gEAAsE;AACtE,8EAAwD;AAExD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,eAAe,CAAC;AAC9B,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,uBAAuB,CAAC;IACpC,UAAU,EAAE,cAAc,CAAC,EAAE;CAC9B,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,oCAAqB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { RubyVersionDatasource } from '../../datasource/ruby-version';\nimport * as rubyVersioning from '../../versioning/ruby';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = '.ruby-version';\nexport const categories: Category[] = ['ruby'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)\\\\.ruby-version$'],\n versioning: rubyVersioning.id,\n};\n\nexport const supportedDatasources = [RubyVersionDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/ruby-version/index.ts"],"names":[],"mappings":";;;;AACA,gEAAsE;AACtE,8EAAwD;AAExD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,eAAe,CAAC;AAC9B,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,yBAAyB,CAAC;IAChD,UAAU,EAAE,cAAc,CAAC,EAAE;CAC9B,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,oCAAqB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { RubyVersionDatasource } from '../../datasource/ruby-version';\nimport * as rubyVersioning from '../../versioning/ruby';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = '.ruby-version';\nexport const categories: Category[] = ['ruby'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)\\\\.ruby-version$/'],\n versioning: rubyVersioning.id,\n};\n\nexport const supportedDatasources = [RubyVersionDatasource.id];\n"]}
@@ -3,7 +3,7 @@ export { extractPackageFile } from './extract';
3
3
  export declare const displayName = "runtime.txt";
4
4
  export declare const categories: Category[];
5
5
  export declare const defaultConfig: {
6
- fileMatch: string[];
6
+ managerFilePatterns: string[];
7
7
  pinDigests: boolean;
8
8
  };
9
9
  export declare const supportedDatasources: string[];
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "extractPackageFile", { enumerable: true, get: fu
7
7
  exports.displayName = 'runtime.txt';
8
8
  exports.categories = ['python'];
9
9
  exports.defaultConfig = {
10
- fileMatch: ['(^|/)runtime.txt$'],
10
+ managerFilePatterns: ['/(^|/)runtime.txt$/'],
11
11
  pinDigests: false,
12
12
  };
13
13
  exports.supportedDatasources = [docker_1.DockerDatasource.id];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/runtime-version/index.ts"],"names":[],"mappings":";;;AACA,oDAA2D;AAE3D,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,mBAAmB,CAAC;IAChC,UAAU,EAAE,KAAK;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAgB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DockerDatasource } from '../../datasource/docker';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'runtime.txt';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)runtime.txt$'],\n pinDigests: false,\n};\n\nexport const supportedDatasources = [DockerDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/runtime-version/index.ts"],"names":[],"mappings":";;;AACA,oDAA2D;AAE3D,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,qBAAqB,CAAC;IAC5C,UAAU,EAAE,KAAK;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAgB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DockerDatasource } from '../../datasource/docker';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'runtime.txt';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)runtime.txt$/'],\n pinDigests: false,\n};\n\nexport const supportedDatasources = [DockerDatasource.id];\n"]}
@@ -5,7 +5,7 @@ export declare const displayName = "sbt";
5
5
  export declare const url = "https://www.scala-sbt.org";
6
6
  export declare const categories: Category[];
7
7
  export declare const defaultConfig: {
8
- fileMatch: string[];
8
+ managerFilePatterns: string[];
9
9
  versioning: string;
10
10
  };
11
11
  export declare const supportedDatasources: string[];
@@ -16,11 +16,11 @@ exports.displayName = 'sbt';
16
16
  exports.url = 'https://www.scala-sbt.org';
17
17
  exports.categories = ['java'];
18
18
  exports.defaultConfig = {
19
- fileMatch: [
20
- '\\.sbt$',
21
- 'project/[^/]*\\.scala$',
22
- 'project/build\\.properties$',
23
- '(^|/)repositories$',
19
+ managerFilePatterns: [
20
+ '/\\.sbt$/',
21
+ '/project/[^/]*\\.scala$/',
22
+ '/project/build\\.properties$/',
23
+ '/(^|/)repositories$/',
24
24
  ],
25
25
  versioning: ivyVersioning.id,
26
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/sbt/index.ts"],"names":[],"mappings":";;;;AACA,sEAA4E;AAC5E,kDAAyD;AACzD,8DAAoE;AACpE,4DAAkE;AAClE,4EAAsD;AAEtD,qCAAuE;AAA9D,iHAAA,sBAAsB,OAAA;AAAE,6GAAA,kBAAkB,OAAA;AACnD,mCAA8C;AAArC,4GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,KAAK,CAAC;AACpB,QAAA,GAAG,GAAG,2BAA2B,CAAC;AAClC,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE;QACT,SAAS;QACT,wBAAwB;QACxB,6BAA6B;QAC7B,oBAAoB;KACrB;IACD,UAAU,EAAE,aAAa,CAAC,EAAE;CAC7B,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,uBAAe,CAAC,EAAE;IAClB,kCAAoB,CAAC,EAAE;IACvB,gCAAmB,CAAC,EAAE;IACtB,0CAAwB,CAAC,EAAE,EAAE,iBAAiB;CAC/C,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GithubReleasesDatasource } from '../../datasource/github-releases';\nimport { MavenDatasource } from '../../datasource/maven';\nimport { SbtPackageDatasource } from '../../datasource/sbt-package';\nimport { SbtPluginDatasource } from '../../datasource/sbt-plugin';\nimport * as ivyVersioning from '../../versioning/ivy';\n\nexport { extractAllPackageFiles, extractPackageFile } from './extract';\nexport { bumpPackageVersion } from './update';\n\nexport const displayName = 'sbt';\nexport const url = 'https://www.scala-sbt.org';\nexport const categories: Category[] = ['java'];\n\nexport const defaultConfig = {\n fileMatch: [\n '\\\\.sbt$',\n 'project/[^/]*\\\\.scala$',\n 'project/build\\\\.properties$',\n '(^|/)repositories$',\n ],\n versioning: ivyVersioning.id,\n};\n\nexport const supportedDatasources = [\n MavenDatasource.id,\n SbtPackageDatasource.id,\n SbtPluginDatasource.id,\n GithubReleasesDatasource.id, // For sbt itself\n];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/sbt/index.ts"],"names":[],"mappings":";;;;AACA,sEAA4E;AAC5E,kDAAyD;AACzD,8DAAoE;AACpE,4DAAkE;AAClE,4EAAsD;AAEtD,qCAAuE;AAA9D,iHAAA,sBAAsB,OAAA;AAAE,6GAAA,kBAAkB,OAAA;AACnD,mCAA8C;AAArC,4GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,KAAK,CAAC;AACpB,QAAA,GAAG,GAAG,2BAA2B,CAAC;AAClC,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE;QACnB,WAAW;QACX,0BAA0B;QAC1B,+BAA+B;QAC/B,sBAAsB;KACvB;IACD,UAAU,EAAE,aAAa,CAAC,EAAE;CAC7B,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,uBAAe,CAAC,EAAE;IAClB,kCAAoB,CAAC,EAAE;IACvB,gCAAmB,CAAC,EAAE;IACtB,0CAAwB,CAAC,EAAE,EAAE,iBAAiB;CAC/C,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GithubReleasesDatasource } from '../../datasource/github-releases';\nimport { MavenDatasource } from '../../datasource/maven';\nimport { SbtPackageDatasource } from '../../datasource/sbt-package';\nimport { SbtPluginDatasource } from '../../datasource/sbt-plugin';\nimport * as ivyVersioning from '../../versioning/ivy';\n\nexport { extractAllPackageFiles, extractPackageFile } from './extract';\nexport { bumpPackageVersion } from './update';\n\nexport const displayName = 'sbt';\nexport const url = 'https://www.scala-sbt.org';\nexport const categories: Category[] = ['java'];\n\nexport const defaultConfig = {\n managerFilePatterns: [\n '/\\\\.sbt$/',\n '/project/[^/]*\\\\.scala$/',\n '/project/build\\\\.properties$/',\n '/(^|/)repositories$/',\n ],\n versioning: ivyVersioning.id,\n};\n\nexport const supportedDatasources = [\n MavenDatasource.id,\n SbtPackageDatasource.id,\n SbtPluginDatasource.id,\n GithubReleasesDatasource.id, // For sbt itself\n];\n"]}
@@ -3,6 +3,6 @@ export { extractPackageFile } from './extract';
3
3
  export declare const url = "https://scalameta.org/scalafmt/docs/configuration.html#version";
4
4
  export declare const categories: Category[];
5
5
  export declare const defaultConfig: {
6
- fileMatch: string[];
6
+ managerFilePatterns: string[];
7
7
  };
8
8
  export declare const supportedDatasources: string[];
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "extractPackageFile", { enumerable: true, get: fu
7
7
  exports.url = 'https://scalameta.org/scalafmt/docs/configuration.html#version';
8
8
  exports.categories = ['java'];
9
9
  exports.defaultConfig = {
10
- fileMatch: ['(^|/)\\.scalafmt.conf$'],
10
+ managerFilePatterns: ['/(^|/)\\.scalafmt.conf$/'],
11
11
  };
12
12
  exports.supportedDatasources = [github_releases_1.GithubReleasesDatasource.id];
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/scalafmt/index.ts"],"names":[],"mappings":";;;AACA,sEAA4E;AAE5E,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,GAAG,GACd,gEAAgE,CAAC;AACtD,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,wBAAwB,CAAC;CACtC,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,0CAAwB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GithubReleasesDatasource } from '../../datasource/github-releases';\n\nexport { extractPackageFile } from './extract';\n\nexport const url =\n 'https://scalameta.org/scalafmt/docs/configuration.html#version';\nexport const categories: Category[] = ['java'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)\\\\.scalafmt.conf$'],\n};\n\nexport const supportedDatasources = [GithubReleasesDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/scalafmt/index.ts"],"names":[],"mappings":";;;AACA,sEAA4E;AAE5E,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,GAAG,GACd,gEAAgE,CAAC;AACtD,QAAA,UAAU,GAAe,CAAC,MAAM,CAAC,CAAC;AAElC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,0BAA0B,CAAC;CAClD,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,0CAAwB,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { GithubReleasesDatasource } from '../../datasource/github-releases';\n\nexport { extractPackageFile } from './extract';\n\nexport const url =\n 'https://scalameta.org/scalafmt/docs/configuration.html#version';\nexport const categories: Category[] = ['java'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)\\\\.scalafmt.conf$/'],\n};\n\nexport const supportedDatasources = [GithubReleasesDatasource.id];\n"]}
@@ -4,7 +4,7 @@ export declare const displayName = "Setuptools (setup.cfg)";
4
4
  export declare const url = "https://setuptools.pypa.io/en/latest/userguide/declarative_config.html";
5
5
  export declare const categories: Category[];
6
6
  export declare const defaultConfig: {
7
- fileMatch: string[];
7
+ managerFilePatterns: string[];
8
8
  versioning: string;
9
9
  };
10
10
  export declare const supportedDatasources: string[];
@@ -9,7 +9,7 @@ exports.displayName = 'Setuptools (setup.cfg)';
9
9
  exports.url = 'https://setuptools.pypa.io/en/latest/userguide/declarative_config.html';
10
10
  exports.categories = ['python'];
11
11
  exports.defaultConfig = {
12
- fileMatch: ['(^|/)setup\\.cfg$'],
12
+ managerFilePatterns: ['/(^|/)setup\\.cfg$/'],
13
13
  versioning: pep440_1.id,
14
14
  };
15
15
  exports.supportedDatasources = [pypi_1.PypiDatasource.id];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/setup-cfg/index.ts"],"names":[],"mappings":";;;AACA,gDAAuD;AACvD,oDAA2D;AAE3D,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,wBAAwB,CAAC;AACvC,QAAA,GAAG,GACd,wEAAwE,CAAC;AAC9D,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,CAAC,mBAAmB,CAAC;IAChC,UAAU,EAAV,WAAU;CACX,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { PypiDatasource } from '../../datasource/pypi';\nimport { id as versioning } from '../../versioning/pep440';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'Setuptools (setup.cfg)';\nexport const url =\n 'https://setuptools.pypa.io/en/latest/userguide/declarative_config.html';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n fileMatch: ['(^|/)setup\\\\.cfg$'],\n versioning,\n};\n\nexport const supportedDatasources = [PypiDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/setup-cfg/index.ts"],"names":[],"mappings":";;;AACA,gDAAuD;AACvD,oDAA2D;AAE3D,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,WAAW,GAAG,wBAAwB,CAAC;AACvC,QAAA,GAAG,GACd,wEAAwE,CAAC;AAC9D,QAAA,UAAU,GAAe,CAAC,QAAQ,CAAC,CAAC;AAEpC,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,CAAC,qBAAqB,CAAC;IAC5C,UAAU,EAAV,WAAU;CACX,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { PypiDatasource } from '../../datasource/pypi';\nimport { id as versioning } from '../../versioning/pep440';\n\nexport { extractPackageFile } from './extract';\n\nexport const displayName = 'Setuptools (setup.cfg)';\nexport const url =\n 'https://setuptools.pypa.io/en/latest/userguide/declarative_config.html';\nexport const categories: Category[] = ['python'];\n\nexport const defaultConfig = {\n managerFilePatterns: ['/(^|/)setup\\\\.cfg$/'],\n versioning,\n};\n\nexport const supportedDatasources = [PypiDatasource.id];\n"]}
@@ -3,6 +3,6 @@ export { extractPackageFile } from './extract';
3
3
  export declare const url = "https://projectsveltos.github.io/sveltos";
4
4
  export declare const categories: Category[];
5
5
  export declare const defaultConfig: {
6
- fileMatch: never[];
6
+ managerFilePatterns: never[];
7
7
  };
8
8
  export declare const supportedDatasources: string[];
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "extractPackageFile", { enumerable: true, get: fu
8
8
  exports.url = 'https://projectsveltos.github.io/sveltos';
9
9
  exports.categories = ['kubernetes', 'cd'];
10
10
  exports.defaultConfig = {
11
- fileMatch: [],
11
+ managerFilePatterns: [],
12
12
  };
13
13
  exports.supportedDatasources = [docker_1.DockerDatasource.id, helm_1.HelmDatasource.id];
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/sveltos/index.ts"],"names":[],"mappings":";;;AACA,oDAA2D;AAC3D,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,GAAG,GAAG,0CAA0C,CAAC;AACjD,QAAA,UAAU,GAAe,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAE9C,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,EAAE;CACd,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAgB,CAAC,EAAE,EAAE,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DockerDatasource } from '../../datasource/docker';\nimport { HelmDatasource } from '../../datasource/helm';\n\nexport { extractPackageFile } from './extract';\n\nexport const url = 'https://projectsveltos.github.io/sveltos';\nexport const categories: Category[] = ['kubernetes', 'cd'];\n\nexport const defaultConfig = {\n fileMatch: [],\n};\n\nexport const supportedDatasources = [DockerDatasource.id, HelmDatasource.id];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/manager/sveltos/index.ts"],"names":[],"mappings":";;;AACA,oDAA2D;AAC3D,gDAAuD;AAEvD,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAEd,QAAA,GAAG,GAAG,0CAA0C,CAAC;AACjD,QAAA,UAAU,GAAe,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAE9C,QAAA,aAAa,GAAG;IAC3B,mBAAmB,EAAE,EAAE;CACxB,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAgB,CAAC,EAAE,EAAE,qBAAc,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Category } from '../../../constants';\nimport { DockerDatasource } from '../../datasource/docker';\nimport { HelmDatasource } from '../../datasource/helm';\n\nexport { extractPackageFile } from './extract';\n\nexport const url = 'https://projectsveltos.github.io/sveltos';\nexport const categories: Category[] = ['kubernetes', 'cd'];\n\nexport const defaultConfig = {\n managerFilePatterns: [],\n};\n\nexport const supportedDatasources = [DockerDatasource.id, HelmDatasource.id];\n"]}