@bakers-build/addon-remote-drupal 0.8.0 → 0.8.1-next.10
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 +7 -1
- package/dist/src/preset.d.ts +1 -1
- package/dist/src/preset.js +2 -2
- package/package.json +6 -6
package/dist/src/index.js
CHANGED
|
@@ -233,6 +233,9 @@ export class DrupalBbRemote {
|
|
|
233
233
|
...(typeof attrs.base_branch === 'string' && attrs.base_branch !== ''
|
|
234
234
|
? { baseBranch: attrs.base_branch }
|
|
235
235
|
: {}),
|
|
236
|
+
...(typeof attrs.target_branch === 'string' && attrs.target_branch !== ''
|
|
237
|
+
? { targetBranch: attrs.target_branch }
|
|
238
|
+
: {}),
|
|
236
239
|
...(typeof attrs.effective_env_vars === 'string' &&
|
|
237
240
|
attrs.effective_env_vars !== ''
|
|
238
241
|
? { effectiveEnvVars: attrs.effective_env_vars }
|
|
@@ -293,6 +296,9 @@ export class DrupalBbRemote {
|
|
|
293
296
|
conductor_id: reg.id,
|
|
294
297
|
host_key: reg.host_key,
|
|
295
298
|
...(reg.machine_label ? { machine_label: reg.machine_label } : {}),
|
|
299
|
+
...(reg.connection_url !== undefined
|
|
300
|
+
? { connection_url: reg.connection_url }
|
|
301
|
+
: {}),
|
|
296
302
|
...(reg.adopt ? { adopt: reg.adopt } : {}),
|
|
297
303
|
...(reg.create_new ? { create_new: true } : {}),
|
|
298
304
|
project: reg.project,
|
|
@@ -833,7 +839,7 @@ export class DrupalBbRemote {
|
|
|
833
839
|
}
|
|
834
840
|
export function drupalRemote() {
|
|
835
841
|
return {
|
|
836
|
-
kind: '
|
|
842
|
+
kind: 'server',
|
|
837
843
|
id: 'drupal',
|
|
838
844
|
requiredModules: [],
|
|
839
845
|
async createRemote(config) {
|
package/dist/src/preset.d.ts
CHANGED
package/dist/src/preset.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { drupalRemote } from './index.js';
|
|
2
|
-
export const
|
|
3
|
-
// Conductor wiring of one project: list this addon in .bakers/
|
|
2
|
+
export const servers = (acc) => [...acc, drupalRemote()];
|
|
3
|
+
// Conductor wiring of one project: list this addon in .bakers/project.config.js addons[].
|
|
4
4
|
export const scopes = ['project'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-remote-drupal",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-next.10",
|
|
4
4
|
"description": "bakers.build conductor remote addon: the Drupal/JSON:API control-plane remote.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"dropsh": "^0.8.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@bakers-build/conductor": "^0.8.
|
|
28
|
-
"@bakers-build/core": "^0.8.
|
|
29
|
-
"@bakers-build/message": "^0.8.
|
|
27
|
+
"@bakers-build/conductor": "^0.8.1-next.10",
|
|
28
|
+
"@bakers-build/core": "^0.8.1-next.10",
|
|
29
|
+
"@bakers-build/message": "^0.8.1-next.10"
|
|
30
30
|
},
|
|
31
31
|
"bakersBuild": {
|
|
32
|
-
"commit": "
|
|
33
|
-
"channel": "
|
|
32
|
+
"commit": "ceb44a12624feaa85cb2b0c9f84345399b38bf50",
|
|
33
|
+
"channel": "next"
|
|
34
34
|
}
|
|
35
35
|
}
|