chore: update React and TypeScript dependencies in package.json files

- Upgraded @types/react and @types/react-dom to version 19.2.2 in package.json and pnpm-lock.yaml.
- Updated React and React-DOM versions to ^19.2.0 in apps/website/package.json.
- Adjusted hast-util-to-jsx-runtime version to ^3.20.0 in apps/website/package.json.
- Refactored CodeBlock component to simplify code formatting and highlighting logic.
- Modified shared component to use updated imports for React and JSX runtime.
This commit is contained in:
Mauricio Siu
2025-12-17 23:44:33 -06:00
parent ab305f1c11
commit 043db9dfa2
6 changed files with 969 additions and 1301 deletions

View File

@@ -37,7 +37,7 @@
"extends": ["@commitlint/config-conventional"]
},
"resolutions": {
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0"
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2"
}
}