diff --git a/examples/astro/package.json b/examples/astro/package.json index 7437959..f205b50 100644 --- a/examples/astro/package.json +++ b/examples/astro/package.json @@ -11,13 +11,13 @@ }, "dependencies": { "@astrojs/check": "^0.9.4", - "@astrojs/react": "^3.6.3", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@astrojs/react": "^4.2.2", + "@types/react": "^19.0.12", + "@types/react-dom": "^19.0.4", "astro": "^4.16.16", "bknd": "file:../../app", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "typescript": "^5.7.2" } } diff --git a/examples/astro/tsconfig.json b/examples/astro/tsconfig.json index bcbf8b5..032ad64 100644 --- a/examples/astro/tsconfig.json +++ b/examples/astro/tsconfig.json @@ -1,3 +1,7 @@ { - "extends": "astro/tsconfigs/strict" -} + "extends": "astro/tsconfigs/strict", + "compilerOptions": { + "jsx": "react-jsx", + "jsxImportSource": "react" + } +} \ No newline at end of file