tokens-bruecke 3.3.1 → 3.4.0
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 +7 -0
- package/bin/cli.js +1 -1
- package/package/bin/cli.js +0 -0
- package/package.json +9 -10
- package/skills/tokens-bruecke/SKILL.md +9 -6
- package/tsconfig.json +0 -0
- package/webpack.config.js +0 -0
package/README.md
CHANGED
|
@@ -408,6 +408,13 @@ Progress logs are printed to **stderr**, so stdout stays clean for piping:
|
|
|
408
408
|
tokens-bruecke -a $FIGMA_TOKEN -f $FIGMA_FILE --stdout --quiet | jq .
|
|
409
409
|
```
|
|
410
410
|
|
|
411
|
+
Every option can also be set via a `FIGMA_`-prefixed environment variable — `FIGMA_API_KEY`, `FIGMA_OAUTH_TOKEN`, `FIGMA_FILE_KEY`, `FIGMA_OUTPUT`, etc. Explicit flags override environment variables:
|
|
412
|
+
|
|
413
|
+
```bash
|
|
414
|
+
export FIGMA_API_KEY=<your-token>
|
|
415
|
+
tokens-bruecke -f $FIGMA_FILE -o out/tokens.json
|
|
416
|
+
```
|
|
417
|
+
|
|
411
418
|
> [!TIP]
|
|
412
419
|
> For automated pipelines, `--oauth-token` is preferred over `--api-key`. Personal Access Tokens expire every 90 days and require manual renewal, while OAuth tokens support programmatic refresh for indefinite access.
|
|
413
420
|
|