@multiplatform.one/config 9.6.0 → 9.8.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.
Files changed (2) hide show
  1. package/lint.mjs +3 -0
  2. package/package.json +2 -2
package/lint.mjs CHANGED
@@ -490,6 +490,9 @@ export function readThemeKeys() {
490
490
  for (const [, hue] of syntaxHues.matchAll(/"([a-z]+)"/g)) {
491
491
  keys.add(`syntax${hue[0].toUpperCase()}${hue.slice(1)}`);
492
492
  }
493
+ for (const hue of keysOfBlock(sliceBlock(src, "const radixHues =", "} as const"), 2)) {
494
+ for (let step = 1; step <= 12; step++) keys.add(`${hue}${step}`);
495
+ }
493
496
  const postPass = src.match(/export const postPassThemeKeys = \[([^\]]+)\]/)?.[1] ?? "";
494
497
  for (const [, key] of postPass.matchAll(/"([A-Za-z0-9]+)"/g)) keys.add(key);
495
498
  for (const k of keysOfBlock(sliceBlock(builderSrc, "function getBaseTheme", "\n}"), 4))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/config",
3
- "version": "9.6.0",
3
+ "version": "9.8.0",
4
4
  "description": "Shared build and test configuration presets for multiplatform.one",
5
5
  "keywords": [
6
6
  "config",
@@ -122,7 +122,7 @@
122
122
  "@babel/parser": "^7.29.9",
123
123
  "@babel/plugin-transform-block-scoping": "^7.29.7",
124
124
  "@babel/traverse": "^7.29.10",
125
- "@multiplatform.one/utils": "^9.6.0",
125
+ "@multiplatform.one/utils": "^9.8.0",
126
126
  "@tamagui/vite-plugin": "2.7.6",
127
127
  "@vitejs/plugin-react": "^6.1.2",
128
128
  "dotenv": "^17.4.2",