@syncline-design/cli 0.1.0-sandbox.42 → 0.1.0-sandbox.44
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/bin.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{run-BkY-ZvBm.js → run-DJcpz49c.js} +568 -528
package/README.md
CHANGED
|
@@ -149,6 +149,14 @@ masks the token and writes `token`, `name` and `email` to `$GITHUB_OUTPUT`;
|
|
|
149
149
|
without one (no bridge, no credentials, app not installed) it says why and exits
|
|
150
150
|
0, and the workflow pushes with its own token instead.
|
|
151
151
|
|
|
152
|
+
## Preview access (for the seeded workflow)
|
|
153
|
+
|
|
154
|
+
`syncline ci preview-access` asks the bridge whether the Storybook preview is
|
|
155
|
+
available to the repository's account and writes `enabled=true|false` to
|
|
156
|
+
`$GITHUB_OUTPUT` (printed elsewhere). The workflow's `preview` job runs its build
|
|
157
|
+
only on `true`. Anything but a clear yes (no bridge, no credentials, an older
|
|
158
|
+
bridge, an outage) is `false`, and it always exits 0.
|
|
159
|
+
|
|
152
160
|
## TypeScript and Storybook defaults
|
|
153
161
|
|
|
154
162
|
- **`tsconfig.json`:** the generated components, ThemeProvider and Storybook decorator
|
package/bin.js
CHANGED
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./run-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./run-DJcpz49c.js";
|
|
2
2
|
export { r as BridgeError, m as CLI_NAME, i as CLI_VERSION, c as CliConfigSchema, a as DEFAULT_CONFIG_FILE, t as bridgeClientProvider, d as createBridgeClient, s as enrichDesign, u as formatFiles, e as generate, n as getBridgeToken, h as hashFacts, l as helpText, o as loadCliConfig, f as run, p as runEnrichStep };
|