@bakers-build/addon-dropsh 0.8.0 → 0.8.1-next.2
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 +3 -3
- package/package.json +4 -4
package/dist/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { buildProgram as buildDropshProgram } from 'dropsh';
|
|
|
5
5
|
import { registerTemplateCommand } from './template.js';
|
|
6
6
|
import { hideUnpublishedComments } from './unpublished-comments.js';
|
|
7
7
|
export function dropshConfigHint(resolvedPath) {
|
|
8
|
-
return `bakers dropsh: no connection config at ${resolvedPath ?? '~/.bakers/
|
|
8
|
+
return `bakers dropsh: no connection config at ${resolvedPath ?? '~/.bakers/connections/default.js'}. Use --config <path> or run bakers config init --scope connection.`;
|
|
9
9
|
}
|
|
10
10
|
/** Consume only wrapper flags; forward all actual dropsh arguments unchanged. */
|
|
11
11
|
function invocation(argv) {
|
|
@@ -80,8 +80,8 @@ export async function dispatchBbDropsh(host, argv, options = {}) {
|
|
|
80
80
|
const args = invocation(argv);
|
|
81
81
|
// Inside a conductor run, tools go to the run's own `bakers` server with the
|
|
82
82
|
// run token, never to the site with the operator's credentials.
|
|
83
|
-
const runUrl = process.env.
|
|
84
|
-
const runToken = process.env.
|
|
83
|
+
const runUrl = process.env.BAKERS_CONDUCTOR_URL;
|
|
84
|
+
const runToken = process.env.BAKERS_CONDUCTOR_TOKEN;
|
|
85
85
|
const run = args.positional[0] === 'tool' && runUrl && runToken
|
|
86
86
|
? { url: runUrl, token: runToken }
|
|
87
87
|
: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-dropsh",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-next.2",
|
|
4
4
|
"description": "bakers.build tools and auth command plugins using the shared connection config.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"dropsh": "^0.8.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@bakers-build/core": "^0.8.
|
|
30
|
+
"@bakers-build/core": "^0.8.1-next.2"
|
|
31
31
|
},
|
|
32
32
|
"bakersBuild": {
|
|
33
|
-
"commit": "
|
|
34
|
-
"channel": "
|
|
33
|
+
"commit": "0177880667693d1c36c65ffced82d2f3a17cbf2a",
|
|
34
|
+
"channel": "next"
|
|
35
35
|
}
|
|
36
36
|
}
|