tokens-bruecke 3.14.2 → 3.15.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/CHANGELOG.md +6 -0
- package/README.md +5 -1
- package/bin/cli.js +1 -1
- package/global.d.ts +2 -1
- package/llms.txt +1 -0
- package/package.json +1 -1
- package/schemas/cli-options.schema.json +5 -0
- package/skills/tokens-bruecke/SKILL.md +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.14.2](https://github.com/tokens-bruecke/figma-plugin/compare/v3.14.1...v3.14.2) (2026-10-02)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **cli:** merge included styles with defaults and check --stdout against the config ([89dc063](https://github.com/tokens-bruecke/figma-plugin/commit/89dc063c9408e462f6a07426f6182a64f022e529))
|
|
6
|
+
|
|
1
7
|
## [3.14.1](https://github.com/tokens-bruecke/figma-plugin/compare/v3.14.0...v3.14.1) (2026-10-02)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -537,6 +537,7 @@ The export never picks up `tokens-bruecke.config.json` on its own: pass it with
|
|
|
537
537
|
| `--split-by-collection` | `-s` | Write each collection as a separate `.tokens.json` file in `--output` | No |
|
|
538
538
|
| `--split-by-mode` | `-m` | Write each mode as a separate `.tokens.json` file under its collection directory in `--output` | No |
|
|
539
539
|
| `--omit-collection-names` | | Drop top-level collection names and merge all variables into one flat namespace | No |
|
|
540
|
+
| `--omit-created-at` | | Leave the `createdAt` timestamp out of the metadata, so an unchanged file exports to identical output | No |
|
|
540
541
|
| `--quiet` | `-q` | Suppress progress logs (errors are still printed) | No |
|
|
541
542
|
| `--help` | `-h` | Show usage help | No |
|
|
542
543
|
| `--version` | | Show the CLI version | No |
|
|
@@ -559,6 +560,8 @@ tokens-bruecke -f $FIGMA_FILE -o out/tokens.json
|
|
|
559
560
|
|
|
560
561
|
Other export settings are available through a JSON configuration file (see [CLI Configuration File](#cli-configuration-file) below).
|
|
561
562
|
|
|
563
|
+
The REST API returns variables, collections and styles in no fixed order, so the CLI sorts them by name in REST mode. Exporting an unchanged file then gives the same output every time, as long as you also pass `--omit-created-at`. This order is alphabetical rather than the order of Figma's Variables panel, which the plugin and snapshot mode keep.
|
|
564
|
+
|
|
562
565
|
### Snapshot input
|
|
563
566
|
|
|
564
567
|
`--input <path>` transforms a local JSON snapshot of a Figma file's variables and styles instead of calling the REST API. `--input -` reads stdin, so it composes with anything that can dump the data:
|
|
@@ -627,7 +630,8 @@ You can use a JSON configuration file to specify the export options for the CLI.
|
|
|
627
630
|
"storeStyleInCollection": "none", // Name of one of your collection or "none" to keep them separated
|
|
628
631
|
"splitByCollection": false, // Write each collection as a separate .tokens.json file
|
|
629
632
|
"splitByMode": false, // Write each mode as a separate .tokens.json file under its collection directory
|
|
630
|
-
"omitCollectionNames": false // Drop top-level collection names and merge all variables into one flat namespace
|
|
633
|
+
"omitCollectionNames": false, // Drop top-level collection names and merge all variables into one flat namespace
|
|
634
|
+
"omitCreatedAt": false // Leave the createdAt timestamp out of the metadata
|
|
631
635
|
}
|
|
632
636
|
```
|
|
633
637
|
|