@fabrika/provider-contract 0.4.1 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/provider-contract",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,6 +31,6 @@
31
31
  "test": "bun test"
32
32
  },
33
33
  "dependencies": {
34
- "@fabrika/auth-core": "^0.4.1"
34
+ "@fabrika/auth-core": "^0.4.2"
35
35
  }
36
36
  }
@@ -17,11 +17,20 @@
17
17
  * and brings an installation to the checkout it was handed, while `upgrade` runs on the operator's
18
18
  * machine and moves the pin that pipeline reads. A provider whose operator edits no pin does not
19
19
  * declare it.
20
+ *
21
+ * `guide` prints the operator's procedure for the whole bring-up, with the traps the per-command usage
22
+ * cannot show. It ships with the provider package, so an agent reads the guide of the release it runs.
20
23
  */
21
- export type InstallationCommand = 'init' | 'install' | 'plan' | 'deploy' | 'admin' | 'upgrade'
24
+ export type InstallationCommand = 'init' | 'install' | 'plan' | 'deploy' | 'admin' | 'upgrade' | 'guide'
22
25
 
23
26
  export const isInstallationCommand = (value: unknown): value is InstallationCommand =>
24
- value === 'init' || value === 'install' || value === 'plan' || value === 'deploy' || value === 'admin' || value === 'upgrade'
27
+ value === 'init'
28
+ || value === 'install'
29
+ || value === 'plan'
30
+ || value === 'deploy'
31
+ || value === 'admin'
32
+ || value === 'upgrade'
33
+ || value === 'guide'
25
34
 
26
35
  export interface InstallationCli {
27
36
  readonly provider: string