@designid/tokens 1.2.2 → 1.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designid/tokens",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "author": "Isa Ozler",
5
5
  "packageManager": "bun@1.2.16",
6
6
  "license": "Apache-2.0",
@@ -8,6 +8,8 @@
8
8
  "prebuild": "bun install",
9
9
  "build": "bun src/cli/build-tokens.ts",
10
10
  "build:cli": "bun ./scripts/build-cli.ts",
11
+ "build:figma": "bun ./scripts/build-figma-plugin.ts",
12
+ "watch:figma": "bun ./scripts/watch-figma-plugin.ts",
11
13
  "lint": "bun run lint:prettier && bun run lint:fix",
12
14
  "lint:prettier": "prettier --write \"./**/*.tokens.json\"",
13
15
  "lint:fix": "eslint src --ext .ts,.tokens.json --fix",
@@ -24,6 +26,7 @@
24
26
  },
25
27
  "devDependencies": {
26
28
  "@eslint/js": "^9.27.0",
29
+ "@figma/plugin-typings": "^1.121.0",
27
30
  "@types/bun": "^1.3.1",
28
31
  "@types/lodash": "^4.17.17",
29
32
  "@types/node": "^22.15.30",
package/types/files.d.ts CHANGED
@@ -103,6 +103,9 @@ export type TConfigFile = {
103
103
  modes?: {
104
104
  isHost: boolean;
105
105
  };
106
+ dimensions?: {
107
+ basePixelSize?: number;
108
+ };
106
109
  icons?: TConfigMetaDataIcons;
107
110
  tokens?: {
108
111
  /**