@bakers-build/addon-auth-basic 0.7.1-next.7 → 0.8.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Static HTTP Basic auth provider built from an inline base64 `user:pass` token
3
- * (conductor.config.local.js `auth.basic`, or the BB_E2E_BASIC env for tests).
3
+ * (project local file (retired) `auth.basic`, or the BB_E2E_BASIC env for tests).
4
4
  * Returns the `{ id, authProvider }` plugin shape that dropsh's resolveAuth reads
5
5
  * from `config.plugins`. Replaces the per-file basicAuthProvider that used to be
6
6
  * hand-written into each dropsh.config.js.
package/dist/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  // BB-224 (Finding 6, decision 8): the inline HTTP Basic auth provider —
2
2
  // formerly `@bakers-build/core`'s `plugins/auth/basic.ts` — now its own
3
- // CONNECTION-surface addon. Name it in a `bakers.config.js` `addons: []` as
3
+ // CONNECTION-surface addon. Name it in a connection file `addons: []` as
4
4
  // `{ use: '@bakers-build/addon-auth-basic', with: { basic: '<base64>' } }`; it
5
5
  // replaces the deleted `@bakers-build/core/builtins` `{ basic }` entry.
6
6
  /**
7
7
  * Static HTTP Basic auth provider built from an inline base64 `user:pass` token
8
- * (conductor.config.local.js `auth.basic`, or the BB_E2E_BASIC env for tests).
8
+ * (project local file (retired) `auth.basic`, or the BB_E2E_BASIC env for tests).
9
9
  * Returns the `{ id, authProvider }` plugin shape that dropsh's resolveAuth reads
10
10
  * from `config.plugins`. Replaces the per-file basicAuthProvider that used to be
11
11
  * hand-written into each dropsh.config.js.
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://bakers.build/schema/addon-auth-basic/options.schema.json",
4
+ "title": "@bakers-build/addon-auth-basic options",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "basic": {
9
+ "type": "string",
10
+ "description": "Inline HTTP Basic token (base64 user:pass)."
11
+ }
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-auth-basic",
3
- "version": "0.7.1-next.7",
3
+ "version": "0.8.1-next.1",
4
4
  "description": "bakers.build connection addon: inline HTTP Basic auth from a base64 user:pass token.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "exports": {
8
8
  ".": "./dist/src/index.js",
9
- "./preset": "./dist/src/preset.js"
9
+ "./preset": "./dist/src/preset.js",
10
+ "./options.schema.json": "./options.schema.json"
10
11
  },
11
12
  "files": [
12
- "dist/src"
13
+ "dist/src",
14
+ "options.schema.json"
13
15
  ],
14
16
  "publishConfig": {
15
17
  "access": "public"
@@ -20,10 +22,10 @@
20
22
  "directory": "bakers-cli/addons/auth-basic"
21
23
  },
22
24
  "peerDependencies": {
23
- "@bakers-build/core": "^0.7.1-next.7"
25
+ "@bakers-build/core": "^0.8.1-next.1"
24
26
  },
25
27
  "bakersBuild": {
26
- "commit": "082d8c57436f78e751f5a9a26a4446cec42209ce",
28
+ "commit": "c4a887bee37bb2fed14bb9ba15ad0aacf0e26f7e",
27
29
  "channel": "next"
28
30
  }
29
31
  }