@syncline-design/cli 0.1.0-sandbox.40 → 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 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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { r as e } from "./run-iv2oPYPd.js";
2
+ import { r as e } from "./run-DJcpz49c.js";
3
3
  //#region src/bin.ts
4
4
  e(process.argv.slice(2), {
5
5
  out: (e) => process.stdout.write(e),
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-iv2oPYPd.js";
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncline-design/cli",
3
- "version": "0.1.0-sandbox.40",
3
+ "version": "0.1.0-sandbox.44",
4
4
  "description": "Generates a React component library from a Figma export (Syncline).",
5
5
  "license": "MIT",
6
6
  "repository": {