@bakers-build/addon-forge-github 0.9.1-next.9 → 0.10.1-next.1

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.
package/dist/src/index.js CHANGED
@@ -129,9 +129,9 @@ const factory = async (raw, context) => {
129
129
  method: 'POST',
130
130
  body: { head, base, title, body },
131
131
  }))),
132
- updatePr: async (pr, { title, body }) => prOf((await api(`/pulls/${pr.number}`, {
132
+ updatePr: async (pr, { title, body, base }) => prOf((await api(`/pulls/${pr.number}`, {
133
133
  method: 'PATCH',
134
- body: { title, body },
134
+ body: { title, body, base },
135
135
  }))),
136
136
  openPrsWithBase: async (base) => (await api(`/pulls?state=open&base=${encodeURIComponent(base)}&per_page=100`))
137
137
  .filter((p) => p.base.ref === base)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-forge-github",
3
- "version": "0.9.1-next.9",
3
+ "version": "0.10.1-next.1",
4
4
  "description": "bakers.build forge backend for GitHub: a GitHub App installation token scoped to one repository. Implements @bakers-build/addon-forge's ForgeBackend contract.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -21,11 +21,11 @@
21
21
  "directory": "bakers-cli/addons/forge-github"
22
22
  },
23
23
  "peerDependencies": {
24
- "@bakers-build/addon-forge": "^0.9.1-next.9",
25
- "@bakers-build/core": "^0.9.1-next.9"
24
+ "@bakers-build/addon-forge": "^0.10.1-next.1",
25
+ "@bakers-build/core": "^0.10.1-next.1"
26
26
  },
27
27
  "bakersBuild": {
28
- "commit": "fa0565441ae1aee6535c9205b3a37f87e9b52054",
28
+ "commit": "f9cee7721df536cac94906e7278d60a13e202502",
29
29
  "channel": "next"
30
30
  }
31
31
  }