@wix/design-system-tokens 1.236.2 → 1.236.3
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 +2 -0
- package/README.md +1 -1
- package/package.json +4 -5
- package/pending-figma-sync/README.md +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Source files which are used to generate style-dictionary output are stored in `s
|
|
|
15
15
|
To generate output, run
|
|
16
16
|
|
|
17
17
|
```
|
|
18
|
-
$
|
|
18
|
+
$ pnpm generate
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Since this package just exports static files, the `build` script is only used to prepare package for publishing by moving generated files to the root of the package to allow more elegant imports.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/design-system-tokens",
|
|
3
|
-
"version": "1.236.
|
|
3
|
+
"version": "1.236.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "cp -r tokens/* .",
|
|
6
6
|
"figma-to-dictionary": "ts-node src/scripts/figma-to-dictionary.ts",
|
|
7
|
-
"generate": "ts-node src/generate.ts &&
|
|
8
|
-
"lint": "
|
|
7
|
+
"generate": "ts-node src/generate.ts && pnpm run lint && pnpm run build",
|
|
8
|
+
"lint": "eslint ./src --fix",
|
|
9
9
|
"test": "vitest run",
|
|
10
10
|
"test:watch": "vitest",
|
|
11
11
|
"ts": "tsc --noEmit"
|
|
@@ -35,6 +35,5 @@
|
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"author": "augustinasv@wix.com",
|
|
37
37
|
"description": "Design system tokens",
|
|
38
|
-
"
|
|
39
|
-
"falconPackageHash": "1c0755faf1dad0511bfe75be8f01575f444819161b32e99087193ed9"
|
|
38
|
+
"falconPackageHash": "2c38b076d6544cf79edc643c34d36a571e481a4c86ee07ef0683e3b1"
|
|
40
39
|
}
|
|
@@ -5,7 +5,7 @@ The `.claude/hooks/figma-token-sync` hook writes `<branch-name>.md` here when
|
|
|
5
5
|
an edit adds a token path under `src/tokens/`. Keeping one file per branch
|
|
6
6
|
means concurrent PRs never conflict on a shared ledger.
|
|
7
7
|
|
|
8
|
-
At release, `
|
|
8
|
+
At release, `pnpm release:version` (`scripts/merge-pending-figma-sync.mjs`)
|
|
9
9
|
appends every row from these files into [`../PENDING_FIGMA_SYNC.md`](../PENDING_FIGMA_SYNC.md),
|
|
10
10
|
de-duped on theme + token, and deletes the files. Don't edit the ledger
|
|
11
11
|
directly for new tokens; let the hook and release handle it.
|