@release-please-oss/release-please 0.0.0 → 17.11.3

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 (310) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +280 -0
  3. package/build/src/bin/release-please.d.ts +22 -0
  4. package/build/src/bin/release-please.js +727 -0
  5. package/build/src/bootstrapper.d.ts +18 -0
  6. package/build/src/bootstrapper.js +64 -0
  7. package/build/src/changelog-notes/default.d.ts +15 -0
  8. package/build/src/changelog-notes/default.js +96 -0
  9. package/build/src/changelog-notes/github.d.ts +8 -0
  10. package/build/src/changelog-notes/github.js +29 -0
  11. package/build/src/changelog-notes.d.ts +22 -0
  12. package/build/src/changelog-notes.js +40 -0
  13. package/build/src/commit.d.ts +33 -0
  14. package/build/src/commit.js +422 -0
  15. package/build/src/errors/index.d.ts +36 -0
  16. package/build/src/errors/index.js +77 -0
  17. package/build/src/factories/changelog-notes-factory.d.ts +16 -0
  18. package/build/src/factories/changelog-notes-factory.js +44 -0
  19. package/build/src/factories/plugin-factory.d.ts +23 -0
  20. package/build/src/factories/plugin-factory.js +94 -0
  21. package/build/src/factories/versioning-strategy-factory.d.ts +16 -0
  22. package/build/src/factories/versioning-strategy-factory.js +52 -0
  23. package/build/src/factory.d.ts +18 -0
  24. package/build/src/factory.js +161 -0
  25. package/build/src/github-api.d.ts +260 -0
  26. package/build/src/github-api.js +714 -0
  27. package/build/src/github.d.ts +306 -0
  28. package/build/src/github.js +769 -0
  29. package/build/src/index.d.ts +17 -0
  30. package/build/src/index.js +41 -0
  31. package/build/src/local-github.d.ts +270 -0
  32. package/build/src/local-github.js +756 -0
  33. package/build/src/manifest.d.ts +370 -0
  34. package/build/src/manifest.js +1142 -0
  35. package/build/src/plugin.d.ts +37 -0
  36. package/build/src/plugin.js +57 -0
  37. package/build/src/plugins/cargo-workspace.d.ts +58 -0
  38. package/build/src/plugins/cargo-workspace.js +339 -0
  39. package/build/src/plugins/group-priority.d.ts +29 -0
  40. package/build/src/plugins/group-priority.js +82 -0
  41. package/build/src/plugins/linked-versions.d.ts +36 -0
  42. package/build/src/plugins/linked-versions.js +137 -0
  43. package/build/src/plugins/maven-workspace.d.ts +81 -0
  44. package/build/src/plugins/maven-workspace.js +431 -0
  45. package/build/src/plugins/merge.d.ts +27 -0
  46. package/build/src/plugins/merge.js +99 -0
  47. package/build/src/plugins/node-workspace.d.ts +50 -0
  48. package/build/src/plugins/node-workspace.js +352 -0
  49. package/build/src/plugins/sentence-case.d.ts +19 -0
  50. package/build/src/plugins/sentence-case.js +80 -0
  51. package/build/src/plugins/workspace.d.ts +173 -0
  52. package/build/src/plugins/workspace.js +308 -0
  53. package/build/src/pull-request.d.ts +11 -0
  54. package/build/src/pull-request.js +16 -0
  55. package/build/src/release-pull-request.d.ts +14 -0
  56. package/build/src/release-pull-request.js +16 -0
  57. package/build/src/release.d.ts +7 -0
  58. package/build/src/release.js +16 -0
  59. package/build/src/repository.d.ts +5 -0
  60. package/build/src/repository.js +16 -0
  61. package/build/src/scm.d.ts +80 -0
  62. package/build/src/scm.js +16 -0
  63. package/build/src/strategies/base.d.ts +162 -0
  64. package/build/src/strategies/base.js +494 -0
  65. package/build/src/strategies/bazel.d.ts +7 -0
  66. package/build/src/strategies/bazel.js +49 -0
  67. package/build/src/strategies/dart.d.ts +8 -0
  68. package/build/src/strategies/dart.js +73 -0
  69. package/build/src/strategies/dotnet-yoshi.d.ts +13 -0
  70. package/build/src/strategies/dotnet-yoshi.js +109 -0
  71. package/build/src/strategies/elixir.d.ts +5 -0
  72. package/build/src/strategies/elixir.js +46 -0
  73. package/build/src/strategies/expo.d.ts +15 -0
  74. package/build/src/strategies/expo.js +51 -0
  75. package/build/src/strategies/go-librarian.d.ts +11 -0
  76. package/build/src/strategies/go-librarian.js +84 -0
  77. package/build/src/strategies/go-yoshi.d.ts +14 -0
  78. package/build/src/strategies/go-yoshi.js +168 -0
  79. package/build/src/strategies/go.d.ts +7 -0
  80. package/build/src/strategies/go.js +53 -0
  81. package/build/src/strategies/helm.d.ts +8 -0
  82. package/build/src/strategies/helm.js +73 -0
  83. package/build/src/strategies/java-yoshi-mono-repo.d.ts +22 -0
  84. package/build/src/strategies/java-yoshi-mono-repo.js +308 -0
  85. package/build/src/strategies/java-yoshi.d.ts +20 -0
  86. package/build/src/strategies/java-yoshi.js +210 -0
  87. package/build/src/strategies/java.d.ts +28 -0
  88. package/build/src/strategies/java.js +176 -0
  89. package/build/src/strategies/krm-blueprint.d.ts +7 -0
  90. package/build/src/strategies/krm-blueprint.js +65 -0
  91. package/build/src/strategies/maven.d.ts +9 -0
  92. package/build/src/strategies/maven.js +56 -0
  93. package/build/src/strategies/node-librarian.d.ts +10 -0
  94. package/build/src/strategies/node-librarian.js +121 -0
  95. package/build/src/strategies/node.d.ts +10 -0
  96. package/build/src/strategies/node.js +111 -0
  97. package/build/src/strategies/ocaml.d.ts +5 -0
  98. package/build/src/strategies/ocaml.js +86 -0
  99. package/build/src/strategies/php-librarian.d.ts +6 -0
  100. package/build/src/strategies/php-librarian.js +35 -0
  101. package/build/src/strategies/php-yoshi.d.ts +13 -0
  102. package/build/src/strategies/php-yoshi.js +255 -0
  103. package/build/src/strategies/php.d.ts +6 -0
  104. package/build/src/strategies/php.js +76 -0
  105. package/build/src/strategies/python-librarian.d.ts +6 -0
  106. package/build/src/strategies/python-librarian.js +35 -0
  107. package/build/src/strategies/python.d.ts +11 -0
  108. package/build/src/strategies/python.js +175 -0
  109. package/build/src/strategies/r.d.ts +8 -0
  110. package/build/src/strategies/r.js +67 -0
  111. package/build/src/strategies/ruby-librarian.d.ts +6 -0
  112. package/build/src/strategies/ruby-librarian.js +35 -0
  113. package/build/src/strategies/ruby-yoshi.d.ts +13 -0
  114. package/build/src/strategies/ruby-yoshi.js +97 -0
  115. package/build/src/strategies/ruby.d.ts +9 -0
  116. package/build/src/strategies/ruby.js +71 -0
  117. package/build/src/strategies/rust.d.ts +17 -0
  118. package/build/src/strategies/rust.js +149 -0
  119. package/build/src/strategies/sfdx.d.ts +9 -0
  120. package/build/src/strategies/sfdx.js +67 -0
  121. package/build/src/strategies/simple.d.ts +7 -0
  122. package/build/src/strategies/simple.js +51 -0
  123. package/build/src/strategies/terraform-module.d.ts +7 -0
  124. package/build/src/strategies/terraform-module.js +90 -0
  125. package/build/src/strategy.d.ts +68 -0
  126. package/build/src/strategy.js +16 -0
  127. package/build/src/update.d.ts +24 -0
  128. package/build/src/update.js +16 -0
  129. package/build/src/updaters/base-xml.d.ts +19 -0
  130. package/build/src/updaters/base-xml.js +43 -0
  131. package/build/src/updaters/bazel/module-bazel.d.ts +7 -0
  132. package/build/src/updaters/bazel/module-bazel.js +33 -0
  133. package/build/src/updaters/changelog-json.d.ts +29 -0
  134. package/build/src/updaters/changelog-json.js +100 -0
  135. package/build/src/updaters/changelog.d.ts +13 -0
  136. package/build/src/updaters/changelog.js +55 -0
  137. package/build/src/updaters/composite.d.ts +20 -0
  138. package/build/src/updaters/composite.js +65 -0
  139. package/build/src/updaters/dart/pubspec-yaml.d.ts +13 -0
  140. package/build/src/updaters/dart/pubspec-yaml.js +50 -0
  141. package/build/src/updaters/default.d.ts +21 -0
  142. package/build/src/updaters/default.js +36 -0
  143. package/build/src/updaters/dotnet/apis.d.ts +18 -0
  144. package/build/src/updaters/dotnet/apis.js +45 -0
  145. package/build/src/updaters/dotnet/csproj.d.ts +12 -0
  146. package/build/src/updaters/dotnet/csproj.js +33 -0
  147. package/build/src/updaters/elixir/elixir-mix-exs.d.ts +13 -0
  148. package/build/src/updaters/elixir/elixir-mix-exs.js +42 -0
  149. package/build/src/updaters/expo/app-json.d.ts +31 -0
  150. package/build/src/updaters/expo/app-json.js +67 -0
  151. package/build/src/updaters/generic-json.d.ts +14 -0
  152. package/build/src/updaters/generic-json.js +54 -0
  153. package/build/src/updaters/generic-toml.d.ts +21 -0
  154. package/build/src/updaters/generic-toml.js +66 -0
  155. package/build/src/updaters/generic-xml.d.ts +8 -0
  156. package/build/src/updaters/generic-xml.js +38 -0
  157. package/build/src/updaters/generic-yaml.d.ts +23 -0
  158. package/build/src/updaters/generic-yaml.js +85 -0
  159. package/build/src/updaters/generic.d.ts +54 -0
  160. package/build/src/updaters/generic.js +187 -0
  161. package/build/src/updaters/go/version-go.d.ts +4 -0
  162. package/build/src/updaters/go/version-go.js +24 -0
  163. package/build/src/updaters/helm/chart-yaml.d.ts +13 -0
  164. package/build/src/updaters/helm/chart-yaml.js +41 -0
  165. package/build/src/updaters/java/java-released.d.ts +28 -0
  166. package/build/src/updaters/java/java-released.js +59 -0
  167. package/build/src/updaters/java/java-update.d.ts +21 -0
  168. package/build/src/updaters/java/java-update.js +80 -0
  169. package/build/src/updaters/java/pom-xml.d.ts +29 -0
  170. package/build/src/updaters/java/pom-xml.js +135 -0
  171. package/build/src/updaters/java/versions-manifest.d.ts +19 -0
  172. package/build/src/updaters/java/versions-manifest.js +71 -0
  173. package/build/src/updaters/krm/krm-blueprint-version.d.ts +13 -0
  174. package/build/src/updaters/krm/krm-blueprint-version.js +46 -0
  175. package/build/src/updaters/librarian-yaml.d.ts +45 -0
  176. package/build/src/updaters/librarian-yaml.js +149 -0
  177. package/build/src/updaters/node/package-json.d.ts +46 -0
  178. package/build/src/updaters/node/package-json.js +106 -0
  179. package/build/src/updaters/node/package-lock-json.d.ts +14 -0
  180. package/build/src/updaters/node/package-lock-json.js +83 -0
  181. package/build/src/updaters/node/samples-package-json.d.ts +24 -0
  182. package/build/src/updaters/node/samples-package-json.js +49 -0
  183. package/build/src/updaters/ocaml/dune-project.d.ts +13 -0
  184. package/build/src/updaters/ocaml/dune-project.js +37 -0
  185. package/build/src/updaters/ocaml/esy-json.d.ts +13 -0
  186. package/build/src/updaters/ocaml/esy-json.js +37 -0
  187. package/build/src/updaters/ocaml/opam.d.ts +13 -0
  188. package/build/src/updaters/ocaml/opam.js +37 -0
  189. package/build/src/updaters/php/php-client-version.d.ts +12 -0
  190. package/build/src/updaters/php/php-client-version.js +32 -0
  191. package/build/src/updaters/php/root-composer-update-packages.d.ts +13 -0
  192. package/build/src/updaters/php/root-composer-update-packages.js +60 -0
  193. package/build/src/updaters/python/pyproject-toml.d.ts +29 -0
  194. package/build/src/updaters/python/pyproject-toml.js +53 -0
  195. package/build/src/updaters/python/python-file-with-version.d.ts +12 -0
  196. package/build/src/updaters/python/python-file-with-version.js +32 -0
  197. package/build/src/updaters/python/setup-cfg.d.ts +12 -0
  198. package/build/src/updaters/python/setup-cfg.js +32 -0
  199. package/build/src/updaters/python/setup-py.d.ts +12 -0
  200. package/build/src/updaters/python/setup-py.js +32 -0
  201. package/build/src/updaters/r/description.d.ts +12 -0
  202. package/build/src/updaters/r/description.js +32 -0
  203. package/build/src/updaters/r/news.d.ts +12 -0
  204. package/build/src/updaters/r/news.js +49 -0
  205. package/build/src/updaters/raw-content.d.ts +19 -0
  206. package/build/src/updaters/raw-content.js +39 -0
  207. package/build/src/updaters/release-please-config.d.ts +8 -0
  208. package/build/src/updaters/release-please-config.js +80 -0
  209. package/build/src/updaters/release-please-manifest.d.ts +4 -0
  210. package/build/src/updaters/release-please-manifest.js +34 -0
  211. package/build/src/updaters/ruby/common.d.ts +17 -0
  212. package/build/src/updaters/ruby/common.js +46 -0
  213. package/build/src/updaters/ruby/gemfile-lock.d.ts +24 -0
  214. package/build/src/updaters/ruby/gemfile-lock.js +53 -0
  215. package/build/src/updaters/ruby/version-rb.d.ts +12 -0
  216. package/build/src/updaters/ruby/version-rb.js +34 -0
  217. package/build/src/updaters/rust/cargo-lock.d.ts +16 -0
  218. package/build/src/updaters/rust/cargo-lock.js +64 -0
  219. package/build/src/updaters/rust/cargo-toml.d.ts +13 -0
  220. package/build/src/updaters/rust/cargo-toml.js +89 -0
  221. package/build/src/updaters/rust/common.d.ts +54 -0
  222. package/build/src/updaters/rust/common.js +35 -0
  223. package/build/src/updaters/sfdx/sfdx-project-json.d.ts +21 -0
  224. package/build/src/updaters/sfdx/sfdx-project-json.js +41 -0
  225. package/build/src/updaters/terraform/metadata-version.d.ts +13 -0
  226. package/build/src/updaters/terraform/metadata-version.js +37 -0
  227. package/build/src/updaters/terraform/module-version.d.ts +13 -0
  228. package/build/src/updaters/terraform/module-version.js +37 -0
  229. package/build/src/updaters/terraform/readme.d.ts +12 -0
  230. package/build/src/updaters/terraform/readme.js +32 -0
  231. package/build/src/util/branch-name.d.ts +20 -0
  232. package/build/src/util/branch-name.js +225 -0
  233. package/build/src/util/code-suggester/default-options-handler.d.ts +10 -0
  234. package/build/src/util/code-suggester/default-options-handler.js +45 -0
  235. package/build/src/util/code-suggester/errors.d.ts +4 -0
  236. package/build/src/util/code-suggester/errors.js +24 -0
  237. package/build/src/util/code-suggester/github/branch.d.ts +45 -0
  238. package/build/src/util/code-suggester/github/branch.js +118 -0
  239. package/build/src/util/code-suggester/github/commit-and-push.d.ts +51 -0
  240. package/build/src/util/code-suggester/github/commit-and-push.js +141 -0
  241. package/build/src/util/code-suggester/github/create-commit.d.ts +20 -0
  242. package/build/src/util/code-suggester/github/create-commit.js +60 -0
  243. package/build/src/util/code-suggester/github/fork.d.ts +15 -0
  244. package/build/src/util/code-suggester/github/fork.js +48 -0
  245. package/build/src/util/code-suggester/github/labels.d.ts +14 -0
  246. package/build/src/util/code-suggester/github/labels.js +42 -0
  247. package/build/src/util/code-suggester/github/open-pull-request.d.ts +16 -0
  248. package/build/src/util/code-suggester/github/open-pull-request.js +56 -0
  249. package/build/src/util/code-suggester/index.d.ts +28 -0
  250. package/build/src/util/code-suggester/index.js +110 -0
  251. package/build/src/util/code-suggester/logger.d.ts +4 -0
  252. package/build/src/util/code-suggester/logger.js +37 -0
  253. package/build/src/util/code-suggester/types.d.ts +109 -0
  254. package/build/src/util/code-suggester/types.js +30 -0
  255. package/build/src/util/coerce-option.d.ts +1 -0
  256. package/build/src/util/coerce-option.js +40 -0
  257. package/build/src/util/commit-exclude.d.ts +10 -0
  258. package/build/src/util/commit-exclude.js +49 -0
  259. package/build/src/util/commit-split.d.ts +26 -0
  260. package/build/src/util/commit-split.js +100 -0
  261. package/build/src/util/commit-utils.d.ts +1 -0
  262. package/build/src/util/commit-utils.js +34 -0
  263. package/build/src/util/filter-commits.d.ts +12 -0
  264. package/build/src/util/filter-commits.js +59 -0
  265. package/build/src/util/indent-commit.d.ts +2 -0
  266. package/build/src/util/indent-commit.js +39 -0
  267. package/build/src/util/json-stringify.d.ts +1 -0
  268. package/build/src/util/json-stringify.js +22 -0
  269. package/build/src/util/logger.d.ts +24 -0
  270. package/build/src/util/logger.js +54 -0
  271. package/build/src/util/pull-request-body.d.ts +25 -0
  272. package/build/src/util/pull-request-body.js +147 -0
  273. package/build/src/util/pull-request-overflow-handler.d.ts +54 -0
  274. package/build/src/util/pull-request-overflow-handler.js +78 -0
  275. package/build/src/util/pull-request-title.d.ts +22 -0
  276. package/build/src/util/pull-request-title.js +146 -0
  277. package/build/src/util/signoff-commit-message.d.ts +1 -0
  278. package/build/src/util/signoff-commit-message.js +35 -0
  279. package/build/src/util/tag-name.d.ts +10 -0
  280. package/build/src/util/tag-name.js +42 -0
  281. package/build/src/util/toml-edit.d.ts +16 -0
  282. package/build/src/util/toml-edit.js +126 -0
  283. package/build/src/version.d.ts +35 -0
  284. package/build/src/version.js +74 -0
  285. package/build/src/versioning-strategies/always-bump-major.d.ts +10 -0
  286. package/build/src/versioning-strategies/always-bump-major.js +28 -0
  287. package/build/src/versioning-strategies/always-bump-minor.d.ts +10 -0
  288. package/build/src/versioning-strategies/always-bump-minor.js +28 -0
  289. package/build/src/versioning-strategies/always-bump-patch.d.ts +11 -0
  290. package/build/src/versioning-strategies/always-bump-patch.js +29 -0
  291. package/build/src/versioning-strategies/default.d.ts +48 -0
  292. package/build/src/versioning-strategies/default.js +102 -0
  293. package/build/src/versioning-strategies/dependency-manifest.d.ts +15 -0
  294. package/build/src/versioning-strategies/dependency-manifest.js +103 -0
  295. package/build/src/versioning-strategies/java-add-snapshot.d.ts +13 -0
  296. package/build/src/versioning-strategies/java-add-snapshot.js +54 -0
  297. package/build/src/versioning-strategies/java-snapshot.d.ts +13 -0
  298. package/build/src/versioning-strategies/java-snapshot.js +70 -0
  299. package/build/src/versioning-strategies/prerelease.d.ts +20 -0
  300. package/build/src/versioning-strategies/prerelease.js +163 -0
  301. package/build/src/versioning-strategies/service-pack.d.ts +12 -0
  302. package/build/src/versioning-strategies/service-pack.js +47 -0
  303. package/build/src/versioning-strategy.d.ts +90 -0
  304. package/build/src/versioning-strategy.js +82 -0
  305. package/package.json +113 -4
  306. package/schemas/config.json +513 -0
  307. package/schemas/manifest.json +9 -0
  308. package/templates/commit.hbs +2 -0
  309. package/templates/header.hbs +9 -0
  310. package/templates/template.hbs +19 -0
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ // Copyright 2022 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.JavaReleased = void 0;
17
+ const generic_1 = require("../generic");
18
+ const INLINE_UPDATE_REGEX = /x-release-please-released-(?<scope>major|minor|patch|version)/;
19
+ const BLOCK_START_REGEX = /x-release-please-released-start-(?<scope>major|minor|patch|version)/;
20
+ const BLOCK_END_REGEX = /x-release-please-released-end/;
21
+ const REGEX_OPTIONS = {
22
+ inlineUpdateRegex: INLINE_UPDATE_REGEX,
23
+ blockStartRegex: BLOCK_START_REGEX,
24
+ blockEndRegex: BLOCK_END_REGEX,
25
+ };
26
+ /**
27
+ * The JavaReleased updater is used only when updating to stable (not SNAPSHOT)
28
+ * versions. It looks for well known patterns and replaces content.
29
+ * The well known patterns are:
30
+ *
31
+ * 1. `x-release-please-released-version` if this string is found on the line,
32
+ * then replace a semver-looking string on that line with the next
33
+ * version
34
+ * 2. `x-release-please-released-major` if this string is found on the line,
35
+ * then replace an integer looking value with the next version's
36
+ * major
37
+ * 3. `x-release-please-released-minor` if this string is found on the line,
38
+ * then replace an integer looking value with the next version's
39
+ * minor
40
+ * 4. `x-release-please-released-patch` if this string is found on the line,
41
+ * then replace an integer looking value with the next version's
42
+ * patch
43
+ *
44
+ * You can also use a block-based replacement. Content between the
45
+ * opening `x-release-please-released-start-version` and `x-release-please-released-end` will
46
+ * be considered for version replacement. You can also open these blocks
47
+ * with `x-release-please-released-start-<major|minor|patch>` to replace single
48
+ * numbers
49
+ */
50
+ class JavaReleased extends generic_1.Generic {
51
+ constructor(options) {
52
+ super({
53
+ ...REGEX_OPTIONS,
54
+ ...options,
55
+ });
56
+ }
57
+ }
58
+ exports.JavaReleased = JavaReleased;
59
+ //# sourceMappingURL=java-released.js.map
@@ -0,0 +1,21 @@
1
+ import { DefaultUpdater, UpdateOptions } from '../default';
2
+ import { Logger } from '../../util/logger';
3
+ interface JavaUpdateOptions extends UpdateOptions {
4
+ isSnapshot?: boolean;
5
+ }
6
+ /**
7
+ * Updates a file annotated with region markers. These region markers are
8
+ * either denoted inline with `{x-version-update:<component-name>:current|released}`
9
+ * or with a `{x-version-update-start:<component-name>}` and `{x-version-update-end}`.
10
+ */
11
+ export declare class JavaUpdate extends DefaultUpdater {
12
+ isSnapshot: boolean;
13
+ constructor(options: JavaUpdateOptions);
14
+ /**
15
+ * Given initial file contents, return updated contents.
16
+ * @param {string} content The initial content
17
+ * @returns {string} The updated content
18
+ */
19
+ updateContent(content: string, logger?: Logger): string;
20
+ }
21
+ export {};
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ // Copyright 2019 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.JavaUpdate = void 0;
17
+ const default_1 = require("../default");
18
+ const logger_1 = require("../../util/logger");
19
+ const INLINE_UPDATE_REGEX = /{x-version-update:([\w\-_]+):(current|released)}/;
20
+ const BLOCK_START_REGEX = /{x-version-update-start:([\w\-_]+):(current|released)}/;
21
+ const BLOCK_END_REGEX = /{x-version-update-end}/;
22
+ const VERSION_REGEX = /\d+\.\d+\.\d+(-\w+(\.\d+)?)?(-SNAPSHOT)?/;
23
+ /**
24
+ * Updates a file annotated with region markers. These region markers are
25
+ * either denoted inline with `{x-version-update:<component-name>:current|released}`
26
+ * or with a `{x-version-update-start:<component-name>}` and `{x-version-update-end}`.
27
+ */
28
+ class JavaUpdate extends default_1.DefaultUpdater {
29
+ constructor(options) {
30
+ super(options);
31
+ this.isSnapshot = !!options.isSnapshot;
32
+ }
33
+ /**
34
+ * Given initial file contents, return updated contents.
35
+ * @param {string} content The initial content
36
+ * @returns {string} The updated content
37
+ */
38
+ updateContent(content, logger = logger_1.logger) {
39
+ if (!this.versionsMap) {
40
+ logger.warn('missing versions map');
41
+ return content;
42
+ }
43
+ const newLines = [];
44
+ let blockPackageName = null;
45
+ content.split(/\r?\n/).forEach(line => {
46
+ let match = line.match(INLINE_UPDATE_REGEX);
47
+ if (match && (!this.isSnapshot || match[2] === 'current')) {
48
+ const newVersion = this.versionsMap.get(match[1]);
49
+ if (newVersion) {
50
+ newLines.push(line.replace(VERSION_REGEX, newVersion.toString()));
51
+ }
52
+ else {
53
+ newLines.push(line);
54
+ }
55
+ }
56
+ else if (blockPackageName) {
57
+ const newVersion = this.versionsMap.get(blockPackageName);
58
+ if (newVersion) {
59
+ newLines.push(line.replace(VERSION_REGEX, newVersion.toString()));
60
+ }
61
+ else {
62
+ newLines.push(line);
63
+ }
64
+ if (line.match(BLOCK_END_REGEX)) {
65
+ blockPackageName = null;
66
+ }
67
+ }
68
+ else {
69
+ match = line.match(BLOCK_START_REGEX);
70
+ if (match && (!this.isSnapshot || match[2] === 'current')) {
71
+ blockPackageName = match[1];
72
+ }
73
+ newLines.push(line);
74
+ }
75
+ });
76
+ return newLines.join('\n');
77
+ }
78
+ }
79
+ exports.JavaUpdate = JavaUpdate;
80
+ //# sourceMappingURL=java-update.js.map
@@ -0,0 +1,29 @@
1
+ import { Version, VersionsMap } from '../../version';
2
+ import { BaseXml } from '../base-xml';
3
+ /**
4
+ * Updates version pom.xml files.
5
+ *
6
+ * If present it updates project.version element.
7
+ * If project.version is not present, it updates project.parent.version.
8
+ */
9
+ export declare class PomXml extends BaseXml {
10
+ private readonly version;
11
+ private readonly dependencyVersions?;
12
+ constructor(version: Version, dependencyVersions?: VersionsMap);
13
+ protected updateDocument(document: Document): boolean;
14
+ dependencyUpdates(document: Document, updatedVersions: VersionsMap): {
15
+ name: string;
16
+ nodes: Node[];
17
+ version: Version;
18
+ }[];
19
+ private static updateNodes;
20
+ }
21
+ interface DependencyNode {
22
+ groupId: string;
23
+ artifactId: string;
24
+ version?: string;
25
+ scope?: string;
26
+ versionNode?: Node;
27
+ }
28
+ export declare function parseDependencyNode(node: Node): DependencyNode;
29
+ export {};
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ // Copyright 2022 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.parseDependencyNode = exports.PomXml = void 0;
17
+ const base_xml_1 = require("../base-xml");
18
+ const xpath = require("xpath");
19
+ const XPATH_PROJECT_VERSION = '/*[local-name()="project"]/*[local-name()="version"]';
20
+ const XPATH_PROJECT_PARENT_VERSION = '/*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="version"]';
21
+ const XPATH_PROJECT_DEPENDENCIES = '/*[local-name()="project"]/*[local-name()="dependencies"]/*[local-name()="dependency"]';
22
+ const XPATH_PROJECT_DEPENDENCY_MANAGEMENT_DEPENDENCIES = '/*[local-name()="project"]/*[local-name()="dependencyManagement"]/*[local-name()="dependencies"]/*[local-name()="dependency"]';
23
+ /**
24
+ * Updates version pom.xml files.
25
+ *
26
+ * If present it updates project.version element.
27
+ * If project.version is not present, it updates project.parent.version.
28
+ */
29
+ class PomXml extends base_xml_1.BaseXml {
30
+ constructor(version, dependencyVersions) {
31
+ super();
32
+ this.version = version;
33
+ this.dependencyVersions = dependencyVersions;
34
+ }
35
+ updateDocument(document) {
36
+ // NOTE this intentionally ignores namespaces - let the maven decide, what's valid and what's not
37
+ const updates = [];
38
+ // Update project.version
39
+ const projectVersionNodes = xpath.select(XPATH_PROJECT_VERSION, document);
40
+ if (projectVersionNodes.length) {
41
+ // If found update, detect actual change
42
+ updates.push({
43
+ nodes: projectVersionNodes,
44
+ version: this.version,
45
+ });
46
+ }
47
+ else {
48
+ // Try updating project.parent.version
49
+ const parentVersionNodes = xpath.select(XPATH_PROJECT_PARENT_VERSION, document);
50
+ updates.push({
51
+ nodes: parentVersionNodes,
52
+ version: this.version,
53
+ });
54
+ }
55
+ if (this.dependencyVersions) {
56
+ updates.push(...this.dependencyUpdates(document, this.dependencyVersions));
57
+ }
58
+ let updated = false;
59
+ for (const { nodes, version } of updates) {
60
+ updated = PomXml.updateNodes(nodes, version.toString()) || updated;
61
+ }
62
+ return updated;
63
+ }
64
+ dependencyUpdates(document, updatedVersions) {
65
+ const updates = [];
66
+ const dependencyNodes = xpath.select(XPATH_PROJECT_DEPENDENCIES, document);
67
+ const dependencyManagementNodes = xpath.select(XPATH_PROJECT_DEPENDENCY_MANAGEMENT_DEPENDENCIES, document);
68
+ // try to update dependency versions
69
+ for (const [name, version] of updatedVersions.entries()) {
70
+ // look under:
71
+ // - project/dependencies
72
+ // - project/dependencyManagement/dependencies
73
+ const [groupId, artifactId] = name.split(':');
74
+ for (const nodeGroup of [dependencyNodes, dependencyManagementNodes]) {
75
+ const nodes = nodeGroup.reduce((collection, node) => {
76
+ const dependencyNode = parseDependencyNode(node);
77
+ if (dependencyNode.groupId === groupId &&
78
+ dependencyNode.artifactId === artifactId &&
79
+ dependencyNode.version !== version.toString() &&
80
+ dependencyNode.versionNode) {
81
+ collection.push(dependencyNode.versionNode);
82
+ }
83
+ return collection;
84
+ }, []);
85
+ if (nodes.length) {
86
+ updates.push({
87
+ name,
88
+ nodes,
89
+ version,
90
+ });
91
+ }
92
+ }
93
+ }
94
+ return updates;
95
+ }
96
+ static updateNodes(nodes, value) {
97
+ const toUpdate = nodes.filter(node => node.textContent !== value);
98
+ toUpdate.forEach(node => (node.textContent = value));
99
+ return toUpdate.length > 0;
100
+ }
101
+ }
102
+ exports.PomXml = PomXml;
103
+ function parseDependencyNode(node) {
104
+ var _a, _b, _c, _d;
105
+ let groupId = '';
106
+ let artifactId = '';
107
+ let scope;
108
+ let version;
109
+ let versionNode;
110
+ for (let i = 0; i < node.childNodes.length; i++) {
111
+ const childNode = node.childNodes.item(i);
112
+ if (childNode.nodeName === 'groupId') {
113
+ groupId = ((_a = childNode.firstChild) === null || _a === void 0 ? void 0 : _a.textContent) || '';
114
+ }
115
+ else if (childNode.nodeName === 'artifactId') {
116
+ artifactId = ((_b = childNode.firstChild) === null || _b === void 0 ? void 0 : _b.textContent) || '';
117
+ }
118
+ else if (childNode.nodeName === 'scope') {
119
+ scope = ((_c = childNode.firstChild) === null || _c === void 0 ? void 0 : _c.textContent) || '';
120
+ }
121
+ else if (childNode.nodeName === 'version') {
122
+ version = ((_d = childNode.firstChild) === null || _d === void 0 ? void 0 : _d.textContent) || '';
123
+ versionNode = childNode;
124
+ }
125
+ }
126
+ return {
127
+ groupId,
128
+ artifactId,
129
+ scope,
130
+ version,
131
+ versionNode,
132
+ };
133
+ }
134
+ exports.parseDependencyNode = parseDependencyNode;
135
+ //# sourceMappingURL=pom-xml.js.map
@@ -0,0 +1,19 @@
1
+ import { JavaUpdate } from './java-update';
2
+ import { VersionsMap } from '../../version';
3
+ import { Logger } from '../../util/logger';
4
+ /**
5
+ * Updates a versions.txt file which contains current versions of
6
+ * components within a Java repo.
7
+ * @see https://github.com/googleapis/java-asset/blob/main/versions.txt
8
+ */
9
+ export declare class VersionsManifest extends JavaUpdate {
10
+ /**
11
+ * Given initial file contents, return updated contents.
12
+ * @param {string} content The initial content
13
+ * @returns {string} The updated content
14
+ */
15
+ updateContent(content: string, logger?: Logger): string;
16
+ protected updateSingleVersion(content: string, packageName: string, version: string): string;
17
+ static parseVersions(content: string): VersionsMap;
18
+ static needsSnapshot(content: string): boolean;
19
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ // Copyright 2019 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VersionsManifest = void 0;
17
+ const java_update_1 = require("./java-update");
18
+ const version_1 = require("../../version");
19
+ const logger_1 = require("../../util/logger");
20
+ /**
21
+ * Updates a versions.txt file which contains current versions of
22
+ * components within a Java repo.
23
+ * @see https://github.com/googleapis/java-asset/blob/main/versions.txt
24
+ */
25
+ class VersionsManifest extends java_update_1.JavaUpdate {
26
+ /**
27
+ * Given initial file contents, return updated contents.
28
+ * @param {string} content The initial content
29
+ * @returns {string} The updated content
30
+ */
31
+ updateContent(content, logger = logger_1.logger) {
32
+ if (!this.versionsMap) {
33
+ logger.warn('missing versions map');
34
+ return content;
35
+ }
36
+ let newContent = content;
37
+ this.versionsMap.forEach((version, packageName) => {
38
+ newContent = this.updateSingleVersion(newContent, packageName, version.toString());
39
+ });
40
+ return newContent;
41
+ }
42
+ updateSingleVersion(content, packageName, version) {
43
+ const newLines = [];
44
+ content.split(/\r?\n/).forEach(line => {
45
+ if (version.includes('SNAPSHOT')) {
46
+ newLines.push(line.replace(new RegExp(`^${packageName}:(.*):(.*)`, 'g'), `${packageName}:$1:${version}`));
47
+ }
48
+ else {
49
+ newLines.push(line.replace(new RegExp(`^${packageName}:(.*):(.*)`, 'g'), `${packageName}:${version}:${version}`));
50
+ }
51
+ });
52
+ return newLines.join('\n');
53
+ }
54
+ static parseVersions(content) {
55
+ const versions = new Map();
56
+ content.split(/\r?\n/).forEach(line => {
57
+ const match = line.match(/^([\w\-_]+):([^:]+):([^:]+)/);
58
+ if (match) {
59
+ versions.set(match[1], version_1.Version.parse(match[2]));
60
+ }
61
+ });
62
+ return versions;
63
+ }
64
+ static needsSnapshot(content) {
65
+ return !content.split(/\r?\n/).some(line => {
66
+ return !!line.match(/^[\w\-_]+:.+:.+-SNAPSHOT/);
67
+ });
68
+ }
69
+ }
70
+ exports.VersionsManifest = VersionsManifest;
71
+ //# sourceMappingURL=versions-manifest.js.map
@@ -0,0 +1,13 @@
1
+ import { Logger } from '../../util/logger';
2
+ import { DefaultUpdater } from '../default';
3
+ /**
4
+ * Updates KMR blueprint yaml file.
5
+ */
6
+ export declare class KRMBlueprintVersion extends DefaultUpdater {
7
+ /**
8
+ * Given initial file contents, return updated contents.
9
+ * @param {string} content The initial content
10
+ * @returns {string} The updated content
11
+ */
12
+ updateContent(content: string, logger?: Logger): string;
13
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // Copyright 2021 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.KRMBlueprintVersion = void 0;
17
+ const logger_1 = require("../../util/logger");
18
+ const default_1 = require("../default");
19
+ /**
20
+ * Updates KMR blueprint yaml file.
21
+ */
22
+ class KRMBlueprintVersion extends default_1.DefaultUpdater {
23
+ /**
24
+ * Given initial file contents, return updated contents.
25
+ * @param {string} content The initial content
26
+ * @returns {string} The updated content
27
+ */
28
+ updateContent(content, logger = logger_1.logger) {
29
+ var _a;
30
+ // js-yaml(and kpt TS SDK) does not preserve comments hence regex match
31
+ // match starting cnrm/ ending with semver to prevent wrong updates like pinned config.kubernetes.io/function
32
+ let matchRegex = '(cnrm/.*/)(v[0-9]+.[0-9]+.[0-9]+)+(-w+)?';
33
+ // if explicit previous version, match only that version
34
+ if ((_a = this.versionsMap) === null || _a === void 0 ? void 0 : _a.has('previousVersion')) {
35
+ matchRegex = `(cnrm/.*/)(v${this.versionsMap.get('previousVersion')})+(-w+)?`;
36
+ }
37
+ const oldVersion = content.match(new RegExp(matchRegex));
38
+ if (oldVersion) {
39
+ logger.info(`updating from ${oldVersion[2]} to v${this.version}`);
40
+ }
41
+ const newVersion = content.replace(new RegExp(matchRegex, 'g'), `$1v${this.version}`);
42
+ return newVersion;
43
+ }
44
+ }
45
+ exports.KRMBlueprintVersion = KRMBlueprintVersion;
46
+ //# sourceMappingURL=krm-blueprint-version.js.map
@@ -0,0 +1,45 @@
1
+ import { DefaultUpdater, UpdateOptions } from './default';
2
+ import { Logger } from '../util/logger';
3
+ export interface JavaModule {
4
+ artifact_id: string;
5
+ [key: string]: any;
6
+ }
7
+ export interface PreviewModule {
8
+ version: string;
9
+ [key: string]: any;
10
+ }
11
+ export interface LibrarianLibrary {
12
+ name: string;
13
+ version: string;
14
+ output?: string;
15
+ java?: JavaModule;
16
+ preview?: PreviewModule;
17
+ [key: string]: any;
18
+ }
19
+ export interface LibrarianYamlSchema {
20
+ libraries: LibrarianLibrary[];
21
+ [key: string]: any;
22
+ }
23
+ export interface LibrarianUpdateOptions extends UpdateOptions {
24
+ packagePath?: string;
25
+ component?: string;
26
+ }
27
+ /**
28
+ * Updates a librarian.yaml file.
29
+ */
30
+ export declare class LibrarianYamlUpdater extends DefaultUpdater {
31
+ private readonly packagePath?;
32
+ private readonly component?;
33
+ private readonly specialArtifacts;
34
+ constructor(options: LibrarianUpdateOptions);
35
+ /**
36
+ * Given initial file contents, return updated contents.
37
+ * @param {string} content The initial content
38
+ * @returns {string} The updated content
39
+ */
40
+ updateContent(content: string, _logger?: Logger): string;
41
+ private deriveOutputDirectory;
42
+ private findArtifactID;
43
+ private getOrCreateSubsection;
44
+ private updateValue;
45
+ }
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ // Copyright 2026 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LibrarianYamlUpdater = void 0;
17
+ const default_1 = require("./default");
18
+ const yaml = require("yaml");
19
+ const logger_1 = require("../util/logger");
20
+ /**
21
+ * Updates a librarian.yaml file.
22
+ */
23
+ class LibrarianYamlUpdater extends default_1.DefaultUpdater {
24
+ constructor(options) {
25
+ super(options);
26
+ this.specialArtifacts = new Map([
27
+ ['google-cloud-java', 'google-cloud-java'],
28
+ ['google-cloud-pom-parent', 'google-cloud-pom-parent'],
29
+ ]);
30
+ this.packagePath = options.packagePath;
31
+ this.component = options.component;
32
+ }
33
+ /**
34
+ * Given initial file contents, return updated contents.
35
+ * @param {string} content The initial content
36
+ * @returns {string} The updated content
37
+ */
38
+ updateContent(content, _logger = logger_1.logger) {
39
+ var _a;
40
+ const doc = yaml.parseDocument(content);
41
+ if (!doc || doc.errors.length > 0) {
42
+ throw new Error(`Invalid yaml, cannot be parsed: ${doc.errors
43
+ .map(e => e.message)
44
+ .join(', ')}`);
45
+ }
46
+ const libraries = doc.get('libraries');
47
+ if (!libraries || !yaml.isSeq(libraries)) {
48
+ return content;
49
+ }
50
+ let modified = false;
51
+ for (const library of libraries.items) {
52
+ if (!yaml.isMap(library))
53
+ continue;
54
+ const libraryJSON = library.toJSON();
55
+ let newVersion = undefined;
56
+ let isPreview = false;
57
+ if (this.versionsMap) {
58
+ // Multi-version (Java style)
59
+ const artifactID = this.findArtifactID(libraryJSON);
60
+ if (this.versionsMap.has(artifactID)) {
61
+ newVersion = this.versionsMap.get(artifactID);
62
+ }
63
+ }
64
+ else {
65
+ // Single version (Go, Python, Node style)
66
+ const isGoPreviewMatch = this.packagePath &&
67
+ this.packagePath === `preview/internal/${libraryJSON.name}`;
68
+ const isPythonPreviewMatch = this.packagePath &&
69
+ this.packagePath === `preview-packages/${libraryJSON.name}`;
70
+ if (isGoPreviewMatch || isPythonPreviewMatch) {
71
+ isPreview = true;
72
+ newVersion = this.version;
73
+ }
74
+ else {
75
+ const isGoMatch = (this.packagePath && libraryJSON.name === this.packagePath) ||
76
+ ((!this.packagePath || this.packagePath === '.') &&
77
+ this.component &&
78
+ libraryJSON.name === this.component);
79
+ const isPythonNodeMatch = this.packagePath &&
80
+ this.deriveOutputDirectory(libraryJSON) === this.packagePath;
81
+ if (isGoMatch || isPythonNodeMatch) {
82
+ newVersion = this.version;
83
+ }
84
+ }
85
+ }
86
+ if (newVersion) {
87
+ const newVersionStr = newVersion.toString();
88
+ if (isPreview) {
89
+ const previewNode = this.getOrCreateSubsection(library, 'preview', doc);
90
+ if (this.updateValue(previewNode, 'version', newVersionStr)) {
91
+ modified = true;
92
+ }
93
+ }
94
+ else {
95
+ if (this.updateValue(library, 'version', newVersionStr)) {
96
+ modified = true;
97
+ }
98
+ if (this.versionsMap) {
99
+ // Multi-version (Java style): updates released_version for non-SNAPSHOTs
100
+ const isSnapshot = !!((_a = newVersion.preRelease) === null || _a === void 0 ? void 0 : _a.includes('SNAPSHOT'));
101
+ if (!isSnapshot) {
102
+ const javaNode = this.getOrCreateSubsection(library, 'java', doc);
103
+ if (this.updateValue(javaNode, 'released_version', newVersionStr)) {
104
+ modified = true;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ if (modified) {
112
+ return doc.toString({ lineWidth: 0 });
113
+ }
114
+ return content;
115
+ }
116
+ deriveOutputDirectory(library) {
117
+ if (library.output) {
118
+ return library.output;
119
+ }
120
+ return `packages/${library.name}`;
121
+ }
122
+ findArtifactID(library) {
123
+ const artifact = this.specialArtifacts.get(library.name);
124
+ if (artifact) {
125
+ return artifact;
126
+ }
127
+ if (library.java && library.java.artifact_id) {
128
+ return library.java.artifact_id;
129
+ }
130
+ return `google-cloud-${library.name}`;
131
+ }
132
+ getOrCreateSubsection(parent, key, doc) {
133
+ let section = parent.get(key);
134
+ if (!yaml.isMap(section)) {
135
+ section = doc.createNode({});
136
+ parent.set(key, section);
137
+ }
138
+ return section;
139
+ }
140
+ updateValue(node, key, value) {
141
+ if (node.get(key) !== value) {
142
+ node.set(key, value);
143
+ return true;
144
+ }
145
+ return false;
146
+ }
147
+ }
148
+ exports.LibrarianYamlUpdater = LibrarianYamlUpdater;
149
+ //# sourceMappingURL=librarian-yaml.js.map