@shipdit/cli 0.7.2 → 0.8.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/README.md +8 -0
- package/dist/index.mjs +519 -473
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ export default defineFlags({
|
|
|
47
47
|
type: 'boolean',
|
|
48
48
|
default: false,
|
|
49
49
|
description: 'Redesigned checkout flow',
|
|
50
|
+
clientAvailable: true,
|
|
50
51
|
},
|
|
51
52
|
});
|
|
52
53
|
```
|
|
@@ -56,6 +57,13 @@ Run `shipd diff` and `shipd push` to sync it. Push and pull generate
|
|
|
56
57
|
syncing. Import the generated `FlagDefinitions` type into your SDK client for
|
|
57
58
|
typed flag keys and return values.
|
|
58
59
|
|
|
60
|
+
Set `clientAvailable: true` or `false` in TypeScript or version-1 JSON configs to
|
|
61
|
+
manage public browser delivery. Omission preserves the current remote setting;
|
|
62
|
+
new flags remain private by default. `shipd diff` shows availability changes and
|
|
63
|
+
`shipd pull` includes the setting in TypeScript/JSON source. The setting applies
|
|
64
|
+
across environments and takes effect after snapshot publication. Use matching
|
|
65
|
+
SDK, CLI, and control-plane versions that support the field.
|
|
66
|
+
|
|
59
67
|
## Go projects
|
|
60
68
|
|
|
61
69
|
Install the Go SDK in your application module:
|