Skip to content

Commit 120f987

Browse files
committed
chore: changeset and minimum version support
1 parent a1edfa9 commit 120f987

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

.changeset/empty-oranges-exist.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
'react-frame-component': major
3+
---
4+
5+
Migrate codebase to TypeScript with React 19 support
6+
7+
Migrates all source files from JavaScript/JSX to TypeScript/TSX with full type safety.
8+
9+
**Breaking changes:**
10+
11+
- Minimum React version bumped from 16.8 to 17.0
12+
13+
**New features:**
14+
15+
- Full TypeScript support with exported `FrameProps` type
16+
- React 19 support added to peer dependencies
17+
18+
**Deprecations (will be removed in next major version):**
19+
20+
- `contentDidMount` → use `onMount` instead
21+
- `contentDidUpdate` → use `onUpdate` instead
22+
23+
**Internal changes:**
24+
25+
- Content component converted from class to functional component
26+
- Build pipeline updated to emit TypeScript declarations

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@
8888
"webpack-dev-server": "^5.0.0"
8989
},
9090
"peerDependencies": {
91-
"react": ">= 16.8 || ^17.0.0 || ^18.0.0 || ^19.0.0",
92-
"react-dom": ">= 16.8 || ^17.0.0 || ^18.0.0 || ^19.0.0"
91+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
92+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
9393
},
9494
"prettier": {
9595
"singleQuote": true,

0 commit comments

Comments
 (0)