@salty-css/react 0.4.3 → 0.4.4-alpha.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/README.md +16 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -530,6 +530,22 @@ Options: `srcDir` (defaults to `'src'`), `rootDir` (defaults to the Astro config
530
530
 
531
531
  ---
532
532
 
533
+ ## Troubleshooting
534
+
535
+ ### TypeScript 7: `Cannot read properties of undefined (reading 'Latest')`
536
+
537
+ TypeScript 7 (the Go-native compiler) does not ship the programmatic compiler API that Salty CSS uses to parse style files — it returns in TS 7.1. Salty CSS feature-detects a working API at runtime:
538
+
539
+ | Your TypeScript | What to install | What happens |
540
+ | --- | --- | --- |
541
+ | 4.x / 5.x / 6.x | Nothing | Works as-is, using your own `typescript` |
542
+ | 7.0.x | `npm install -D @typescript/typescript6` | Salty parses with the 6.x API; `tsc` stays the fast native compiler |
543
+ | 7.1+ (once the stable API ships) | Nothing | Detection picks up the main package again automatically |
544
+
545
+ `@typescript/typescript6` is Microsoft's official side-by-side compatibility package, designed to coexist with TS 7 during the transition.
546
+
547
+ ---
548
+
533
549
  ## Support
534
550
 
535
551
  Help, questions, or feedback → [Join the Salty CSS Discord](https://discord.gg/R6kr4KxMhP). Bug reports → [GitHub issues](https://github.com/margarita-form/salty-css/issues).
package/package.json CHANGED
@@ -15,14 +15,14 @@
15
15
  "bugs": {
16
16
  "url": "https://github.com/margarita-form/salty-css/issues"
17
17
  },
18
- "version": "0.4.3",
18
+ "version": "0.4.4-alpha.0",
19
19
  "type": "module",
20
20
  "scripts": {
21
21
  "build": "vite build",
22
22
  "test": "vitest run"
23
23
  },
24
24
  "dependencies": {
25
- "@salty-css/core": "0.4.3",
25
+ "@salty-css/core": "0.4.4-alpha.0",
26
26
  "clsx": ">=2.x",
27
27
  "react": ">=19.x || >=18.3.x"
28
28
  },