@opentui/react 0.1.16 → 0.1.18

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 +19 -19
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -27,6 +27,25 @@ function App() {
27
27
  render(<App />)
28
28
  ```
29
29
 
30
+ ## TypeScript Configuration
31
+
32
+ For optimal TypeScript support, configure your `tsconfig.json`:
33
+
34
+ ```json
35
+ {
36
+ "compilerOptions": {
37
+ "lib": ["ESNext", "DOM"],
38
+ "target": "ESNext",
39
+ "module": "ESNext",
40
+ "moduleResolution": "bundler",
41
+ "jsx": "react-jsx",
42
+ "jsxImportSource": "@opentui/react",
43
+ "strict": true,
44
+ "skipLibCheck": true
45
+ }
46
+ }
47
+ ```
48
+
30
49
  ## Core Concepts
31
50
 
32
51
  ### Components
@@ -510,22 +529,3 @@ function App() {
510
529
 
511
530
  render(<App />)
512
531
  ```
513
-
514
- ## TypeScript Configuration
515
-
516
- For optimal TypeScript support, configure your `tsconfig.json`:
517
-
518
- ```json
519
- {
520
- "compilerOptions": {
521
- "lib": ["ESNext", "DOM"],
522
- "target": "ESNext",
523
- "module": "ESNext",
524
- "moduleResolution": "bundler",
525
- "jsx": "react-jsx",
526
- "jsxImportSource": "@opentui/react",
527
- "strict": true,
528
- "skipLibCheck": true
529
- }
530
- }
531
- ```
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "type": "module",
7
- "version": "0.1.16",
7
+ "version": "0.1.18",
8
8
  "description": "React renderer for building terminal user interfaces using OpenTUI core",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -35,7 +35,7 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@opentui/core": "0.1.16",
38
+ "@opentui/core": "0.1.18",
39
39
  "react-reconciler": "^0.32.0"
40
40
  },
41
41
  "devDependencies": {